Refactor: Use PlotCollection interface more places.

This commit is contained in:
Kristian Bendiksen
2021-05-05 09:43:49 +02:00
parent 0fb69f7524
commit 8b2173f951
20 changed files with 271 additions and 311 deletions

View File

@@ -124,7 +124,16 @@ size_t RimSaturationPressurePlotCollection::plotCount() const
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimSaturationPressurePlotCollection::deleteAllChildObjects()
void RimSaturationPressurePlotCollection::deleteAllPlots()
{
m_saturationPressurePlots.deleteAllChildObjects();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimSaturationPressurePlotCollection::loadDataAndUpdateAllPlots()
{
for ( const auto& p : m_saturationPressurePlots )
p->loadDataAndUpdate();
}