Book a Demo

Author Topic: Problem on Toolbox profiles  (Read 4187 times)

cty

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Problem on Toolbox profiles
« on: July 22, 2008, 07:34:42 pm »
Hello,
while creating my own profile, I would like to create custom toolboxes (containing both "standard" objects - like Class or Actor - and "profile-specific" ones). I'd also like to create my own diagram types, that would activate automatically one of these toolboxes...
I have thus followed the steps described in the SDK help section. Unfortunately I was not able to do anything correct :( ...

Exemple : I have created a very simple toolbox profile, with a class named ToolboxPage (with "metaclass" stereotype), and a stereotype named "UsageViewContext" that :
 - "extends" ToolboxPage"
 - contains an attribute named "UML::Class", with no type nore anything else specified

After creating my profile from this diagram, then integrate it into an MDG technology, all what I can see in the toolbox is a toolbox named "UsageViewToolbox" (the name of my profile) containing a stereotype element named UsageViewContext ...
.... where from my understanding I should find a Class element...

Has anybody already dealed with this kind of problem ? Is there something I misunderstood ???
My EA version N° is 7.1.829

Thanks in advance for your help

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Problem on Toolbox profiles
« Reply #1 on: July 22, 2008, 09:07:16 pm »
This worked fine for me. Just make absolutely sure that every item is a perfect match in terms of character case, punctuation, etc. I don't think you need to extend the UML elements themselves, but I honestly don't remember. It was some time ago that I worked through this (i.e. before 829, so it should work there).
No, you can't have it!

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: Problem on Toolbox profiles
« Reply #2 on: July 22, 2008, 09:46:05 pm »
How did you load the MDG technology? When you import it via the resources window, toolbox profiles won't work and strange things will happen. You need to copy the MDG xml file to the <program files>\Sparx Systems\EA\MDGTechnologies folder or import it from the Settings-MDG Technologies menu.

cty

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Problem on Toolbox profiles
« Reply #3 on: July 24, 2008, 02:37:43 am »
Quote
How did you load the MDG technology? When you import it via the resources window, toolbox profiles won't work and strange things will happen. You need to copy the MDG xml file to the <program files>\Sparx Systems\EA\MDGTechnologies folder or import it from the Settings-MDG Technologies menu.

This does not seem to work better...
Anyway thanks for this tooltip, I will keep it in mind.  :)

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: Problem on Toolbox profiles
« Reply #4 on: July 24, 2008, 03:18:27 am »
Quote
This does not seem to work better

That's what I suspected. Tagged values are not being synchronized. By the way, this makes profile stereotypes on metaclasses which cannot be dragged from the toolbox and are created implicitely (like roles) next to useless, cause they will never have their tagged values.

So far I have no idea when this is supposed to be fixed. Maybe tonight, when day breaks in Australia, someone from Sparx will enlighten us.