mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 15:10:22 -05:00
Refactor: rename WellLogFileChannel to WellLogChannel.
This commit is contained in:
1 parent
9858d09a33
commit
c1aba471f2
30 files changed
+82
-83
No files matched your search
@@ -24,7 +24,7 @@
|
||||
|
||||
#include "RimMainPlotCollection.h"
|
||||
#include "RimProject.h"
|
||||
#include "RimWellLogFileChannel.h"
|
||||
#include "RimWellLogChannel.h"
|
||||
#include "RimWellLogLasFile.h"
|
||||
#include "RimWellLogLasFileCurve.h"
|
||||
#include "RimWellLogPlot.h"
|
||||
@@ -49,7 +49,7 @@ CAF_CMD_SOURCE_INIT( RicAddWellLogToPlotFeature, "RicAddWellLogToPlotFeature" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RicAddWellLogToPlotFeature::isCommandEnabled() const
|
||||
{
|
||||
std::vector<RimWellLogFileChannel*> selection = selectedWellLogs();
|
||||
std::vector<RimWellLogChannel*> selection = selectedWellLogs();
|
||||
return !selection.empty();
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ bool RicAddWellLogToPlotFeature::isCommandEnabled() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicAddWellLogToPlotFeature::onActionTriggered( bool isChecked )
|
||||
{
|
||||
std::vector<RimWellLogFileChannel*> selection = selectedWellLogs();
|
||||
std::vector<RimWellLogChannel*> selection = selectedWellLogs();
|
||||
if ( selection.empty() ) return;
|
||||
|
||||
RimWellLogPlot* plot = RicNewWellLogPlotFeatureImpl::createWellLogPlot();
|
||||
@@ -71,7 +71,7 @@ void RicAddWellLogToPlotFeature::onActionTriggered( bool isChecked )
|
||||
|
||||
for ( size_t wlIdx = 0; wlIdx < selection.size(); wlIdx++ )
|
||||
{
|
||||
RimWellLogFileChannel* wellLog = selection[wlIdx];
|
||||
RimWellLogChannel* wellLog = selection[wlIdx];
|
||||
|
||||
auto wellPath = wellLog->firstAncestorOrThisOfType<RimWellPath>();
|
||||
auto wellLogFile = wellLog->firstAncestorOrThisOfType<RimWellLogLasFile>();
|
||||
@@ -116,9 +116,9 @@ void RicAddWellLogToPlotFeature::setupActionLook( QAction* actionToSetup )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::vector<RimWellLogFileChannel*> RicAddWellLogToPlotFeature::selectedWellLogs()
|
||||
std::vector<RimWellLogChannel*> RicAddWellLogToPlotFeature::selectedWellLogs()
|
||||
{
|
||||
std::vector<RimWellLogFileChannel*> selection;
|
||||
std::vector<RimWellLogChannel*> selection;
|
||||
caf::SelectionManager::instance()->objectsByType( &selection );
|
||||
return selection;
|
||||
}
|
||||
@@ -26,7 +26,7 @@
|
||||
class RimMainPlotCollection;
|
||||
class RimWellLogPlotCollection;
|
||||
class RimWellLogPlot;
|
||||
class RimWellLogFileChannel;
|
||||
class RimWellLogChannel;
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
@@ -41,5 +41,5 @@ protected:
|
||||
void setupActionLook( QAction* actionToSetup ) override;
|
||||
|
||||
private:
|
||||
static std::vector<RimWellLogFileChannel*> selectedWellLogs();
|
||||
static std::vector<RimWellLogChannel*> selectedWellLogs();
|
||||
};
|
||||
@@ -35,8 +35,8 @@
|
||||
#include "RimProject.h"
|
||||
#include "RimTools.h"
|
||||
#include "RimWellBoreStabilityPlot.h"
|
||||
#include "RimWellLogChannel.h"
|
||||
#include "RimWellLogExtractionCurve.h"
|
||||
#include "RimWellLogFileChannel.h"
|
||||
#include "RimWellLogLasFile.h"
|
||||
#include "RimWellLogLasFileCurve.h"
|
||||
#include "RimWellLogPlotCollection.h"
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include "RicWellLogTools.h"
|
||||
|
||||
#include "RimTools.h"
|
||||
#include "RimWellLogFileChannel.h"
|
||||
#include "RimWellLogChannel.h"
|
||||
#include "RimWellLogLasFile.h"
|
||||
#include "RimWellLogLasFileCurve.h"
|
||||
#include "RimWellLogTrack.h"
|
||||
|
||||
Reference in new issue
Block a user