mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Renaming of features
This commit is contained in:
parent
9d5a4e7939
commit
e7292a1ff3
@ -27,7 +27,7 @@ set(SOURCE_GROUP_HEADER_FILES
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicNewWellBoreStabilityPlotFeature.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicNewWellMeasurementCurveFeature.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicNewEnsembleWellLogCurveSetFeature.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicNewRftWellLogCurveFeature.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicNewRftWellLogPlotFeature.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicNewRftSegmentWellLogPlotFeature.h
|
||||
)
|
||||
|
||||
@ -60,7 +60,7 @@ set(SOURCE_GROUP_SOURCE_FILES
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicNewWellBoreStabilityPlotFeature.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicNewWellMeasurementCurveFeature.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicNewEnsembleWellLogCurveSetFeature.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicNewRftWellLogCurveFeature.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicNewRftWellLogPlotFeature.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RicNewRftSegmentWellLogPlotFeature.cpp
|
||||
)
|
||||
|
||||
|
@ -43,7 +43,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
CAF_CMD_SOURCE_INIT( RicNewRftSegmentWellLogPlotFeature, "RicNewRftSegmentWellLogCurveFeature" );
|
||||
CAF_CMD_SOURCE_INIT( RicNewRftSegmentWellLogPlotFeature, "RicNewRftSegmentWellLogPlotFeature" );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
@ -16,7 +16,7 @@
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "RicNewRftWellLogCurveFeature.h"
|
||||
#include "RicNewRftWellLogPlotFeature.h"
|
||||
|
||||
#include "RicNewWellLogPlotFeatureImpl.h"
|
||||
#include "RicWellLogPlotCurveFeatureImpl.h"
|
||||
@ -42,12 +42,12 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
CAF_CMD_SOURCE_INIT( RicNewRftWellLogCurveFeature, "RicNewRftWellLogCurveFeature" );
|
||||
CAF_CMD_SOURCE_INIT( RicNewRftWellLogPlotFeature, "RicNewRftWellLogPlotFeature" );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RicNewRftWellLogCurveFeature::isCommandEnabled()
|
||||
bool RicNewRftWellLogPlotFeature::isCommandEnabled()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@ -55,7 +55,7 @@ bool RicNewRftWellLogCurveFeature::isCommandEnabled()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicNewRftWellLogCurveFeature::onActionTriggered( bool isChecked )
|
||||
void RicNewRftWellLogPlotFeature::onActionTriggered( bool isChecked )
|
||||
{
|
||||
auto rftCase = caf::SelectionManager::instance()->selectedItemOfType<RimRftCase>();
|
||||
if ( !rftCase ) return;
|
||||
@ -85,8 +85,8 @@ void RicNewRftWellLogCurveFeature::onActionTriggered( bool isChecked )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicNewRftWellLogCurveFeature::setupActionLook( QAction* actionToSetup )
|
||||
void RicNewRftWellLogPlotFeature::setupActionLook( QAction* actionToSetup )
|
||||
{
|
||||
actionToSetup->setText( "Append RFT Well Log Curve" );
|
||||
actionToSetup->setText( "Create RFT Well Log Plot" );
|
||||
actionToSetup->setIcon( QIcon( ":/WellLogCurve16x16.png" ) );
|
||||
}
|
@ -23,7 +23,7 @@
|
||||
//==================================================================================================
|
||||
///
|
||||
//==================================================================================================
|
||||
class RicNewRftWellLogCurveFeature : public caf::CmdFeature
|
||||
class RicNewRftWellLogPlotFeature : public caf::CmdFeature
|
||||
{
|
||||
CAF_CMD_HEADER_INIT;
|
||||
|
@ -1074,7 +1074,7 @@ caf::CmdFeatureMenuBuilder RimContextCommandBuilder::commandsFromSelection()
|
||||
}
|
||||
else if ( dynamic_cast<RimRftCase*>( firstUiItem ) )
|
||||
{
|
||||
menuBuilder << "RicNewRftWellLogCurveFeature";
|
||||
menuBuilder << "RicNewRftWellLogPlotFeature";
|
||||
menuBuilder << "RicNewRftSegmentWellLogPlotFeature";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user