#1592 Move new well path fracture feature to WellPathFractureCollection

This commit is contained in:
Magne Sjaastad
2017-06-09 12:19:14 +02:00
parent 395e232b77
commit 8f003449b2
3 changed files with 38 additions and 27 deletions

View File

@@ -222,7 +222,6 @@ QStringList RimContextCommandBuilder::commandsFromSelection()
commandIds << "RicNewWellLogFileCurveFeature";
commandIds << "RicNewWellLogCurveExtractionFeature";
commandIds << "RicNewWellPathIntersectionFeature";
commandIds << "RicNewWellPathFractureFeature";
}
else if (dynamic_cast<RimCalcScript*>(uiItem))
{
@@ -378,10 +377,6 @@ QStringList RimContextCommandBuilder::commandsFromSelection()
{
commandIds << "RicShowFlowCharacteristicsPlotFeature";
}
else if (dynamic_cast<RimWellPathFracture*>(uiItem))
{
commandIds << "RicNewWellPathFractureFeature";
}
else if (dynamic_cast<RimSimWellFracture*>(uiItem))
{
commandIds << "RicNewSimWellFractureFeature";
@@ -443,6 +438,9 @@ QStringList RimContextCommandBuilder::commandsFromSelection()
commandIds << "RicWellPathImportCompletionsFileFeature";
commandIds << "RicFlyToObjectFeature";
// Fracture commands
commandIds << "RicNewWellPathFractureFeature";
// Work in progress -- End
caf::PdmUiItem* uiItem = uiItems[0];