mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1996: Rename RimEclipseWellCollection -> RimSimWellInViewCollection
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "RicEclipseWellFeatureImpl.h"
|
||||
|
||||
#include "RimEclipseWellCollection.h"
|
||||
#include "RimSimWellInViewCollection.h"
|
||||
#include "RimSimWellInView.h"
|
||||
|
||||
#include "cafSelectionManager.h"
|
||||
@@ -53,14 +53,14 @@ std::vector<RimSimWellInView*> RicEclipseWellFeatureImpl::selectedWells()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimEclipseWellCollection* RicEclipseWellFeatureImpl::wellCollectionFromSelection()
|
||||
RimSimWellInViewCollection* RicEclipseWellFeatureImpl::wellCollectionFromSelection()
|
||||
{
|
||||
std::vector<RimSimWellInView*> selection = selectedWells();
|
||||
if (selection.size() > 0)
|
||||
{
|
||||
RimSimWellInView* firstWell = selection[0];
|
||||
|
||||
RimEclipseWellCollection* wellCollection = nullptr;
|
||||
RimSimWellInViewCollection* wellCollection = nullptr;
|
||||
firstWell->firstAncestorOrThisOfType(wellCollection);
|
||||
|
||||
return wellCollection;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
class RimEclipseWellCollection;
|
||||
class RimSimWellInViewCollection;
|
||||
class RimSimWellInView;
|
||||
|
||||
//==================================================================================================
|
||||
@@ -31,5 +31,5 @@ class RicEclipseWellFeatureImpl
|
||||
public:
|
||||
static bool isAnyWellSelected();
|
||||
static std::vector<RimSimWellInView*> selectedWells();
|
||||
static RimEclipseWellCollection* wellCollectionFromSelection();
|
||||
static RimSimWellInViewCollection* wellCollectionFromSelection();
|
||||
};
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "RicEclipseWellFeatureImpl.h"
|
||||
|
||||
#include "RimEclipseWellCollection.h"
|
||||
#include "RimSimWellInViewCollection.h"
|
||||
#include "RimSimWellInView.h"
|
||||
|
||||
#include <QAction>
|
||||
|
||||
Reference in New Issue
Block a user