mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#809 Created Formation Names project items.
#819 Added delete command to Formation names #808 Added an import Formation Names command
This commit is contained in:
@@ -35,6 +35,8 @@
|
||||
#include "RimEclipseStatisticsCase.h"
|
||||
#include "RimEclipseView.h"
|
||||
#include "RimEclipseWell.h"
|
||||
#include "RimFormationNames.h"
|
||||
#include "RimFormationNamesCollection.h"
|
||||
#include "RimGeoMechCase.h"
|
||||
#include "RimGeoMechPropertyFilter.h"
|
||||
#include "RimGeoMechPropertyFilterCollection.h"
|
||||
@@ -310,7 +312,18 @@ QStringList RimContextCommandBuilder::commandsFromSelection()
|
||||
{
|
||||
commandIds << "RicNewSimWellCrossSectionFeature";
|
||||
}
|
||||
|
||||
else if(dynamic_cast<RimFormationNames*>(uiItem))
|
||||
{
|
||||
commandIds << "RicImportFormationNamesFeature";
|
||||
commandIds << "Separator";
|
||||
commandIds << "RicDeleteItemFeature";
|
||||
}
|
||||
else if(dynamic_cast<RimFormationNamesCollection*>(uiItem))
|
||||
{
|
||||
commandIds << "RicImportFormationNamesFeature";
|
||||
commandIds << "Separator";
|
||||
commandIds << "RicDeleteItemFeature";
|
||||
}
|
||||
if (dynamic_cast<RimView*>(uiItem))
|
||||
{
|
||||
commandIds << "RicLinkVisibleViewsFeature";
|
||||
|
||||
Reference in New Issue
Block a user