mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
RimCase reintroduced as baseclass for all cases
Refactored to handle cases generically in a lot of places. Mostly complete regarding all these issues, but not tested yet: Assigning caseId Update relative path to the case data RimProject::createDisplayModelAndRedrawAllViews RimProject::computeUtmAreaOfInterest Load case data on project open save snapshots for all views RegressionTest viewer size Finding case based on caseId Giving case information to octave
This commit is contained in:
@@ -33,10 +33,6 @@ namespace cvf
|
||||
class Transform;
|
||||
}
|
||||
|
||||
#define CAF_PDM_ABSTRACT_SOURCE_INIT(ClassName, keyword) \
|
||||
bool ClassName::Error_You_forgot_to_add_the_macro_CAF_PDM_HEADER_INIT_and_or_CAF_PDM_SOURCE_INIT_to_your_cpp_file_for_this_class() { return false;} \
|
||||
QString ClassName::classKeywordStatic() { assert(PdmObject::isValidXmlElementName(keyword)); return keyword; }
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
///
|
||||
@@ -99,6 +95,8 @@ public:
|
||||
void createDisplayModelAndRedraw();
|
||||
|
||||
public:
|
||||
virtual void loadDataAndUpdate() = 0;
|
||||
|
||||
virtual caf::PdmFieldHandle* objectToggleField() { return &showWindow; }
|
||||
virtual caf::PdmFieldHandle* userDescriptionField() { return &name; }
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user