Enterprise Architect Add-in Framework Documentation
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.
Also look at EA_OnContextItemChanged and EA_OnContextItemDoubleClicked.
Namespace: EAAddinFrameworkAssembly: EAAddinFramework (in EAAddinFramework.dll) Version: 1.0.4064.9398
Syntax
C# |
---|
public virtual void EA_OnNotifyContextItemModified(
Repository Repository,
string GUID,
ObjectType ot
) |
Visual Basic |
---|
Public Overridable Sub EA_OnNotifyContextItemModified ( _
Repository As Repository, _
GUID As String, _
ot As ObjectType _
) |
Visual C++ |
---|
public:
virtual void EA_OnNotifyContextItemModified(
Repository^ Repository,
String^ GUID,
ObjectType ot
) |
Parameters
- Repository
- Type: Repository
An EA.Repository object representing the currently open Enterprise Architect model.
Poll its members to retrieve model data and user interface status information.
- GUID
- Type: System..::..String
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
- Type: ObjectType
Specifies the type of the new context item.
See Also