Tag: Geometry

DesignModeler geometry feature.

Tree

Mandatory Attributes

Name Description Type Allowed Values
name Name of the object. String
version Version of the object. Int32

Optional Attributes

Name Description Type Default Value Allowed Values
caption Caption of the object. String
class Class name of the controller of the object. String
icon Icon for the object. String

Callbacks

Name Description
CanAdd(IDataModelObject, String) Callback that is invoked to determine whether the object can be added.
OnAdd(IUserObject) Callback that is invoked when the object is newly added.
OnAfterGenerate(IUserObject) Callback that is invoked at the end of the generation process.
OnGenerate(IUserObject, Func<Int32, String, Boolean>) Callback that is invoked when the object is generated.
OnInit(IUserObject) Callback that is invoked when the object is initialized.
OnMigrate(IUserObject, IUserObject) Callback that is invoked when the object version has been changed.