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:
- EA_OnInitializeUserRules is intercepted in order to define rule categories and rules.
- EA_OnStartValidation can be intercepted to perform any required processing prior to validation.
- 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 can be intercepted to perform any required clean-up after validation has completed.
Also consider the Model Validation Example.
The material ("material" includes all pages, documents and on-line graphics) on this web site is protected by copyright law. (C) 1998-2010 Sparx Systems Pty Ltd.