mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6320 Refactor of PdmScripting
* Make base class abstract * Implement support for IOHandling for PdmChild and PdmChildArray fields
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#include "RiaGuiApplication.h"
|
||||
#include "RiuPlotMainWindow.h"
|
||||
|
||||
#include "cafPdmFieldIOScriptability.h"
|
||||
#include "cafPdmFieldScriptingCapability.h"
|
||||
|
||||
CAF_PDM_SOURCE_INIT( RicfSetPlotWindowSize, "setPlotWindowSize" );
|
||||
|
||||
@@ -30,8 +30,8 @@ CAF_PDM_SOURCE_INIT( RicfSetPlotWindowSize, "setPlotWindowSize" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RicfSetPlotWindowSize::RicfSetPlotWindowSize()
|
||||
{
|
||||
CAF_PDM_InitScriptableFieldWithIO( &m_height, "height", -1, "Height", "", "", "" );
|
||||
CAF_PDM_InitScriptableFieldWithIO( &m_width, "width", -1, "Width", "", "", "" );
|
||||
CAF_PDM_InitScriptableField( &m_height, "height", -1, "Height", "", "", "" );
|
||||
CAF_PDM_InitScriptableField( &m_width, "width", -1, "Width", "", "", "" );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user