mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Python support for grid case groups
This commit is contained in:
committed by
Kristian Bendiksen
parent
35e2e43c3a
commit
91c253f8fe
@@ -66,7 +66,7 @@ CAF_PDM_SOURCE_INIT( RimEclipseStatisticsCase, "RimStatisticalCalculation" );
|
||||
RimEclipseStatisticsCase::RimEclipseStatisticsCase()
|
||||
: RimEclipseCase()
|
||||
{
|
||||
CAF_PDM_InitObject( "Case Group Statistics", ":/Histogram16x16.png" );
|
||||
CAF_PDM_InitScriptableObject( "Case Group Statistics", ":/Histogram16x16.png" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_calculateEditCommand, "m_editingAllowed", "" );
|
||||
caf::PdmUiPushButtonEditor::configureEditorForField( &m_calculateEditCommand );
|
||||
@@ -202,6 +202,44 @@ void RimEclipseStatisticsCase::populateResultSelectionAfterLoadingGrid()
|
||||
m_populateSelectionAfterLoadingGrid = true;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimEclipseStatisticsCase::setSourceProperties( RiaDefines::ResultCatType propertyType, const std::vector<QString>& propertyNames )
|
||||
{
|
||||
switch ( propertyType )
|
||||
{
|
||||
case RiaDefines::ResultCatType::DYNAMIC_NATIVE:
|
||||
m_selectedDynamicProperties = propertyNames;
|
||||
break;
|
||||
case RiaDefines::ResultCatType::STATIC_NATIVE:
|
||||
m_selectedStaticProperties = propertyNames;
|
||||
break;
|
||||
case RiaDefines::ResultCatType::SOURSIMRL:
|
||||
break;
|
||||
case RiaDefines::ResultCatType::GENERATED:
|
||||
m_selectedGeneratedProperties = propertyNames;
|
||||
break;
|
||||
case RiaDefines::ResultCatType::INPUT_PROPERTY:
|
||||
m_selectedInputProperties = propertyNames;
|
||||
break;
|
||||
case RiaDefines::ResultCatType::FORMATION_NAMES:
|
||||
break;
|
||||
case RiaDefines::ResultCatType::ALLAN_DIAGRAMS:
|
||||
break;
|
||||
case RiaDefines::ResultCatType::FLOW_DIAGNOSTICS:
|
||||
break;
|
||||
case RiaDefines::ResultCatType::INJECTION_FLOODING:
|
||||
break;
|
||||
case RiaDefines::ResultCatType::REMOVED:
|
||||
break;
|
||||
case RiaDefines::ResultCatType::UNDEFINED:
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user