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

EA_OnOutputItemClicked

Topics:

Topic

Detail

See Also

Details

EA_OnOutputItemClicked events inform Add-Ins that the user has clicked on a list entry in the system tab or one of the user defined output tabs.

Usually an Add-In responds to this event in order to capture activity on an output tab they had previously created through a call to Repository.AddTab().

Note that every loaded Add-In receives this event for every click on an output tab in Enterprise Architect - irrespective of whether the Add-In created that tab. Add-Ins should therefore check the TabName parameter supplied by this event to ensure that they are not responding to other Add-Ins' events.

Also look at EA_OnOutputItemDoubleClicked.

EA_OnOutputItemDoubleClicked

Syntax

EA_OnOutputItemClicked(Repository As EA.Repository, TabName As String, LineText As String, ID As Long)

The EA_OnOutputItemClicked function syntax has the following elements:

Parameter

Type

Direction

Description

ID

Long

IN

The ID value specified in the original call to Repository.WriteOutput().

LineText

String

IN

The text that had been supplied as the String parameter in the original call to Repository.WriteOutput().

Repository

EA.Repository

IN

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

TabName

String

IN

The name of the tab that the click occurred in. Usually this would have been created through Repository.AddTab().

Return Value

None.