mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Show summary data as tree structure in explorer. (#8430)
* Show summary data vectors in project explorer for both summary cases and ensembles. * Enable Drag to be able to drag'n'drop data vector into future summary plot * Make sure tree is refreshed on reload/replace operations * Provide case id and ensemble id in drag/drop object in addition to address
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
#include "RimCaseDisplayNameTools.h"
|
||||
|
||||
#include "cafFilePath.h"
|
||||
#include "cafPdmChildArrayField.h"
|
||||
#include "cafPdmChildField.h"
|
||||
#include "cafPdmField.h"
|
||||
#include "cafPdmObject.h"
|
||||
|
||||
@@ -31,6 +33,7 @@
|
||||
class RifReaderRftInterface;
|
||||
class RifSummaryReaderInterface;
|
||||
class RimSummaryCaseCollection;
|
||||
class RimSummaryAddressCollection;
|
||||
|
||||
//==================================================================================================
|
||||
//
|
||||
@@ -63,6 +66,8 @@ public:
|
||||
void updateAutoShortName();
|
||||
void updateOptionSensitivity();
|
||||
|
||||
void refreshMetaData();
|
||||
|
||||
virtual void createSummaryReaderInterface() = 0;
|
||||
virtual void createRftReaderInterface() {}
|
||||
virtual RifSummaryReaderInterface* summaryReader() = 0;
|
||||
@@ -93,11 +98,15 @@ private:
|
||||
static QString uniqueShortNameForEnsembleCase( RimSummaryCase* summaryCase );
|
||||
static QString uniqueShortNameForSummaryCase( RimSummaryCase* summaryCase );
|
||||
|
||||
void buildChildNodes();
|
||||
|
||||
protected:
|
||||
caf::PdmField<QString> m_displayName;
|
||||
caf::PdmField<DisplayNameEnum> m_displayNameOption;
|
||||
caf::PdmField<caf::FilePath> m_summaryHeaderFilename;
|
||||
|
||||
caf::PdmChildField<RimSummaryAddressCollection*> m_dataVectorFolders;
|
||||
|
||||
bool m_isObservedData;
|
||||
caf::PdmField<int> m_caseId;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user