Book a Demo

Author Topic: MDG Tech & Toolbox profiles  (Read 5491 times)

spirax

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
MDG Tech & Toolbox profiles
« on: August 31, 2010, 11:55:26 am »
Hello,
I'm using EA 8 (build 862) Corporate Edition and trying (without much success) to get a toolbox distributed within an MDG Tech to work.

The MDG Tech is available (enabled). The toolbox is visible, associated to the correct (custom) diagram, and all the custom elements are on the toolbox. But, when I drag an element from the toolbox onto the diagram nothing happens. No element is added to the diagram or the project browser.

The way I set this up in the project browser is one package (stereotyped 'profile') with separate packages for the stereotypes (these packages are also stereotyped 'profile'), custom diagram and toolbox. I then save a profile from each diagram, and use the 'Generate MDG Tech file' file to link them all together.

The help file is quite ambiguous on this section  (Create Toolbox Profiles, Step 4, Note) states that to use an "attribute for an item from your own tech,  precede it with your profile name as the namespace".

I've tried using the profile name (from my stereotypes diagram) as it appears in the "Save UML Profile" dialog, the name of the diagram, the name of the enclosing package, and even the name of the XML file. But none of these have worked.

So can someone tell me exactly which "profile" is being referred to here?

Thanks

Edit:
I've just noticed that the help files say that when saving the diagrams as profiles, they must be saved as XMI UML(2.0). I've been saving them as EA UML (2.x). When saved as the former, they do not show up as profiles when using the 'Generate MDG Tech file' dialog box.
« Last Edit: August 31, 2010, 12:50:58 pm by spirax »

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: MDG Tech & Toolbox profiles
« Reply #1 on: August 31, 2010, 02:53:54 pm »
Quote
So can someone tell me exactly which "profile" is being referred to here?
Open your technology file in a text editor. Find "<UMLProfiles>", it should contain a <UMLProfile> block which should contain a <Documentation> block which should have a "name" attribute. That's the profile name you need to put in your toolbox profile attributes.

Quote
Edit:
I've just noticed that the help files say that when saving the diagrams as profiles, they must be saved as XMI UML(2.0). I've been saving them as EA UML (2.x). When saved as the former, they do not show up as profiles when using the 'Generate MDG Tech file' dialog box.
No, save as "EA UML(2.x)". The help has been corrected for the next version of EA, I believe.

If you're still having problems, send your technology file to Sparx support and someone will figure it out for you.
The Sparx Team
[email protected]

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: MDG Tech & Toolbox profiles
« Reply #2 on: August 31, 2010, 08:14:36 pm »
I had a similar problem, it turned out that I'd mistyped the stereotype name in the toolbox so perhaps just double check there is no typos.
Hang in there sounds like you've nearly cracked it. :)
Happy to help
:)

spirax

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: MDG Tech & Toolbox profiles
« Reply #3 on: September 01, 2010, 07:43:47 am »
Quote
If you're still having problems, send your technology file to Sparx support and someone will figure it out for you.

Thanks, message (with EA file attached) on its way.