mirror of
				https://github.com/OPM/ResInsight.git
				synced 2025-02-25 18:55:39 -06:00 
			
		
		
		
	Renamed class RimStatisticsCaseCollection to RimEclipseStatisticsCaseCollection
This commit is contained in:
		| @@ -31,7 +31,7 @@ | ||||
|  | ||||
| class RimIdenticalGridCaseGroup; | ||||
| class RimEclipseResultDefinition; | ||||
| class RimStatisticsCaseCollection; | ||||
| class RimEclipseStatisticsCaseCollection; | ||||
| class RigMainGrid; | ||||
| class RigSingleWellResultsData; | ||||
|  | ||||
|   | ||||
| @@ -23,12 +23,12 @@ | ||||
| #include "RimIdenticalGridCaseGroup.h" | ||||
|  | ||||
|  | ||||
| CAF_PDM_SOURCE_INIT(RimStatisticsCaseCollection, "RimStatisticalCollection"); | ||||
| CAF_PDM_SOURCE_INIT(RimEclipseStatisticsCaseCollection, "RimStatisticalCollection"); | ||||
|  | ||||
| //-------------------------------------------------------------------------------------------------- | ||||
| ///  | ||||
| //-------------------------------------------------------------------------------------------------- | ||||
| RimStatisticsCaseCollection::RimStatisticsCaseCollection() | ||||
| RimEclipseStatisticsCaseCollection::RimEclipseStatisticsCaseCollection() | ||||
|     : PdmObject() | ||||
| { | ||||
|     CAF_PDM_InitObject("Derived Statistics", "", "", ""); | ||||
| @@ -39,7 +39,7 @@ RimStatisticsCaseCollection::RimStatisticsCaseCollection() | ||||
| //-------------------------------------------------------------------------------------------------- | ||||
| ///  | ||||
| //-------------------------------------------------------------------------------------------------- | ||||
| RimStatisticsCaseCollection::~RimStatisticsCaseCollection() | ||||
| RimEclipseStatisticsCaseCollection::~RimEclipseStatisticsCaseCollection() | ||||
| { | ||||
|     cases.deleteAllChildObjects(); | ||||
| } | ||||
| @@ -47,7 +47,7 @@ RimStatisticsCaseCollection::~RimStatisticsCaseCollection() | ||||
| //-------------------------------------------------------------------------------------------------- | ||||
| ///  | ||||
| //-------------------------------------------------------------------------------------------------- | ||||
| RimIdenticalGridCaseGroup* RimStatisticsCaseCollection::parentCaseGroup() | ||||
| RimIdenticalGridCaseGroup* RimEclipseStatisticsCaseCollection::parentCaseGroup() | ||||
| { | ||||
|     std::vector<RimIdenticalGridCaseGroup*> parentObjects; | ||||
|     this->parentObjectsOfType(parentObjects); | ||||
|   | ||||
| @@ -34,13 +34,13 @@ class RimIdenticalGridCaseGroup; | ||||
| //  | ||||
| // | ||||
| //================================================================================================== | ||||
| class RimStatisticsCaseCollection : public caf::PdmObject | ||||
| class RimEclipseStatisticsCaseCollection : public caf::PdmObject | ||||
| { | ||||
|     CAF_PDM_HEADER_INIT; | ||||
|  | ||||
| public: | ||||
|     RimStatisticsCaseCollection(); | ||||
|     virtual ~RimStatisticsCaseCollection(); | ||||
|     RimEclipseStatisticsCaseCollection(); | ||||
|     virtual ~RimEclipseStatisticsCaseCollection(); | ||||
|  | ||||
|     caf::PdmPointersField<RimEclipseStatisticsCase*> cases; | ||||
|  | ||||
|   | ||||
| @@ -204,7 +204,7 @@ void RimUiTreeView::contextMenuEvent(QContextMenuEvent* event) | ||||
|             { | ||||
|                 menu.addAction(QString("Save Property To File"), this, SLOT(slotWriteBinaryResultAsInputProperty())); | ||||
|             } | ||||
|             else if (dynamic_cast<RimStatisticsCaseCollection*>(uiItem->dataObject().p())) | ||||
|             else if (dynamic_cast<RimEclipseStatisticsCaseCollection*>(uiItem->dataObject().p())) | ||||
|             { | ||||
|                 menu.addAction(QString("New Statistics Case"), this, SLOT(slotNewStatisticsCase())); | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user