Support for copying GeoMech case settings using new input (#6471)

* Support copy and replace geomech case, to support importing another data file, but keep the view setup

* Make sure surfaces and intersections get updated with the correct separate result, too

* Simplify/refactor code

* Better naming
This commit is contained in:
jonjenssen
2020-09-10 12:54:43 +02:00
committed by GitHub
parent 5eae17551f
commit bc82166151
15 changed files with 294 additions and 48 deletions

View File

@@ -58,6 +58,8 @@ public:
RiuViewer* nativeOrOverrideViewer,
bool isUsingOverrideViewer );
void update2dIntersectionViews();
protected:
virtual caf::PdmFieldHandle* userDescriptionField() override;
virtual caf::PdmFieldHandle* objectToggleField() override;
@@ -73,7 +75,8 @@ protected:
virtual void initAfterRead() override;
private:
void update2dIntersectionViews();
void assignCaseIfMissing() const;
void updateCaseInResultDefinitions();
caf::PdmField<bool> m_isActive;
caf::PdmProxyValueField<QString> m_autoName;