mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-02 09:00:14 -06:00
Support global and local views.
This commit is contained in:
1 parent
b5666c333a
commit
4f8c081669
6 files changed
+86
-19
No files matched your search
@@ -26,6 +26,7 @@ class RimEclipseView;
|
||||
class RimGeoMechCase;
|
||||
class RimGeoMechView;
|
||||
class Rim3dView;
|
||||
class RimEclipseViewCollection;
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
@@ -35,7 +36,7 @@ class RicNewViewFeature : public caf::CmdFeature
|
||||
CAF_CMD_HEADER_INIT;
|
||||
|
||||
public:
|
||||
static void addReservoirView( RimEclipseCase* eclipseCase, RimGeoMechCase* geomCase );
|
||||
static void addReservoirView( RimEclipseCase* eclipseCase, RimGeoMechCase* geomCase, bool useGlobalViewCollection = false );
|
||||
|
||||
protected:
|
||||
bool isCommandEnabled() const override;
|
||||
@@ -43,10 +44,11 @@ protected:
|
||||
void setupActionLook( QAction* actionToSetup ) override;
|
||||
|
||||
private:
|
||||
static Rim3dView* createReservoirView( RimEclipseCase* eclipseCase, RimGeoMechCase* geomCase );
|
||||
static Rim3dView* createReservoirView( RimEclipseCase* eclipseCase, RimGeoMechCase* geomCase, bool useGlobalViewCollectin );
|
||||
|
||||
static RimEclipseCase* selectedEclipseCase();
|
||||
static RimGeoMechCase* selectedGeoMechCase();
|
||||
static RimEclipseView* selectedEclipseView();
|
||||
static RimGeoMechView* selectedGeoMechView();
|
||||
static RimEclipseCase* selectedEclipseCase();
|
||||
static RimGeoMechCase* selectedGeoMechCase();
|
||||
static RimEclipseView* selectedEclipseView();
|
||||
static RimGeoMechView* selectedGeoMechView();
|
||||
static RimEclipseViewCollection* selectedEclipseViewCollection();
|
||||
};
|
||||
Reference in new issue
Block a user