mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-15 02:26:18 -06:00
#814 New project tree items Intersection Boxes and Intersection Box. Support for add, toggle and delete
This commit is contained in:
1 parent
ae6397c5c6
commit
45952e59d3
19 files changed
+670
-24
No files matched your search
@@ -42,6 +42,8 @@
|
||||
#include "RimGeoMechPropertyFilterCollection.h"
|
||||
#include "RimGeoMechView.h"
|
||||
#include "RimIdenticalGridCaseGroup.h"
|
||||
#include "RimIntersectionBox.h"
|
||||
#include "RimIntersectionBoxCollection.h"
|
||||
#include "RimScriptCollection.h"
|
||||
#include "RimSummaryCase.h"
|
||||
#include "RimSummaryCurve.h"
|
||||
@@ -307,6 +309,16 @@ QStringList RimContextCommandBuilder::commandsFromSelection()
|
||||
commandIds << "Separator";
|
||||
commandIds << "RicDeleteItemFeature";
|
||||
}
|
||||
else if (dynamic_cast<RimIntersectionBoxCollection*>(uiItem))
|
||||
{
|
||||
commandIds << "RicAppendIntersectionBoxFeature";
|
||||
}
|
||||
else if (dynamic_cast<RimIntersectionBox*>(uiItem))
|
||||
{
|
||||
commandIds << "RicAppendIntersectionBoxFeature";
|
||||
commandIds << "Separator";
|
||||
commandIds << "RicDeleteItemFeature";
|
||||
}
|
||||
else if (dynamic_cast<RimEclipseWell*>(uiItem))
|
||||
{
|
||||
commandIds << "RicNewSimWellCrossSectionFeature";
|
||||
|
||||
Reference in new issue
Block a user