Tag: Interface

Definition of the user interface.

Tree

Remarks

This interface element information pertains specifically to the GUI.

Mandatory Attributes

Name Description Type Allowed Values
context Context or combination of contexts (separated using '|') for the interface. String[]

Optional Attributes

Name Description Type Default Value Allowed Values
propertyEvents Specifies when property events should be invoked. String UI

Callbacks

Name Description
OnActiveObjectChange(IDataModelObject, ObjectLocationEnum) Called when the active object change.
OnInit(String) Called when the given context is initialized.
OnTerminate(String) Called when the given context is terminated.
OnUnitsChanged() OnUnitsChanged. Called when the unit system changes.
Resume(BinaryReader) Called when a project is loaded. Usefull to retreive aditional data.
Save(BinaryWriter) Called when a project is saved. Usefull to save aditional data.