mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-08 23:23:01 -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")
|
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->summaryCaseMainCollection())
|
||||||
}
|
{
|
||||||
if (oilField->observedDataCollection())
|
itemCollection->add(oilField->summaryCaseMainCollection());
|
||||||
{
|
}
|
||||||
uiTreeOrdering.add( oilField->observedDataCollection() );
|
if (oilField->observedDataCollection())
|
||||||
|
{
|
||||||
|
itemCollection->add(oilField->observedDataCollection());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mainPlotCollection)
|
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())
|
if (mainPlotCollection->summaryCrossPlotCollection())
|
||||||
{
|
|
||||||
uiTreeOrdering.add(mainPlotCollection->summaryCrossPlotCollection());
|
|
||||||
}
|
|
||||||
|
|
||||||
if (mainPlotCollection->wellLogPlotCollection())
|
|
||||||
{
|
{
|
||||||
uiTreeOrdering.add(mainPlotCollection->wellLogPlotCollection());
|
itemCollection->add(mainPlotCollection->summaryCrossPlotCollection());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mainPlotCollection->rftPlotCollection())
|
if (mainPlotCollection->wellLogPlotCollection())
|
||||||
{
|
|
||||||
uiTreeOrdering.add(mainPlotCollection->rftPlotCollection());
|
|
||||||
}
|
|
||||||
|
|
||||||
if (mainPlotCollection->pltPlotCollection())
|
|
||||||
{
|
|
||||||
uiTreeOrdering.add(mainPlotCollection->pltPlotCollection());
|
|
||||||
}
|
|
||||||
|
|
||||||
if (mainPlotCollection->flowPlotCollection())
|
|
||||||
{
|
{
|
||||||
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