mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-18 03:49:47 -06:00
Refactor: Use PlotCollection interface more places.
This commit is contained in:
1 parent
0fb69f7524
commit
8b2173f951
20 files changed
+271
-311
No files matched your search
+9
-1
@@ -47,7 +47,7 @@ RimStimPlanModelPlotCollection::~RimStimPlanModelPlotCollection()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimStimPlanModelPlotCollection::reloadAllPlots()
|
||||
void RimStimPlanModelPlotCollection::loadDataAndUpdateAllPlots()
|
||||
{
|
||||
for ( const auto& w : m_stimPlanModelPlots() )
|
||||
{
|
||||
@@ -55,6 +55,14 @@ void RimStimPlanModelPlotCollection::reloadAllPlots()
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
size_t RimStimPlanModelPlotCollection::plotCount() const
|
||||
{
|
||||
return m_stimPlanModelPlots.size();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user