Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default tree visibility state for childField and childArrayField #11162

Merged
merged 2 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ RimOilFieldEntry::RimOilFieldEntry()
CAF_PDM_InitFieldNoDefault( &wellsFilePath, "wellsFilePath", "Wells File Path" );

CAF_PDM_InitFieldNoDefault( &wells, "Wells", "" );
wells.uiCapability()->setUiTreeHidden( true );
wells.uiCapability()->setUiTreeChildrenHidden( true );
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ RimOilRegionEntry::RimOilRegionEntry()
CAF_PDM_InitFieldNoDefault( &name, "OilRegionEntry", "OilRegionEntry" );

CAF_PDM_InitFieldNoDefault( &fields, "Fields", "" );
fields.uiCapability()->setUiTreeHidden( true );

CAF_PDM_InitField( &selected, "Selected", false, "Selected" );
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ RimWellPathImport::RimWellPathImport()
CAF_PDM_InitField( &west, "UtmWest", 0.0, "West" );

CAF_PDM_InitFieldNoDefault( &regions, "Regions", "" );
regions.uiCapability()->setUiTreeHidden( true );
}

//--------------------------------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,6 @@ WellSelectionPage::WellSelectionPage( RimWellPathImport* wellPathImport, QWidget

m_regionsWithVisibleWells = new ObjectGroupWithHeaders;
m_regionsWithVisibleWells->objects.uiCapability()->setUiHidden( true );
m_regionsWithVisibleWells->objects.uiCapability()->setUiTreeHidden( true );
}

//--------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -888,7 +887,6 @@ void WellSelectionPage::buildWellTreeView()
{
caf::PdmObjectCollection* regGroup = new caf::PdmObjectCollection;
regGroup->objects.uiCapability()->setUiHidden( true );
regGroup->objects.uiCapability()->setUiTreeHidden( true );

regGroup->setUiName( oilRegion->userDescriptionField()->uiCapability()->uiValue().toString() );

Expand All @@ -901,7 +899,6 @@ void WellSelectionPage::buildWellTreeView()
{
caf::PdmObjectCollection* fieldGroup = new caf::PdmObjectCollection;
fieldGroup->objects.uiCapability()->setUiHidden( true );
fieldGroup->objects.uiCapability()->setUiTreeHidden( true );

fieldGroup->setUiName( oilField->userDescriptionField()->uiCapability()->uiValue().toString() );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ RicSummaryPlotEditorUi::RicSummaryPlotEditorUi()

CAF_PDM_InitFieldNoDefault( &m_curveNameConfig, "SummaryCurveNameConfig", "SummaryCurveNameConfig" );
m_curveNameConfig = new RimSummaryCurveAutoName();
m_curveNameConfig.uiCapability()->setUiTreeHidden( true );
m_curveNameConfig.uiCapability()->setUiTreeChildrenHidden( true );

m_summaryCurveSelectionEditor = std::make_unique<RiuSummaryVectorSelectionWidgetCreator>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ RimAnalysisPlot::RimAnalysisPlot()

CAF_PDM_InitFieldNoDefault( &m_analysisPlotDataSelection, "AnalysisPlotData", "" );
m_analysisPlotDataSelection.uiCapability()->setUiTreeChildrenHidden( true );
m_analysisPlotDataSelection.uiCapability()->setUiTreeHidden( true );

// Time Step Selection
CAF_PDM_InitFieldNoDefault( &m_timeStepFilter, "TimeStepFilter", "Available Time Steps" );
Expand Down Expand Up @@ -161,13 +160,11 @@ RimAnalysisPlot::RimAnalysisPlot()
CAF_PDM_InitFieldNoDefault( &m_barTextFontSize, "BarTextFontSize", "Font Size" );

CAF_PDM_InitFieldNoDefault( &m_valueAxisProperties, "ValueAxisProperties", "ValueAxisProperties" );
m_valueAxisProperties.uiCapability()->setUiTreeHidden( true );
m_valueAxisProperties = new RimPlotAxisProperties;
m_valueAxisProperties->setNameAndAxis( "Value-Axis", "Value-Axis", RiuQwtPlotTools::fromQwtPlotAxis( QwtAxis::YLeft ) );
m_valueAxisProperties->enableRangeSettings( false );

CAF_PDM_InitFieldNoDefault( &m_plotDataFilterCollection, "PlotDataFilterCollection", "PlotDataFilterCollection" );
m_plotDataFilterCollection.uiCapability()->setUiTreeHidden( true );
m_plotDataFilterCollection = new RimPlotDataFilterCollection;

connectAxisSignals( m_valueAxisProperties() );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ RimAnalysisPlotCollection::RimAnalysisPlotCollection()
CAF_PDM_InitObject( "Analysis Plots", ":/AnalysisPlots16x16.png" );

CAF_PDM_InitFieldNoDefault( &m_analysisPlots, "AnalysisPlots", "Analysis Plots" );
m_analysisPlots.uiCapability()->setUiTreeHidden( true );
}

//--------------------------------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ RimAnalysisPlotDataEntry::RimAnalysisPlotDataEntry()
m_ensemble.uiCapability()->setAutoAddingOptionFromValue( false );

CAF_PDM_InitFieldNoDefault( &m_summaryAddress, "SummaryAddress", "Summary Address" );
m_summaryAddress.uiCapability()->setUiTreeHidden( true );
m_summaryAddress.uiCapability()->setUiTreeChildrenHidden( true );
m_summaryAddress = new RimSummaryAddress;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ RimPlotDataFilterCollection::RimPlotDataFilterCollection()
CAF_PDM_InitField( &m_isActive, "IsActive", true, "IsActive" );
m_isActive.uiCapability()->setUiHidden( true );
CAF_PDM_InitFieldNoDefault( &m_filters, "PlotDataFiltersField", "" );
m_filters.uiCapability()->setUiTreeHidden( true );
}

