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,
|
Validate a change a user has made to a phase. Return Value:
|
AllowStatusUpdate(OldValue,
|
Validate a change a user has made to a status. Return Value:
|
AllowTagUpdate(TagName,
|
Validate a change a user has made to a Tagged Value. Return Value:
|
AllowVersionUpdate(OldValue,
|
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,
|
Allow or disallow the creation of the specified element. Return Value:
|
OnPreNewConnector(ConnectorType,
|
Allow or disallow the creation of the specified connector. Return Value:
|
PreAllowPhaseUpdate(OldValue,
|
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,
|
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,
|
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,
|
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 |
Learn more