EA_OnNotifyContextItemModified

Topics

Topic

Detail

See also

Details

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

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.

 

EA_OnContextItemChanged

EA_OnContextItemDoubleClicked

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

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.

 

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.

 

Return Value:

None.