Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Model Validation Broadcasts
Perform Model Validation from an Add-In
Using Enterprise Architect broadcasts, it is possible to define a set of rules that are evaluated when the user instructs Enterprise Architect to perform model validation. An Add-In that performs model validation would involve the following broadcast events:
Command |
Detail |
Link |
---|---|---|
EA_OnInitializeUserRules |
EA_OnInitializeUserRules is intercepted in order to define rule categories and rules.
|
|
EA_OnStartValidation |
EA_OnStartValidation can be intercepted to perform any required processing prior to validation.
|
|
Validate Request |
The following functions intercept each request to validate an individual element, Package, diagram, connector, attribute and method.
|
|
EA_OnRunElementRule
|
||
EA_OnRunPackageRule
|
||
EA_OnRunDiagramRule
|
||
EA_OnRunConnectorRule
|
||
EA_OnRunAttributeRule
|
||
EA_OnRunMethodRule
|
||
EA_OnEndValidation |
EA_OnEndValidation can be intercepted to perform any required clean-up after validation has completed.
|
Learn more