Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Create Add-Ins
Before you start you must have an application development tool that is capable of creating ActiveX COM objects supporting the IDispatch interface, such as:
• | Borland Delphi |
• | Microsoft Visual Basic |
• | Microsoft Visual Studio .Net |
You should consider how to define menu items. To help with this, you could review some examples of Automation Interfaces - examples of code used to create Add-Ins for Enterprise Architect - on the Sparx Systems web page.
How to
An Enterprise Architect Add-In can be created in four steps:
Step |
Action |
See also |
---|---|---|
1 |
Use a development tool to create an ActiveX COM DLL project. Visual Basic users, for example, choose File-Create New Project-ActiveX DLL.
|
|
2 |
Connect to the interface using the syntax appropriate to the language.
|
|
3 |
Create a COM Class and implement each of the general Add-In Events applicable to your Add-In. You only have to define methods for events to respond to.
|
|
4 |
Add a registry key that identifies your Add-In to Enterprise Architect, as described in the Deploy Add-Ins topic.
|
Learn more
• | Examples of Automation Interfaces (Online Resource) |