diff --git a/ApplicationLibCode/ProjectDataModel/RimWellTargetCandidatesGenerator.cpp b/ApplicationLibCode/ProjectDataModel/RimWellTargetCandidatesGenerator.cpp index f3ab525395..8c59280f27 100644 --- a/ApplicationLibCode/ProjectDataModel/RimWellTargetCandidatesGenerator.cpp +++ b/ApplicationLibCode/ProjectDataModel/RimWellTargetCandidatesGenerator.cpp @@ -353,11 +353,32 @@ void RimWellTargetCandidatesGenerator::generateEnsembleStatistics() //-------------------------------------------------------------------------------------------------- void RimWellTargetCandidatesGenerator::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) { - PdmObject::defineUiOrdering( uiConfigName, uiOrdering ); - - caf::PdmUiGroup* resultDefinitionGroup = uiOrdering.addNewGroup( "Result Definition" ); + caf::PdmUiGroup* resultGroup = uiOrdering.addNewGroup( "Result" ); + resultGroup->add( &m_timeStep ); + resultGroup->add( &m_volumeType ); + resultGroup->add( &m_volumeResultType ); + resultGroup->add( &m_volumesType ); + + caf::PdmUiGroup* clusterLimitsGroup = uiOrdering.addNewGroup( "Cluster Growth Limits" ); + clusterLimitsGroup->add( &m_volume ); + clusterLimitsGroup->add( &m_pressure ); + clusterLimitsGroup->add( &m_permeability ); + clusterLimitsGroup->add( &m_transmissibility ); + + caf::PdmUiGroup* resultDefinitionGroup = uiOrdering.addNewGroup( "Cluster Filter" ); m_resultDefinition->uiOrdering( uiConfigName, *resultDefinitionGroup ); + caf::PdmUiGroup* ensembleGridGroup = uiOrdering.addNewGroup( "Ensemble Statistics Grid" ); + ensembleGridGroup->add( &m_cellCountI ); + ensembleGridGroup->add( &m_cellCountJ ); + ensembleGridGroup->add( &m_cellCountK ); + + caf::PdmUiGroup* advancedGroup = uiOrdering.addNewGroup( "Advanced" ); + advancedGroup->add( &m_maxIterations ); + advancedGroup->add( &m_maxClusters ); + + uiOrdering.add( &m_generateEnsembleStatistics ); + if ( m_minimumVolume == cvf::UNDEFINED_DOUBLE || m_maximumVolume == cvf::UNDEFINED_DOUBLE ) { updateAllBoundaries();