//--------------------------------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ RimPlotDataFilterItem::RimPlotDataFilterItem()
CAF_PDM_InitFieldNoDefault( &m_filterTarget, "FilterTarget", "Use only the" );

CAF_PDM_InitFieldNoDefault( &m_filterAddress, "FilterAddressField", "Filter Address" );
m_filterAddress.uiCapability()->setUiTreeHidden( true );
m_filterAddress.uiCapability()->setUiTreeChildrenHidden( true );
m_filterAddress = new RimSummaryAddress();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ RimAnnotationCollection::RimAnnotationCollection()
CAF_PDM_InitFieldNoDefault( &m_userDefinedPolylineAnnotations, "UserDefinedPolylineAnnotations", "User Defined Polyline Annotations" );
CAF_PDM_InitFieldNoDefault( &m_polylineFromFileAnnotations, "PolylineFromFileAnnotations", "Polylines From File" );

m_reachCircleAnnotations.uiCapability()->setUiTreeHidden( true );
m_userDefinedPolylineAnnotations.uiCapability()->setUiTreeHidden( true );
m_polylineFromFileAnnotations.uiCapability()->setUiTreeHidden( true );

m_reachCircleAnnotations = new RimAnnotationGroupCollection();
m_userDefinedPolylineAnnotations = new RimAnnotationGroupCollection();
m_polylineFromFileAnnotations = new RimAnnotationGroupCollection();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ RimAnnotationCollectionBase::RimAnnotationCollectionBase()

CAF_PDM_InitFieldNoDefault( &m_textAnnotations, "TextAnnotations", "Text Annotations" );

m_textAnnotations.uiCapability()->setUiTreeHidden( true );
m_textAnnotations = new RimAnnotationGroupCollection();
m_textAnnotations->uiCapability()->setUiName( RimAnnotationGroupCollection::TEXT_ANNOTATION_UI_NAME );
m_textAnnotations->uiCapability()->setUiIconFromResourceString( ":/TextAnnotation16x16.png" );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ RimAnnotationGroupCollection::RimAnnotationGroupCollection()
CAF_PDM_InitFieldNoDefault( &m_annotations, "Annotations", "Annotations" );

m_isActive.uiCapability()->setUiHidden( true );
m_annotations.uiCapability()->setUiTreeHidden( true );
}

//--------------------------------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,6 @@ RimAnnotationInViewCollection::RimAnnotationInViewCollection()

CAF_PDM_InitFieldNoDefault( &m_annotationFontSize, "AnnotationFontSize", "Default Font Size" );

m_globalTextAnnotations.uiCapability()->setUiTreeHidden( true );
m_globalReachCircleAnnotations.uiCapability()->setUiTreeHidden( true );
m_globalUserDefinedPolylineAnnotations.uiCapability()->setUiTreeHidden( true );
m_globalPolylineFromFileAnnotations.uiCapability()->setUiTreeHidden( true );

