(#383) Added RicAddEclipseInputPropertyFeature

This commit is contained in:
Pål Hagen
2015-08-24 10:40:47 +02:00
parent 28547513c6
commit 7044f3c627
4 changed files with 155 additions and 0 deletions

View File

@@ -53,6 +53,7 @@
#include "RimEclipseStatisticsCaseCollection.h"
#include "RimEclipseStatisticsCase.h"
#include "RimEclipseInputProperty.h"
#include "RimEclipseInputPropertyCollection.h"
CAF_PDM_SOURCE_INIT(RimProject, "ResInsightProject");
//--------------------------------------------------------------------------------------------------
@@ -636,6 +637,10 @@ void RimProject::actionsBasedOnSelection(QMenu& contextMenu)
{
commandIds << "RicSaveEclipseResultAsInputPropertyFeature";
}
else if (dynamic_cast<RimEclipseInputPropertyCollection*>(uiItem))
{
commandIds << "RicAddEclipseInputPropertyFeature";
}
else if (dynamic_cast<RimEclipseInputProperty*>(uiItem))
{
commandIds << "RicSaveEclipseInputPropertyFeature";