Prev Next

EA_OnMethodTagEdit

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

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_OnMethodTagEdit (Repository As EA.Repository, MethodID As Long, String TagName, String TagValue, String TagNotes)

The EA_OnMethodTagEdit function syntax contains these elements:

Parameter

Type

See also

MethodID

Long

Direction: IN

Description: The ID of the method 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