Add Sumo summary ensemble and summary case

Add feature to create ensemble from a sumo data source
This commit is contained in:
Magne Sjaastad
2024-07-05 09:06:16 +02:00
parent d751ce4ce0
commit 31d653bce7
28 changed files with 1517 additions and 11 deletions

View File

@@ -46,7 +46,7 @@ bool RicShowDataSourcesForRealization::isCommandChecked() const
if ( !selection.empty() )
{
return selection.front()->showRealizationDataSources();
return selection.front()->showVectorItemsInProjectTree();
}
return false;
@@ -80,10 +80,10 @@ void RicShowDataSourcesForRealization::onActionTriggered( bool isChecked )
if ( selection.empty() ) return;
bool enableDataSources = !selection.front()->showRealizationDataSources();
bool enableDataSources = !selection.front()->showVectorItemsInProjectTree();
for ( auto summaryCase : selection )
{
summaryCase->setShowRealizationDataSource( enableDataSources );
summaryCase->setShowVectorItemsInProjectTree( enableDataSources );
}
}