mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Refactor: Use PlotCollection interface more places.
This commit is contained in:
@@ -387,3 +387,15 @@ void RimCorrelationPlotCollection::applyEnsembleFieldAndTimeStepToReport( RimCor
|
||||
plot->crossPlot()->setEnsembleParameter( crossPlotEnsembleParameterName );
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimCorrelationPlotCollection::loadDataAndUpdateAllPlots()
|
||||
{
|
||||
for ( const auto& corrPlot : m_correlationPlots )
|
||||
corrPlot->loadDataAndUpdate();
|
||||
|
||||
for ( const auto& reports : m_correlationReports )
|
||||
reports->loadDataAndUpdate();
|
||||
}
|
||||
|
||||
@@ -73,6 +73,7 @@ public:
|
||||
void insertPlot( RimAbstractCorrelationPlot* plot, size_t index ) final;
|
||||
void removePlot( RimAbstractCorrelationPlot* correlationPlot ) final;
|
||||
void deleteAllPlots() final;
|
||||
void loadDataAndUpdateAllPlots() override;
|
||||
|
||||
std::vector<RimCorrelationReportPlot*> reports() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user