预订演示

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

前页 后页

EA_OnOutputItemClicked

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.

Syntax

EA_OnOutputItemClicked (Repository As EA.Repository, TabName As String, LineText As String, ID As Long)
The EA_OnOutputItemClicked function syntax has these parameters.

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

TabName

String
Direction: IN
Description: The name of the tab that the click occurred in. Usually this would have been created through 'Repository.AddTab()'.

LineText

String
Direction: IN
Description: The text that had been supplied as the String parameter in the original call to 'Repository.WriteOutput()'.

ID

Long
Direction: IN
Description: The ID value specified in the original call to Repository.WriteOutput().

Return Value

None.

Learn more