Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

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