Author Topic: Loading MDG from Add-In at any time (not OnInitializeTechnologies)  (Read 602 times)

adepreter

  • EA User
  • **
  • Posts: 129
  • Karma: +2/-2
    • View Profile
Loading my MDG on EA_OnInitializeTechnologies is not appropriate for my needs. It is too early.
I need to first read configuration data (including a metamodel) from a repository, then update my MDG dynamically and then finally load the MDG.

How can I load an MDG at any time?
Would it be possible to make this API public please? This API should already exist since it is used by Sparx in the UI.


Thanks

Alain

Nizam

  • Prolab Moderator
  • EA User
  • *
  • Posts: 308
  • Karma: +12/-2
  • Model Sharing - Simplified
    • View Profile
    • Professional Model Collaboration
Re: Loading MDG from Add-In at any time (not OnInitializeTechnologies)
« Reply #1 on: June 26, 2018, 06:53:00 pm »
You can add the MDG to a project resource (sql to add zipbin)
The below thread discusses a few options on dealing with MDG
http://www.sparxsystems.com/forums/smf/index.php/topic,39862.msg245358.html#msg245358

adepreter

  • EA User
  • **
  • Posts: 129
  • Karma: +2/-2
    • View Profile
Re: Loading MDG from Add-In at any time (not OnInitializeTechnologies)
« Reply #2 on: June 26, 2018, 11:21:38 pm »
Thank you Nizam. But in the present scenario
- the MDG is stored and must be stored in the add-in
- the metamodel is stored in the repository

So I really need an API to load the MDG after the repository is already open (not OnInitializeTechnologies)

Cheers,

A.

Nizam

  • Prolab Moderator
  • EA User
  • *
  • Posts: 308
  • Karma: +12/-2
  • Model Sharing - Simplified
    • View Profile
    • Professional Model Collaboration
Re: Loading MDG from Add-In at any time (not OnInitializeTechnologies)
« Reply #3 on: June 27, 2018, 12:16:19 am »
I guess this is more like a feature request, AFAIK there isn't one.