预订演示

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

前页 后页

EA_OnNotifyContextItemModified

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.

Syntax

Sub EA_OnNotifyContextItemModified (Repository As EA.Repository, GUID As String, ot as EA.ObjectType)
The EA_OnNotifyContextItemModified function syntax contains 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

GUID

String
Direction: IN
Description: Contains the GUID of the new context item. The value corresponds to these 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
Direction: IN
Description: Specifies the type of the new context item.
ObjectType

Return Value

None.

Learn more