预订演示

请注意 : 本帮助页面不适用于最新版本的Enterprise Architect. 最新的帮助文档在这里.

前页 后页

Model Validation Events

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

Validate Parameter

EA_OnRunParameterRule EA_OnRunParameterRule

Learn more