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
GetLocalString(String, String) Get the localized string.
GetPostCommands(IAnalysis, StringWriter) Called to collect all "post" commands to add to the solver input file.
GetPreCommands(IAnalysis, StringWriter) Called to collect all "pre" commands to add to the solver input file.
GetSolveCommands(IAnalysis, StringWriter) Called to collect all "solve" commands to add to the solver input file.
GetToolTips(String) Collect the GUI Entries ToolTips.
IsAnalysisValid(IAnalysis, Boolean) Called to know if an analysis is valid.
OnActiveObjectChange(IDataModelObject, ObjectLocationEnum) Called when the active object change.
OnAfterSolve(IAnalysis) Called when an analysis has been solved.
OnBeforeSolve(IAnalysis) Called when an analysis starts to solve.
OnInit(String) Called when the given context is initialized.
OnPostFinished(IAnalysis) Called when the post process end for a given analysis.
OnPostStarted(IAnalysis) Called when the post process start for a given analysis.
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.