Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: adepreter on June 26, 2018, 05:45:00 pm

Title: Loading MDG from Add-In at any time (not OnInitializeTechnologies)
Post by: adepreter on June 26, 2018, 05:45:00 pm
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
Title: Re: Loading MDG from Add-In at any time (not OnInitializeTechnologies)
Post by: Nizam 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
Title: Re: Loading MDG from Add-In at any time (not OnInitializeTechnologies)
Post by: adepreter 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.
Title: Re: Loading MDG from Add-In at any time (not OnInitializeTechnologies)
Post by: Nizam on June 27, 2018, 12:16:19 am
I guess this is more like a feature request, AFAIK there isn't one.