m_globalTextAnnotations = new RimAnnotationGroupCollection();
m_globalReachCircleAnnotations = new RimAnnotationGroupCollection();
m_globalUserDefinedPolylineAnnotations = new RimAnnotationGroupCollection();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ RimPolylinesAnnotation::RimPolylinesAnnotation()
CAF_PDM_InitFieldNoDefault( &m_appearance, "Appearance", "Appearance" );

m_appearance = new RimPolylineAppearance();
m_appearance.uiCapability()->setUiTreeHidden( true );
m_appearance.uiCapability()->setUiTreeChildrenHidden( true );

setDeletable( true );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ RimReachCircleAnnotation::RimReachCircleAnnotation()
CAF_PDM_InitFieldNoDefault( &m_appearance, "Appearance", "Appearance" );

m_appearance = new RimReachCircleLineAppearance();
m_appearance.uiCapability()->setUiTreeHidden( true );
m_appearance.uiCapability()->setUiTreeChildrenHidden( true );

m_centerPointEventHandler.reset( new RicVec3dPickEventHandler( &m_centerPointXyd ) );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ RimTextAnnotation::RimTextAnnotation()

CAF_PDM_InitFieldNoDefault( &m_textAppearance, "TextAppearance", "Text Appearance" );
m_textAppearance = new RimAnnotationTextAppearance();
m_textAppearance.uiCapability()->setUiTreeHidden( true );
m_textAppearance.uiCapability()->setUiTreeChildrenHidden( true );

CAF_PDM_InitFieldNoDefault( &m_nameProxy, "NameProxy", "Name Proxy" );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,10 @@ RimCellFilterCollection::RimCellFilterCollection()
m_isActive.uiCapability()->setUiHidden( true );

CAF_PDM_InitFieldNoDefault( &m_cellFilters, "CellFilters", "Filters" );
m_cellFilters.uiCapability()->setUiTreeHidden( true );
caf::PdmFieldReorderCapability::addToField( &m_cellFilters );

// for backwards project file compatibility with old CellRangeFilterCollection
CAF_PDM_InitFieldNoDefault( &m_rangeFilters_OBSOLETE, "RangeFilters", "Range Filters" );
m_rangeFilters_OBSOLETE.uiCapability()->setUiTreeHidden( true );
m_rangeFilters_OBSOLETE.xmlCapability()->setIOWritable( false );
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ RimEclipsePropertyFilter::RimEclipsePropertyFilter()

// Set to hidden to avoid this item to been displayed as a child item
// Fields in this object are displayed using defineUiOrdering()
m_resultDefinition.uiCapability()->setUiTreeHidden( true );
m_resultDefinition.uiCapability()->setUiTreeChildrenHidden( true );

CAF_PDM_InitField( &m_rangeLabelText, "Dummy_keyword", QString( "Range Type" ), "Range Type" );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ RimEclipsePropertyFilterCollection::RimEclipsePropertyFilterCollection()
CAF_PDM_InitObject( "Property Filters", ":/CellFilter_Values.png" );

CAF_PDM_InitFieldNoDefault( &m_propertyFilters, "PropertyFilters", "Property Filters" );
m_propertyFilters.uiCapability()->setUiTreeHidden( true );
}

//--------------------------------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ RimGeoMechPropertyFilter::RimGeoMechPropertyFilter()

// Set to hidden to avoid this item to been displayed as a child item
// Fields in this object are displayed using defineUiOrdering()
resultDefinition.uiCapability()->setUiTreeHidden( true );
resultDefinition.uiCapability()->setUiTreeChildrenHidden( true );

CAF_PDM_InitField( &lowerBound, "LowerBound", 0.0, "Min" );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ RimGeoMechPropertyFilterCollection::RimGeoMechPropertyFilterCollection()
CAF_PDM_InitObject( "Property Filters", ":/CellFilter_Values.png" );

CAF_PDM_InitFieldNoDefault( &propertyFilters, "PropertyFilters", "Property Filters" );
propertyFilters.uiCapability()->setUiTreeHidden( true );
}

//--------------------------------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ Rim3dWellLogCurveCollection::Rim3dWellLogCurveCollection()
CAF_PDM_InitField( &m_showGrid, "Show3dWellLogGrid", true, "Show Grid" );
CAF_PDM_InitField( &m_showBackground, "Show3dWellLogBackground", false, "Show Background" );
CAF_PDM_InitFieldNoDefault( &m_3dWellLogCurves, "ArrayOf3dWellLogCurves", "" );
m_3dWellLogCurves.uiCapability()->setUiTreeHidden( true );
}

