Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
EA_OnContextItemChanged
Topics
Topic |
Detail |
See also |
---|---|---|
Details |
EA_OnContextItemChanged notifies Add-Ins that a different item is now in context. This event occurs after a user has selected an item anywhere in the Enterprise Architect GUI. Add-Ins that require knowledge of the current item in context can subscribe to this broadcast function. If ot = otRepository, then this function behaves the same as EA_FileOpen.
|
Syntax:
Sub EA_OnContextItemChanged(Repository As EA.Repository, GUID As String, ot as EA.ObjectType)
The EA_OnContextItemChanged function syntax contains the following elements:
Parameter |
Type |
Direction |
Description |
||
---|---|---|---|---|---|
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.
|
||
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.
|
Return Value:
None.