Reputation: 2661
I would like to create a generic structure of packages, that will be applied at the new-package wizard, as an offered template.
How can I add the new xmi file to the wizard? I use EA 12.
Upvotes: 1
Views: 1149
Reputation: 36313
Shamelessly stealing Phil's answer from Sparx' forum (since he is not registered with SO):
Simply put you cannot use to Wizard to add a model structure to your MDG
Instead you have to edit the MTS file
Check out the PDF user guide for EA v 11 beginning at page 1577
And to complete with KP's reply:
Very briefly, what you need to do is add your XMI file to the "ModelPatterns" folder in EA's install path, and then add a "ModelTemplates" block to your MDG Technology XML file to tell EA where to find the XMI (or better, add the "ModelTemplates" block to your MTS file so it gets added to your technology when you build it). Open up some of the MDG Technologies in a text editor to see how we've done it.
Upvotes: 1