Prev Next

EA_OnElementTagEdit

EA_OnElementTagEdit is called when the user clicks the button for a Tagged Value of type AddinBroadcast on an element.

The Add-In displays fields to show and change the value and notes; this function provides the initial values for the Tagged Value notes and value, and takes on any changes on exit of the function.

Syntax

Sub EA_OnElementTagEdit (Repository As EA.Repository, ObjectID As Long, String TagName, String TagValue, String TagNotes)

The EA_OnElementTagEdit function syntax contains these elements:

Parameter

Type

See also

ObjectID

Long

Direction: IN

Description: The ID of the object (element) that this Tagged Value is on.

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

TagName

String

Direction: IN

Description: The name of the Tagged Value to edit.

TagNotes

String

Direction: INOUT

Description: The current value of the Tagged Value notes; if the value is updated, the new value is stored in the repository on exit of the function.

TagValue

String

Direction: INOUT

Description: The current value of the tag; if the value is updated, the new value is stored in the repository on exit of the function.

Learn more