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 these broadcast events.

Command

Detail

See also

EA_OnInitializeUserRules

EA_OnInitializeUserRules is intercepted in order to define rule categories and rules.

EA_OnInitializeUserRules

EA_OnStartValidation

EA_OnStartValidation can be intercepted to perform any required processing prior to validation.

EA_OnStartValidation

EA_OnEndValidation

EA_OnEndValidation can be intercepted to perform any required clean-up after validation has completed.

EA_OnEndValidation

Validate Request

These functions intercept each request to validate an individual element, Package, diagram, connector, attribute and method.

Validate Element

EA_OnRunElementRule

EA_OnRunElementRule

Validate Package

EA_OnRunPackageRule

EA_OnRunPackageRule

Validate Diagram

EA_OnRunDiagramRule

EA_OnRunDiagramRule

Validate Connector

EA_OnRunConnectorRule

EA_OnRunConnectorRule

Validate Attribute

EA_OnRunAttributeRule

EA_OnRunAttributeRule

Validate Method

EA_OnRunMethodRule

EA_OnRunMethodRule

Learn more