CreateObjectEditor Constructor

(Windows Only)WRAPPER_API static ObjectEditor *CreateObjectEditor(GEOCALCPBW_NAMESPACE::DataSource *dataSource, GEOCALCPBW_NAMESPACE::DataSource::ObjectType classType, HWND parent)

 

(Windows Only)WRAPPER_API static ObjectEditor *CreateObjectEditor(GEOCALCPBW_NAMESPACE::DataSource *dataSource, GEOCALCPBW_NAMESPACE::Serializable* serializableObject, HWND parent)

 

UI_WRAPPER_API staticObjectEditor *CreateObjectEditor(GEOCALCPBW_NAMESPACE::DataSource *dataSource, GEOCALCPBW_NAMESPACE::DataSource::ObjectType classType, QWidget *parent = 0)

 

UI_WRAPPER_API staticObjectEditor *CreateObjectEditor(GEOCALCPBW_NAMESPACE::DataSource *dataSource, GEOCALCPBW_NAMESPACE::Serializable* serializableObject, QWidget *parent = 0)  

 

Description

The CreateObjectEditor constructor creates a new instance of the ObjectEditor class.  This constructor requires three arguments, the first of which is a pointer to the DataSource that will be edited, the second of which is the type of object to be edited, according to the DataSource::ObjectType enumeration, and the third of which is the parent window of the ObjectEditor dialog.  Once constructed, use the Show method to display the dialog.