预订演示

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

前页 后页

EA_CanEditTag

This event is sent to Workflow Add-Ins when a Tagged Value is being displayed that allows the property to block all edits.

Syntax

Function EA_CanEditTag (Repository As EA.Repository, Info As EA.EventProperties) As Boolean

Parameter

Type

See also

Repository

EA.Repository
Direction: IN
Description: An EA.Repository object representing the currently open Enterprise Architect model. Poll its members to retrieve model data and user interface status information.
Repository Class

Info

EA.EventProperties
Direction: IN
Description: Contains these EventProperty objects describing the Tagged Value:

  • Type: A string value corresponding to Element.Type

  • Stereotype: A string value corresponding to Element.Stereotype

  • TagName: The name of the tag to enable or disable

EventProperties Class

Return Value


  • Return False to prevent all edits to the described Tagged Value

  • Return True to allow changes

Learn more