mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1038 - pre-proto - Added command feature for creating new well log collection fracture from context menu in project tree
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
|
||||
#include "RiaApplication.h"
|
||||
#include "RiaPreferences.h"
|
||||
|
||||
#include "RimFractureCollection.h"
|
||||
#include "RimProject.h"
|
||||
#include "RimWellPath.h"
|
||||
#include "RimWellLogFile.h"
|
||||
@@ -79,11 +81,17 @@ RimWellPathCollection::RimWellPathCollection()
|
||||
CAF_PDM_InitField(&wellPathClipZDistance, "WellPathClipZDistance", 100, "Well path clipping depth distance", "", "", "");
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&wellPaths, "WellPaths", "Well Paths", "", "", "");
|
||||
CAF_PDM_InitFieldNoDefault(&fractureCollection, "FractureCollection", "Fractures", "", "", "");
|
||||
|
||||
wellPaths.uiCapability()->setUiHidden(true);
|
||||
fractureCollection.uiCapability()->setUiHidden(true);
|
||||
|
||||
m_wellPathCollectionPartManager = new RivWellPathCollectionPartMgr(this);
|
||||
|
||||
m_asciiFileReader = new RifWellPathAsciiFileReader;
|
||||
|
||||
fractureCollection = new RimFractureCollection();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -93,6 +101,7 @@ RimWellPathCollection::RimWellPathCollection()
|
||||
RimWellPathCollection::~RimWellPathCollection()
|
||||
{
|
||||
wellPaths.deleteAllChildObjects();
|
||||
if (fractureCollection()) delete fractureCollection();
|
||||
delete m_asciiFileReader;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user