Add method to remove plot in Well Log Plot Collection.

This commit is contained in:
Kristian Bendiksen committed 2021-09-09 08:38:00 +02:00
1 parent 7f460b2958
commit a3a2aac9b6
2 files changed
+15 -4

No files matched your search

@@ -166,6 +166,15 @@ void RimWellLogPlotCollection::deleteAllPlots()
m_wellLogPlots.deleteAllChildObjects();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLogPlotCollection::removePlot( gsl::not_null<RimWellLogPlot*> plot )
{
m_wellLogPlots.removeChildObject( plot );
updateAllRequiredEditors();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -59,10 +59,12 @@ public:
RigGeoMechWellLogExtractor* findOrCreateExtractor( RimWellPath* wellPath, RimGeoMechCase* geoMechCase );
std::vector<RimWellLogPlot*> wellLogPlots() const;
void addWellLogPlot( gsl::not_null<RimWellLogPlot*> wellLogPlot );
void deleteAllPlots() override;
void loadDataAndUpdateAllPlots() override;
size_t plotCount() const override;
void addWellLogPlot( gsl::not_null<RimWellLogPlot*> wellLogPlot );
void removePlot( gsl::not_null<RimWellLogPlot*> plot );
void deleteAllPlots() override;
void loadDataAndUpdateAllPlots() override;
size_t plotCount() const override;
void deleteAllExtractors();
void removeExtractors( const RigWellPath* wellPathGeometry );