Renaming of features

This commit is contained in:
Magne Sjaastad 2022-08-18 08:09:05 +02:00
parent 9d5a4e7939
commit e7292a1ff3
5 changed files with 11 additions and 11 deletions

View File

@ -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
)

View File

@ -43,7 +43,7 @@
#include <vector>
CAF_CMD_SOURCE_INIT( RicNewRftSegmentWellLogPlotFeature, "RicNewRftSegmentWellLogCurveFeature" );
CAF_CMD_SOURCE_INIT( RicNewRftSegmentWellLogPlotFeature, "RicNewRftSegmentWellLogPlotFeature" );
//--------------------------------------------------------------------------------------------------
///

View File

@ -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" ) );
}

View File

@ -23,7 +23,7 @@
//==================================================================================================
///
//==================================================================================================
class RicNewRftWellLogCurveFeature : public caf::CmdFeature
class RicNewRftWellLogPlotFeature : public caf::CmdFeature
{
CAF_CMD_HEADER_INIT;

View File

@ -1074,7 +1074,7 @@ caf::CmdFeatureMenuBuilder RimContextCommandBuilder::commandsFromSelection()
}
else if ( dynamic_cast<RimRftCase*>( firstUiItem ) )
{
menuBuilder << "RicNewRftWellLogCurveFeature";
menuBuilder << "RicNewRftWellLogPlotFeature";
menuBuilder << "RicNewRftSegmentWellLogPlotFeature";
}