Prev | Next |
Functions - Validate and Control User Input
Enterprise Architect calls a number of functions to validate and control user input. For each function a set of objects is filled.
Validate/Control User Input
Function |
Action |
---|---|
AllowPhaseUpdate(OldValue, NewValue) |
Validate a change a user has made to a phase. Return Value:
|
AllowStatusUpdate(OldValue, NewValue) |
Validate a change a user has made to a status. Return Value:
|
AllowTagUpdate(TagName, OldValue, NewValue) |
Validate a change a user has made to a Tagged Value. Return Value:
|
AllowVersionUpdate(OldValue, NewValue) |
Validate a change a user has made to a version. Return Value:
|
CanEditPhase() |
Enable or disable the control for editing a phase Return Value:
|
CanEditStatus() |
Enable or disable the control for editing a status. Return Value:
|
CanEditTag(TagName) |
Enable or disable the control for editing a Tagged Value. Return Value:
|
CanEditVersion() |
Enable or disable the control for editing a version. Return Value:
|
OnPreNewElement(ElementType, ElementStereotype) |
Allow or disallow the creation of the specified element. Return Value:
|
OnPreNewConnector(ConnectorType, ConnectorSubType, ConnectorStereotype) |
Allow or disallow the creation of the specified connector. Return Value:
|
PreAllowPhaseUpdate(OldValue, NewValue) |
Determine what information is required to validate this change. Return Value: Semi-colon separated list of additional data required in order to validate this change. Supported Data Type:
|
PreAllowStatusUpdate(OldValue, NewValue) |
Determine what information is required to validate this change. Return Value: Semi-colon separated list of additional data required in order to validate this change. Supported Data Type: Tests - fill the Tests array in the WorkflowContext object |
PreAllowTagUpdate(TagName, OldValue, NewValue) |
Determine what information is required to validate this change. Return Value: Semi-colon separated list of additional data required in order to validate this change. Supported Data Type: Tests - fill the Tests array in the WorkflowContext object |
PreAllowVersionUpdate(OldValue, NewValue) |
Determine what information is required to validate this change. Return Value: Semi-colon separated list of additional data required in order to validate this change. Supported Data Type: Tests - fill the Tests array in the WorkflowContext object |