#1038 - pre-proto - Added command feature for creating new well log collection fracture from context menu in project tree

This commit is contained in:
astridkbjorke
2016-12-20 09:53:19 +01:00
parent 456bc03483
commit ab6e12eb3a
14 changed files with 226 additions and 62 deletions

View File

@@ -75,6 +75,7 @@
#include <QMenu>
#include "RimFault.h"
#include "RimFracture.h"
//--------------------------------------------------------------------------------------------------
///
@@ -354,9 +355,11 @@ QStringList RimContextCommandBuilder::commandsFromSelection()
{
commandIds << "RicExportFaultsFeature";
}
else if (dynamic_cast<RimFractureCollection*>(uiItem))
else if (dynamic_cast<RimFractureCollection*>(uiItem)
|| dynamic_cast<RimFracture*>(uiItem) )
{
commandIds << "RicNewSimWellFractureFeature";
commandIds << "RicNewWellPathCollFractureFeature";
}
else if (dynamic_cast<RimFractureDefinitionCollection*>(uiItem))
{