Book a Demo

Author Topic: Creation of toolbox profile with analysis classes  (Read 5322 times)

Yves C

  • EA User
  • **
  • Posts: 33
  • Karma: +1/-1
  • I love YaBB 1G - SP1!
    • View Profile
Creation of toolbox profile with analysis classes
« on: November 19, 2008, 02:38:54 am »
I've created a MDG Technology with new profile toolboxes. Everything works fine except one thing :

I would like to add EA Analysis Classes stereotypes in my toolboxes but I don't know how to reference them. Normally when you add a stereotype from a given profile to a toolbox you define it as follows :

ProfileName::StereotypeName(UML::extended metaclass)

But I can't find the real name to define, for instance, the Boundary class.
I've found that Boundary object (and not class) is defined as UML::RobustBoundary but I'm looking for the class stereotype and not the object stereotype.
Yves

Paul W

  • EA User
  • **
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Re: Creation of toolbox profile with analysis clas
« Reply #1 on: November 19, 2008, 02:43:58 am »
Search the help for "Elements Used in Toolboxes". This will give you a list of what can be extended or redefined.

Yves C

  • EA User
  • **
  • Posts: 33
  • Karma: +1/-1
  • I love YaBB 1G - SP1!
    • View Profile
Re: Creation of toolbox profile with analysis clas
« Reply #2 on: November 19, 2008, 02:57:54 am »
My problem is that the stereotypes I'm looking for are not in this list. They are defined in EA (you can give a class the stereotype boundary) but not used in any EA toolbox.
Yves

Paul W

  • EA User
  • **
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Re: Creation of toolbox profile with analysis clas
« Reply #3 on: November 19, 2008, 04:20:38 am »
Have you tried the metaclass "Class" and the stereotype "Boundary" then in the toolbox attributes use the UML::Class specifier.

The toolbox will show Boundary as the element with a class icon (but this can be changed)
When you add it to the diagram it will be a Class element with a Boundary stereotype and the Boundary sterotype icon will be displayed (diagram settings allowing)

Is this the effect you're looking for?

If you want to call it something different to Boundary then I think you're out of luck.

Been struggling with this one myself without having to go down the shape script path.
 

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Creation of toolbox profile with analysis clas
« Reply #4 on: November 19, 2008, 08:59:51 am »
Quote
My problem is that the stereotypes I'm looking for are not in this list. They are defined in EA (you can give a class the stereotype boundary) but not used in any EA toolbox.
Try adding "boundary", "control" and "entity" as stereotypes extending "Class" to a profile of your own, and then you can use them in your own toolbox: "MyProfile::boundary(UML::Class)"
The Sparx Team
[email protected]

Yves C

  • EA User
  • **
  • Posts: 33
  • Karma: +1/-1
  • I love YaBB 1G - SP1!
    • View Profile
Re: Creation of toolbox profile with analysis clas
« Reply #5 on: November 19, 2008, 08:53:07 pm »
Yes it works fine. Thanks.
Yves