Book a Demo

Author Topic: Custom toolbox imported without elements  (Read 5398 times)

Tehila1

  • EA User
  • **
  • Posts: 256
  • Karma: +0/-0
    • View Profile
Custom toolbox imported without elements
« on: March 30, 2015, 11:53:22 pm »
I created a profile in order to create a custom toolbox.

I export the profile as XML file, and import it to a new project:
The new toolbox is added as expected, but without any elements in it.

Resources panel: the profile has no hierarchy.
Profile diagram contains 1 <metaclass> ToolBoxPage with an extending stereotype.

What is missing?

Reference with images:http:// http://stackoverflow.com/questions/29346044/custom-toolbox-imported-without-elements
« Last Edit: March 30, 2015, 11:54:30 pm by avoda234 »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Custom toolbox imported without elements
« Reply #1 on: March 31, 2015, 03:38:38 am »
What's missing? A good portion of luck. EA is not helpful when a MDG has a wrong format. Start over at square 1.  :(

q.

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Custom toolbox imported without elements
« Reply #2 on: March 31, 2015, 09:38:54 am »
I recommend watching the "Profile Helpers" webinar video on the following page:
http://www.sparxsystems.com/resources/demos/webinar/webinar-20130130-extending-ea.html

This should provide a basic walkthrough of the process to create a stereotype profile, toolbox profile and diagram profile, and then combine them all into an MDG Technology.

As mentioned by Uffe on Stack Overflow, your elements should be defined as Attributes on the toolboxpage element.  Drawing Extends connectors from your stereotype elements to the toolboxpage will not work.  Using the profile helpers as shown in the above demo should help you with this process.
« Last Edit: March 31, 2015, 09:42:29 am by AaronB »

Tehila1

  • EA User
  • **
  • Posts: 256
  • Karma: +0/-0
    • View Profile
Re: Custom toolbox imported without elements
« Reply #3 on: March 31, 2015, 10:44:42 pm »
Thanks a lot for the link of webinar: problem resolved using this guide!

One more thing: The webinar use a model from MDG pattern, I could not find such a pattern in EA 12. Where is it hidden?

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Custom toolbox imported without elements
« Reply #4 on: April 01, 2015, 10:21:04 am »
Open: Extensions | MDG Technologies.  Make sure "MDG Technology Builder" is enabled.
Right-click a Package in the Project Browser, select Add Model using Wizard.
On the left, Select "Framework".  On the right under MDG Technology Builder, select Basic Template.