//--------------------------------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ RimEnsembleFractureStatisticsCollection::RimEnsembleFractureStatisticsCollection
CAF_PDM_InitObject( "Ensemble Fracture Statistics", ":/FractureTemplates16x16.png" );

CAF_PDM_InitFieldNoDefault( &m_fractureGroupStatistics, "FractureGroupStatistics", "" );
m_fractureGroupStatistics.uiCapability()->setUiTreeHidden( true );
}

//--------------------------------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ RimFishbones::RimFishbones()
CAF_PDM_InitFieldNoDefault( &m_valveLocations, "ValveLocations", "Valve Locations" );
m_valveLocations = new RimMultipleValveLocations();
m_valveLocations->findField( "RangeValveCount" )->uiCapability()->setUiName( "Number of Subs" );
m_valveLocations.uiCapability()->setUiTreeHidden( true );
m_valveLocations.uiCapability()->setUiTreeChildrenHidden( true );

CAF_PDM_InitField( &m_subsOrientationMode,
Expand All @@ -123,7 +122,6 @@ RimFishbones::RimFishbones()
CAF_PDM_InitField( &m_fixedInstallationRotationAngle, "FixedInstallationRotationAngle", 0.0, " Fixed Angle [deg]" );

CAF_PDM_InitFieldNoDefault( &m_pipeProperties, "PipeProperties", "Pipe Properties" );
m_pipeProperties.uiCapability()->setUiTreeHidden( true );
m_pipeProperties.uiCapability()->setUiTreeChildrenHidden( true );

m_pipeProperties = new RimFishbonesPipeProperties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ RimFishbonesCollection::RimFishbonesCollection()
setName( "Fishbones" );

CAF_PDM_InitFieldNoDefault( &m_fishbones, "FishbonesSubs", "fishbonesSubs" );
m_fishbones.uiCapability()->setUiTreeHidden( true );

CAF_PDM_InitField( &m_startMD, "StartMD", HUGE_VAL, "Start MD" );
CAF_PDM_InitField( &m_mainBoreDiameter, "MainBoreDiameter", 0.216, "Main Bore Diameter" );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ RimFractureTemplate::RimFractureTemplate()

CAF_PDM_InitFieldNoDefault( &m_fractureContainment, "FractureContainmentField", "Fracture Containment" );
m_fractureContainment = new RimFractureContainment();
m_fractureContainment.uiCapability()->setUiTreeHidden( true );
m_fractureContainment.uiCapability()->setUiTreeChildrenHidden( true );

// Non-Darcy Flow options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ RimFractureTemplateCollection::RimFractureTemplateCollection()
"Default unit system for fracture templates" );

CAF_PDM_InitFieldNoDefault( &m_fractureDefinitions, "FractureDefinitions", "" );
m_fractureDefinitions.uiCapability()->setUiTreeHidden( true );

CAF_PDM_InitField( &m_nextValidFractureTemplateId, "NextValidFractureTemplateId", 0, "" );
m_nextValidFractureTemplateId.uiCapability()->setUiHidden( true );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,9 @@ RimPerforationCollection::RimPerforationCollection()
setName( "Perforations" );

CAF_PDM_InitScriptableFieldNoDefault( &m_perforations, "Perforations", "Perforations" );
m_perforations.uiCapability()->setUiTreeHidden( true );

CAF_PDM_InitFieldNoDefault( &m_nonDarcyParameters, "NonDarcyParameters", "Non-Darcy Parameters" );
m_nonDarcyParameters = new RimNonDarcyPerforationParameters();
m_nonDarcyParameters.uiCapability()->setUiTreeHidden( true );
m_nonDarcyParameters.uiCapability()->setUiTreeChildrenHidden( true );
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ RimPerforationInterval::RimPerforationInterval()
CAF_PDM_InitField( &m_endDate, "EndDate", QDateTime::currentDateTime(), "End Date" );

CAF_PDM_InitFieldNoDefault( &m_valves, "Valves", "Valves" );
m_valves.uiCapability()->setUiTreeHidden( true );

nameField()->uiCapability()->setUiReadOnly( true );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ RimSimWellFractureCollection::RimSimWellFractureCollection()
CAF_PDM_InitObject( "Fractures", ":/FractureLayout16x16.png" );

CAF_PDM_InitFieldNoDefault( &simwellFractures, "Fractures", "" );
simwellFractures.uiCapability()->setUiTreeHidden( true );

setDeletable( true );
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ RimValveTemplate::RimValveTemplate()

