RicWellPathImportPerforationIntervalsFeature. Rename method

This commit is contained in:
Bjørn Erik Jensen 2017-12-21 14:34:01 +01:00
parent 6028d8fcb3
commit a0cb42a93b
2 changed files with 4 additions and 4 deletions

View File

@ -43,7 +43,7 @@ CAF_CMD_SOURCE_INIT(RicWellPathImportPerforationIntervalsFeature, "RicWellPathIm
//--------------------------------------------------------------------------------------------------
bool RicWellPathImportPerforationIntervalsFeature::isCommandEnabled()
{
if (RicWellPathImportPerforationIntervalsFeature::selectedWellPath() != nullptr)
if (RicWellPathImportPerforationIntervalsFeature::selectedWellPathCollection() != nullptr)
{
return true;
}
@ -56,7 +56,7 @@ bool RicWellPathImportPerforationIntervalsFeature::isCommandEnabled()
//--------------------------------------------------------------------------------------------------
void RicWellPathImportPerforationIntervalsFeature::onActionTriggered(bool isChecked)
{
RimWellPathCollection* wellPathCollection = RicWellPathImportPerforationIntervalsFeature::selectedWellPath();
RimWellPathCollection* wellPathCollection = RicWellPathImportPerforationIntervalsFeature::selectedWellPathCollection();
CVF_ASSERT(wellPathCollection);
// Open dialog box to select well path files
@ -116,7 +116,7 @@ void RicWellPathImportPerforationIntervalsFeature::setupActionLook(QAction* acti
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RimWellPathCollection* RicWellPathImportPerforationIntervalsFeature::selectedWellPath()
RimWellPathCollection* RicWellPathImportPerforationIntervalsFeature::selectedWellPathCollection()
{
std::vector<RimWellPathCollection*> objects;
caf::SelectionManager::instance()->objectsByType(&objects);

View File

@ -36,6 +36,6 @@ protected:
virtual void setupActionLook( QAction* actionToSetup ) override;
private:
static RimWellPathCollection* selectedWellPath();
static RimWellPathCollection* selectedWellPathCollection();
};