Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: g.makulik on January 16, 2013, 06:35:17 am

Title: How does MDG AddIn MDG_Connect actually work?
Post by: g.makulik on January 16, 2013, 06:35:17 am
I don't get from the EA AddIn API documentation how to connect packages to a particular MDG AddIn by implementing the MDG_Connect() event.

In particular I don't get how this event is triggered by the user.

I'm returning the "MDG" string from the EA_Connect() implementation and all MDG event methods are implemented (I'm using Geert's EA AddIn Framework (https://github.com/GeertBellekens/Enterprise-Architect-Add-in-Framework)).

I don't see any package context menu option to connect a package to the MDG Addin. It's mentioned in the reference that
Quote
MDG Add-Ins receive MDG Events and extra menu options.
What do these 'extra menu options' look like, and where they're received?

Any help appreciated,
Günther
Title: Re: How does MDG AddIn MDG_Connect actually work?
Post by: Eve on January 16, 2013, 08:26:35 am
When a package is selected there is an item 'Connect External Project'. in the extensions menu. That should contain an item for all MDG add-ins.
Title: Re: How does MDG AddIn MDG_Connect actually work?
Post by: g.makulik on January 18, 2013, 06:58:44 am
THX Simon,

Now I see it: Extensions->Connect External Project

There was a problem with my actual AddIn's COM registration (a different version of my DLL was loaded).

There should be a note for the corresponding menu item in the docs though.

Best regards,
Günther