CAF_PDM_InitFieldNoDefault( &m_aicdParameters, "AICDParameters", "AICD Parameters" );
m_aicdParameters = new RimWellPathAicdParameters;
m_aicdParameters.uiCapability()->setUiTreeHidden( true );
m_aicdParameters.uiCapability()->setUiTreeChildrenHidden( true );
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ RimValveTemplateCollection::RimValveTemplateCollection()
CAF_PDM_InitFieldNoDefault( &m_valveDefinitions, "ValveDefinitions", "" );
CAF_PDM_InitFieldNoDefault( &m_defaultUnitsForValveTemplates, "ValveUnits", "Default unit system for valve templates" );
m_defaultUnitsForValveTemplates = RiaDefines::EclipseUnitSystem::UNITS_METRIC;
m_valveDefinitions.uiCapability()->setUiTreeHidden( true );
addDefaultValveTemplates();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ RimWellPathCompletionSettings::RimWellPathCompletionSettings()

CAF_PDM_InitFieldNoDefault( &m_mswParameters, "MswParameters", "Multi Segment Well Parameters" );
m_mswParameters = new RimMswCompletionParameters;
m_mswParameters.uiCapability()->setUiTreeHidden( true );
m_mswParameters.uiCapability()->setUiTreeChildrenHidden( true );

CAF_PDM_InitScriptableFieldNoDefault( &m_mswLinerDiameter, "MswLinerDiameter", "MSW Liner Diameter" );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,15 @@ RimWellPathCompletions::RimWellPathCompletions()

CAF_PDM_InitScriptableFieldNoDefault( &m_perforationCollection, "Perforations", "Perforations" );
m_perforationCollection = new RimPerforationCollection;
m_perforationCollection.uiCapability()->setUiTreeHidden( true );

CAF_PDM_InitFieldNoDefault( &m_fishbonesCollection, "Fishbones", "Fishbones" );
m_fishbonesCollection = new RimFishbonesCollection;
m_fishbonesCollection.uiCapability()->setUiTreeHidden( true );

CAF_PDM_InitFieldNoDefault( &m_fractureCollection, "Fractures", "Fractures" );
m_fractureCollection = new RimWellPathFractureCollection;
m_fractureCollection.uiCapability()->setUiTreeHidden( true );

CAF_PDM_InitFieldNoDefault( &m_stimPlanModelCollection, "StimPlanModels", "StimPlan Models" );
m_stimPlanModelCollection = new RimStimPlanModelCollection;
m_stimPlanModelCollection.uiCapability()->setUiTreeHidden( true );

CAF_PDM_InitField( &m_wellNameForExport_OBSOLETE, "WellNameForExport", QString(), "Well Name" );
m_wellNameForExport_OBSOLETE.xmlCapability()->setIOWritable( false );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ RimWellPathFractureCollection::RimWellPathFractureCollection()
CAF_PDM_InitObject( "Fractures", ":/FractureLayout16x16.png" );

CAF_PDM_InitFieldNoDefault( &m_fractures, "Fractures", "" );
m_fractures.uiCapability()->setUiTreeHidden( true );

setName( "Fractures" );
nameField()->uiCapability()->setUiHidden( true );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ RimWellPathValve::RimWellPathValve()

m_measuredDepth.uiCapability()->setUiEditorTypeName( caf::PdmUiDoubleSliderEditor::uiEditorTypeName() );
m_multipleValveLocations = new RimMultipleValveLocations;
m_multipleValveLocations.uiCapability()->setUiTreeHidden( true );
m_multipleValveLocations.uiCapability()->setUiTreeChildrenHidden( true );
m_editValveTemplate.uiCapability()->setUiLabelPosition( caf::PdmUiItemInfo::HIDDEN );
m_editValveTemplate.uiCapability()->setUiEditorTypeName( caf::PdmUiToolButtonEditor::uiEditorTypeName() );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ RimAbstractCorrelationPlot::RimAbstractCorrelationPlot()

CAF_PDM_InitFieldNoDefault( &m_dataSources, "AnalysisPlotData", "" );
m_dataSources.uiCapability()->setUiTreeChildrenHidden( true );
m_dataSources.uiCapability()->setUiTreeHidden( true );

CAF_PDM_InitFieldNoDefault( &m_pushButtonSelectSummaryAddress, "SelectAddress", "" );
caf::PdmUiPushButtonEditor::configureEditorForField( &m_pushButtonSelectSummaryAddress );
Expand Down
Loading
Loading