EA_OnNotifyContextItemModified

Return to Introduction  Previous page  Next page

EA_OnNotifyContextItemModified notifies Add-Ins that the current context item has been modified.

 

Syntax

 

Sub EA_OnNotifyContextItemModified(Repository As EA.Repository, GUID As String, ot as EA.ObjectType)

 

The EA_OnNotifyContextItemModified 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 (ObjectType)

GUID value

otElement

Element.ElementGUID

otPackage

Package.PackageGUID

otDiagram

Diagram.DiagramGUID

otAttribute

Attribute.AttributeGUID

otMethod

Method.MethodGUID

otConnector

Connector.ConnectorGUID

 

 

ot

EA.ObjectType

IN

Specifies the type of the new context item

 

 

Return Value

 

None.

 

Details

 

This event occurs when a user has modified the context item. Add-Ins that require knowledge of when an item has been modified can subscribe to this broadcast function

See Also