#1213 Well allocation plot is now only created when requested.

Also made the fields in FlowPlotCollection private.
This commit is contained in:
Jacob Støren
2017-02-13 14:49:52 +01:00
parent df35335744
commit a25bfd4513
5 changed files with 79 additions and 24 deletions

View File

@@ -36,7 +36,13 @@ public:
virtual ~RimFlowPlotCollection();
void closeDefaultPlotWindowAndDeletePlots();
void loadDataAndUpdate();
size_t plotCount() const;
caf::PdmChildField<RimWellAllocationPlot*> defaultPlot;
caf::PdmChildArrayField<RimWellAllocationPlot*> flowPlots;
void addPlot(RimWellAllocationPlot* plot);
RimWellAllocationPlot* defaultPlot();
private:
caf::PdmChildField<RimWellAllocationPlot*> m_defaultPlot;
caf::PdmChildArrayField<RimWellAllocationPlot*> m_flowPlots;
};