Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
EA_Connect
Topics:
Topic |
Detail |
See Also |
---|---|---|
Details |
EA_Connect events enable Add-Ins to identify their type and to respond to Enterprise Architect start up. This event occurs when Enterprise Architect first loads your Add-In. Enterprise Architect itself is loading at this time so that while a Repository object is supplied, there is limited information that you can extract from it. The chief uses for EA_Connect are in initializing global Add-In data and for identifying the Add-In as an MDG Add-In. Also look at EA_Disconnect. |
Syntax
Function EA_Connect(Repository As EA.Repository) As String
The EA_Connect function syntax has the following elements:
Parameter |
Type |
Direction |
Description |
---|---|---|---|
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
String identifying a specialized type of Add-In:
Type |
Details |
---|---|
"MDG" |
MDG Add-Ins receive MDG Events and extra menu options. |
"" |
None-specialized Add-In. |