mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-07 14:43:10 -06:00
#3952 Summary : Create folders for input data and plots
This commit is contained in:
parent
baf00eaeab
commit
e00bbae139
@ -1066,49 +1066,54 @@ void RimProject::defineUiTreeOrdering(caf::PdmUiTreeOrdering& uiTreeOrdering, QS
|
||||
{
|
||||
if (uiConfigName == "PlotWindow")
|
||||
{
|
||||
RimOilField* oilField = activeOilField();
|
||||
if (oilField)
|
||||
{
|
||||
if (oilField->summaryCaseMainCollection())
|
||||
auto itemCollection = uiTreeOrdering.add("Input case data", ":/Folder.png");
|
||||
|
||||
RimOilField* oilField = activeOilField();
|
||||
if (oilField)
|
||||
{
|
||||
uiTreeOrdering.add( oilField->summaryCaseMainCollection() );
|
||||
}
|
||||
if (oilField->observedDataCollection())
|
||||
{
|
||||
uiTreeOrdering.add( oilField->observedDataCollection() );
|
||||
if (oilField->summaryCaseMainCollection())
|
||||
{
|
||||
itemCollection->add(oilField->summaryCaseMainCollection());
|
||||
}
|
||||
if (oilField->observedDataCollection())
|
||||
{
|
||||
itemCollection->add(oilField->observedDataCollection());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (mainPlotCollection)
|
||||
{
|
||||
if (mainPlotCollection->summaryPlotCollection())
|
||||
auto itemCollection = uiTreeOrdering.add("Plot definitions", ":/Folder.png");
|
||||
if (mainPlotCollection->summaryPlotCollection())
|
||||
{
|
||||
uiTreeOrdering.add(mainPlotCollection->summaryPlotCollection());
|
||||
itemCollection->add(mainPlotCollection->summaryPlotCollection());
|
||||
}
|
||||
|
||||
if (mainPlotCollection->summaryCrossPlotCollection())
|
||||
{
|
||||
uiTreeOrdering.add(mainPlotCollection->summaryCrossPlotCollection());
|
||||
}
|
||||
|
||||
if (mainPlotCollection->wellLogPlotCollection())
|
||||
if (mainPlotCollection->summaryCrossPlotCollection())
|
||||
{
|
||||
uiTreeOrdering.add(mainPlotCollection->wellLogPlotCollection());
|
||||
itemCollection->add(mainPlotCollection->summaryCrossPlotCollection());
|
||||
}
|
||||
|
||||
if (mainPlotCollection->rftPlotCollection())
|
||||
{
|
||||
uiTreeOrdering.add(mainPlotCollection->rftPlotCollection());
|
||||
}
|
||||
|
||||
if (mainPlotCollection->pltPlotCollection())
|
||||
{
|
||||
uiTreeOrdering.add(mainPlotCollection->pltPlotCollection());
|
||||
}
|
||||
|
||||
if (mainPlotCollection->flowPlotCollection())
|
||||
if (mainPlotCollection->wellLogPlotCollection())
|
||||
{
|
||||
uiTreeOrdering.add(mainPlotCollection->flowPlotCollection());
|
||||
itemCollection->add(mainPlotCollection->wellLogPlotCollection());
|
||||
}
|
||||
|
||||
if (mainPlotCollection->rftPlotCollection())
|
||||
{
|
||||
itemCollection->add(mainPlotCollection->rftPlotCollection());
|
||||
}
|
||||
|
||||
if (mainPlotCollection->pltPlotCollection())
|
||||
{
|
||||
itemCollection->add(mainPlotCollection->pltPlotCollection());
|
||||
}
|
||||
|
||||
if (mainPlotCollection->flowPlotCollection())
|
||||
{
|
||||
itemCollection->add(mainPlotCollection->flowPlotCollection());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user