EA_OnContextItemDoubleClicked notifies Add-Ins that the user has double-clicked the item currently in context.
Syntax
Function EA_OnContextItemDoubleClicked(Repository As EA.Repository, GUID As String, ot as EA.ObjectType)
The EA_OnContextItemDoubleClicked function syntax contains the following elements
Parameter |
Type |
Direction |
Description |
||||||||||||||
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. |
||||||||||||||
GUID |
String |
IN |
Contains the GUID of the new context item. This value corresponds to the following properties, depending on the value of the ot parameter:
|
||||||||||||||
ot |
EA.ObjectType |
IN |
Specifies the type of the new context item
|
Return Value
Return True to notify Enterprise Architect that the double-click event has been handled by an Add-In. Return False to enable Enterprise Architect to continue processing the event.
Details
This event occurs when a user has double-clicked (or pressed [Enter]) on the item in context either in a diagram or on the Project Browser window tree. Add-Ins to handle events can subscribe to this broadcast function.
See Also