Enterprise Architect Add-in Framework Documentation
EA_OnPostNewConnector notifies Add-Ins that a new connector has been created on a diagram. It enables Add-Ins to modify the connector upon creation.
This event occurs after a user has dragged a new connector from the Toolbox or Resources window onto a diagram. The notification is provided immediately after the connector is added to the model. Set Repository.SuppressEADialogs to true to suppress Enterprise Architect from showing its default dialogs.
Also look at EA_OnPreNewConnector.
Namespace: EAAddinFrameworkAssembly: EAAddinFramework (in EAAddinFramework.dll) Version: 1.0.4064.9398
Syntax
C# |
---|
public virtual bool EA_OnPostNewConnector(
Repository Repository,
EventProperties Info
) |
Visual Basic |
---|
Public Overridable Function EA_OnPostNewConnector ( _
Repository As Repository, _
Info As EventProperties _
) As Boolean |
Visual C++ |
---|
public:
virtual bool EA_OnPostNewConnector(
Repository^ Repository,
EventProperties^ Info
) |
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.
- Info
- Type: EventProperties
Contains the following EventProperty object for the new connector:
- ConnectorID: A long value corresponding to Connector.ConnectorID.
Return Value
Return True if the connector has been updated during this notification. Return False otherwise.
See Also