mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#436) Renamed class/files
This commit is contained in:
parent
95047ae89e
commit
fef1d93a9e
@ -7,7 +7,7 @@ endif()
|
||||
set (SOURCE_GROUP_HEADER_FILES
|
||||
${CEE_CURRENT_LIST_DIR}RicAddWellLogToPlotFeature.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}RicNewWellLogPlotFeatureImpl.h
|
||||
${CEE_CURRENT_LIST_DIR}RicNewWellLogPlotTrackFeature.h
|
||||
@ -18,7 +18,7 @@ ${CEE_CURRENT_LIST_DIR}RicWellLogsImportFileFeature.h
|
||||
set (SOURCE_GROUP_SOURCE_FILES
|
||||
${CEE_CURRENT_LIST_DIR}RicAddWellLogToPlotFeature.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}RicNewWellLogPlotFeatureImpl.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RicNewWellLogPlotTrackFeature.cpp
|
||||
|
@ -17,7 +17,7 @@
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "RicNewWellLogCurveLasFeature.h"
|
||||
#include "RicNewWellLogFileCurveFeature.h"
|
||||
|
||||
#include "RicWellLogPlotCurveFeatureImpl.h"
|
||||
|
||||
@ -33,12 +33,12 @@
|
||||
#include <vector>
|
||||
|
||||
|
||||
CAF_CMD_SOURCE_INIT(RicNewWellLogCurveLasFeature, "RicNewWellLogCurveLasFeature");
|
||||
CAF_CMD_SOURCE_INIT(RicNewWellLogFileCurveFeature, "RicNewWellLogFileCurveFeature");
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RicNewWellLogCurveLasFeature::isCommandEnabled()
|
||||
bool RicNewWellLogFileCurveFeature::isCommandEnabled()
|
||||
{
|
||||
return selectedWellLogPlotTrack() != NULL;
|
||||
}
|
||||
@ -46,7 +46,7 @@ bool RicNewWellLogCurveLasFeature::isCommandEnabled()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicNewWellLogCurveLasFeature::onActionTriggered(bool isChecked)
|
||||
void RicNewWellLogFileCurveFeature::onActionTriggered(bool isChecked)
|
||||
{
|
||||
RimWellLogPlotTrack* wellLogPlotTrack = selectedWellLogPlotTrack();
|
||||
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");
|
||||
}
|
||||
@ -66,7 +66,7 @@ void RicNewWellLogCurveLasFeature::setupActionLook(QAction* actionToSetup)
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellLogPlotTrack* RicNewWellLogCurveLasFeature::selectedWellLogPlotTrack()
|
||||
RimWellLogPlotTrack* RicNewWellLogFileCurveFeature::selectedWellLogPlotTrack()
|
||||
{
|
||||
std::vector<RimWellLogPlotTrack*> 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);
|
||||
|
@ -26,7 +26,7 @@ class RimWellLogPlotTrack;
|
||||
//==================================================================================================
|
||||
///
|
||||
//==================================================================================================
|
||||
class RicNewWellLogCurveLasFeature : public caf::CmdFeature
|
||||
class RicNewWellLogFileCurveFeature : public caf::CmdFeature
|
||||
{
|
||||
CAF_CMD_HEADER_INIT;
|
||||
|
@ -821,7 +821,7 @@ void RimProject::actionsBasedOnSelection(QMenu& contextMenu)
|
||||
else if (dynamic_cast<RimWellLogPlotTrack*>(uiItem))
|
||||
{
|
||||
commandIds << "RicNewWellLogCurveExtractionFeature";
|
||||
commandIds << "RicNewWellLogCurveLasFeature";
|
||||
commandIds << "RicNewWellLogFileCurveFeature";
|
||||
commandIds << "RicDeleteItemFeature";
|
||||
}
|
||||
else if (dynamic_cast<RimWellLogPlotCurve*>(uiItem))
|
||||
|
Loading…
Reference in New Issue
Block a user