Author Topic: How does MDG AddIn MDG_Connect actually work?  (Read 3091 times)

g.makulik

  • EA User
  • **
  • Posts: 355
  • Karma: +0/-0
    • View Profile
How does MDG AddIn MDG_Connect actually work?
« 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).

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
Using EA9.3, UML2.3, C++, linux, my brain, http://makulik.github.com/sttcl/

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: How does MDG AddIn MDG_Connect actually work?
« Reply #1 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.

g.makulik

  • EA User
  • **
  • Posts: 355
  • Karma: +0/-0
    • View Profile
Re: How does MDG AddIn MDG_Connect actually work?
« Reply #2 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
Using EA9.3, UML2.3, C++, linux, my brain, http://makulik.github.com/sttcl/