(#436) Renamed class/files

This commit is contained in:
Pål Hagen 2015-09-18 17:29:17 +02:00
parent 95047ae89e
commit fef1d93a9e
4 changed files with 11 additions and 11 deletions

View File

@ -7,7 +7,7 @@ endif()
set (SOURCE_GROUP_HEADER_FILES set (SOURCE_GROUP_HEADER_FILES
${CEE_CURRENT_LIST_DIR}RicAddWellLogToPlotFeature.h ${CEE_CURRENT_LIST_DIR}RicAddWellLogToPlotFeature.h
${CEE_CURRENT_LIST_DIR}RicNewWellLogCurveExtractionFeature.h ${CEE_CURRENT_LIST_DIR}RicNewWellLogCurveExtractionFeature.h
${CEE_CURRENT_LIST_DIR}RicNewWellLogCurveLasFeature.h ${CEE_CURRENT_LIST_DIR}RicNewWellLogFileCurveFeature.h
${CEE_CURRENT_LIST_DIR}RicNewWellLogPlotFeature.h ${CEE_CURRENT_LIST_DIR}RicNewWellLogPlotFeature.h
${CEE_CURRENT_LIST_DIR}RicNewWellLogPlotFeatureImpl.h ${CEE_CURRENT_LIST_DIR}RicNewWellLogPlotFeatureImpl.h
${CEE_CURRENT_LIST_DIR}RicNewWellLogPlotTrackFeature.h ${CEE_CURRENT_LIST_DIR}RicNewWellLogPlotTrackFeature.h
@ -18,7 +18,7 @@ ${CEE_CURRENT_LIST_DIR}RicWellLogsImportFileFeature.h
set (SOURCE_GROUP_SOURCE_FILES set (SOURCE_GROUP_SOURCE_FILES
${CEE_CURRENT_LIST_DIR}RicAddWellLogToPlotFeature.cpp ${CEE_CURRENT_LIST_DIR}RicAddWellLogToPlotFeature.cpp
${CEE_CURRENT_LIST_DIR}RicNewWellLogCurveExtractionFeature.cpp ${CEE_CURRENT_LIST_DIR}RicNewWellLogCurveExtractionFeature.cpp
${CEE_CURRENT_LIST_DIR}RicNewWellLogCurveLasFeature.cpp ${CEE_CURRENT_LIST_DIR}RicNewWellLogFileCurveFeature.cpp
${CEE_CURRENT_LIST_DIR}RicNewWellLogPlotFeature.cpp ${CEE_CURRENT_LIST_DIR}RicNewWellLogPlotFeature.cpp
${CEE_CURRENT_LIST_DIR}RicNewWellLogPlotFeatureImpl.cpp ${CEE_CURRENT_LIST_DIR}RicNewWellLogPlotFeatureImpl.cpp
${CEE_CURRENT_LIST_DIR}RicNewWellLogPlotTrackFeature.cpp ${CEE_CURRENT_LIST_DIR}RicNewWellLogPlotTrackFeature.cpp

View File

@ -17,7 +17,7 @@
// //
///////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////
#include "RicNewWellLogCurveLasFeature.h" #include "RicNewWellLogFileCurveFeature.h"
#include "RicWellLogPlotCurveFeatureImpl.h" #include "RicWellLogPlotCurveFeatureImpl.h"
@ -33,12 +33,12 @@
#include <vector> #include <vector>
CAF_CMD_SOURCE_INIT(RicNewWellLogCurveLasFeature, "RicNewWellLogCurveLasFeature"); CAF_CMD_SOURCE_INIT(RicNewWellLogFileCurveFeature, "RicNewWellLogFileCurveFeature");
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
/// ///
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
bool RicNewWellLogCurveLasFeature::isCommandEnabled() bool RicNewWellLogFileCurveFeature::isCommandEnabled()
{ {
return selectedWellLogPlotTrack() != NULL; return selectedWellLogPlotTrack() != NULL;
} }
@ -46,7 +46,7 @@ bool RicNewWellLogCurveLasFeature::isCommandEnabled()
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
/// ///
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
void RicNewWellLogCurveLasFeature::onActionTriggered(bool isChecked) void RicNewWellLogFileCurveFeature::onActionTriggered(bool isChecked)
{ {
RimWellLogPlotTrack* wellLogPlotTrack = selectedWellLogPlotTrack(); RimWellLogPlotTrack* wellLogPlotTrack = selectedWellLogPlotTrack();
if (wellLogPlotTrack) if (wellLogPlotTrack)
@ -58,7 +58,7 @@ void RicNewWellLogCurveLasFeature::onActionTriggered(bool isChecked)
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
/// ///
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
void RicNewWellLogCurveLasFeature::setupActionLook(QAction* actionToSetup) void RicNewWellLogFileCurveFeature::setupActionLook(QAction* actionToSetup)
{ {
actionToSetup->setText("New Well Log LAS Curve"); actionToSetup->setText("New Well Log LAS Curve");
} }
@ -66,7 +66,7 @@ void RicNewWellLogCurveLasFeature::setupActionLook(QAction* actionToSetup)
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
/// ///
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
RimWellLogPlotTrack* RicNewWellLogCurveLasFeature::selectedWellLogPlotTrack() RimWellLogPlotTrack* RicNewWellLogFileCurveFeature::selectedWellLogPlotTrack()
{ {
std::vector<RimWellLogPlotTrack*> selection; std::vector<RimWellLogPlotTrack*> selection;
caf::SelectionManager::instance()->objectsByType(&selection); caf::SelectionManager::instance()->objectsByType(&selection);
@ -76,7 +76,7 @@ RimWellLogPlotTrack* RicNewWellLogCurveLasFeature::selectedWellLogPlotTrack()
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
/// ///
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
void RicNewWellLogCurveLasFeature::addCurve(RimWellLogPlotTrack* plotTrack) void RicNewWellLogFileCurveFeature::addCurve(RimWellLogPlotTrack* plotTrack)
{ {
CVF_ASSERT(plotTrack); CVF_ASSERT(plotTrack);

View File

@ -26,7 +26,7 @@ class RimWellLogPlotTrack;
//================================================================================================== //==================================================================================================
/// ///
//================================================================================================== //==================================================================================================
class RicNewWellLogCurveLasFeature : public caf::CmdFeature class RicNewWellLogFileCurveFeature : public caf::CmdFeature
{ {
CAF_CMD_HEADER_INIT; CAF_CMD_HEADER_INIT;

View File

@ -821,7 +821,7 @@ void RimProject::actionsBasedOnSelection(QMenu& contextMenu)
else if (dynamic_cast<RimWellLogPlotTrack*>(uiItem)) else if (dynamic_cast<RimWellLogPlotTrack*>(uiItem))
{ {
commandIds << "RicNewWellLogCurveExtractionFeature"; commandIds << "RicNewWellLogCurveExtractionFeature";
commandIds << "RicNewWellLogCurveLasFeature"; commandIds << "RicNewWellLogFileCurveFeature";
commandIds << "RicDeleteItemFeature"; commandIds << "RicDeleteItemFeature";
} }
else if (dynamic_cast<RimWellLogPlotCurve*>(uiItem)) else if (dynamic_cast<RimWellLogPlotCurve*>(uiItem))