mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Implement creation of combination plots from selected plots
This commit is contained in:
@@ -466,10 +466,6 @@ caf::CmdFeatureMenuBuilder RimContextCommandBuilder::commandsFromSelection()
|
||||
menuBuilder << "RicNewWellLogPlotFeature";
|
||||
menuBuilder << "RicNewWellBoreStabilityPlotFeature";
|
||||
}
|
||||
else if ( dynamic_cast<RimGridPlotWindowCollection*>( uiItem ) )
|
||||
{
|
||||
menuBuilder << "RicNewGridPlotWindowFeature";
|
||||
}
|
||||
else if ( dynamic_cast<RimRftPlotCollection*>( uiItem ) )
|
||||
{
|
||||
menuBuilder << "RicNewRftPlotFeature";
|
||||
@@ -871,6 +867,8 @@ caf::CmdFeatureMenuBuilder RimContextCommandBuilder::commandsFromSelection()
|
||||
menuBuilder << "RicDeleteSummaryCaseCollectionFeature";
|
||||
menuBuilder << "RicCloseObservedDataFeature";
|
||||
|
||||
menuBuilder << "RicNewGridPlotWindowFeature";
|
||||
|
||||
// Work in progress -- End
|
||||
appendCreateCompletions( menuBuilder, menuBuilder.itemCount() > 0u );
|
||||
bool addedExportWellPaths = appendExportWellPaths( menuBuilder, menuBuilder.itemCount() > 0u ) > 0;
|
||||
|
||||
@@ -114,14 +114,14 @@ void RimGridPlotWindow::insertPlot( RimPlotInterface* plot, size_t index )
|
||||
if ( plot )
|
||||
{
|
||||
m_plots.insert( index, toPdmObjectAsserted( plot ) );
|
||||
plot->setChecked( true );
|
||||
|
||||
if ( m_viewer )
|
||||
{
|
||||
plot->createPlotWidget();
|
||||
plot->setChecked( true );
|
||||
m_viewer->insertPlot( plot->viewer(), index );
|
||||
plot->updateAfterInsertingIntoGridPlotWindow();
|
||||
}
|
||||
plot->updateAfterInsertingIntoGridPlotWindow();
|
||||
|
||||
onPlotAdditionOrRemoval();
|
||||
}
|
||||
|
||||
@@ -342,7 +342,6 @@ void RimWellLogExtractionCurve::onLoadDataAndUpdate( bool updateParentPlot )
|
||||
|
||||
RimWellLogPlot* wellLogPlot;
|
||||
firstAncestorOrThisOfType( wellLogPlot );
|
||||
CVF_ASSERT( wellLogPlot );
|
||||
if ( !wellLogPlot ) return;
|
||||
|
||||
displayUnit = wellLogPlot->depthUnit();
|
||||
|
||||
@@ -209,7 +209,7 @@ RimSummaryPlot::RimSummaryPlot()
|
||||
m_textCurveSetEditor = new RimSummaryPlotFilterTextCurveSetEditor;
|
||||
|
||||
m_isCrossPlot = false;
|
||||
m_isDraggable = false;
|
||||
m_isDraggable = true;
|
||||
|
||||
m_nameHelperAllCurves.reset( new RimSummaryPlotNameHelper );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user