mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Move some more scriptability to caf
This commit is contained in:
@@ -172,7 +172,7 @@ RimEclipseView::RimEclipseView()
|
||||
CAF_PDM_InitField( &m_showInactiveCells, "ShowInactiveCells", false, "Show Inactive Cells", "", "", "" );
|
||||
CAF_PDM_InitField( &m_showInvalidCells, "ShowInvalidCells", false, "Show Invalid Cells", "", "", "" );
|
||||
|
||||
RICF_InitFieldNoDefault( &m_cellResultData, "CellResultData", "", "", "", "Current Eclipse Cell Result" );
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_cellResultData, "CellResultData", "", "", "", "Current Eclipse Cell Result" );
|
||||
m_cellResultData.xmlCapability()->disableIO();
|
||||
m_cellResultData.registerGetMethod( this, &RimEclipseView::currentCellResultData );
|
||||
m_cellResultData.registerSetMethod( this, &RimEclipseView::setCurrentCellResultData );
|
||||
|
||||
@@ -47,7 +47,13 @@ RimWellBoreStabilityPlot::RimWellBoreStabilityPlot()
|
||||
"",
|
||||
"A GeoMechanical Well Bore Stabilit Plot" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_wbsParameters, "WbsParameters", "Well Bore Stability Parameters", "", "", "" );
|
||||
CAF_PDM_InitScriptableFieldWithKeywordNoDefault( &m_wbsParameters,
|
||||
"WbsParameters",
|
||||
"Params",
|
||||
"Well Bore Stability Parameters",
|
||||
"",
|
||||
"",
|
||||
"" );
|
||||
m_wbsParameters = new RimWbsParameters;
|
||||
m_wbsParameters.uiCapability()->setUiTreeHidden( true );
|
||||
m_wbsParameters.uiCapability()->setUiTreeChildrenHidden( true );
|
||||
|
||||
Reference in New Issue
Block a user