Book a Demo

Author Topic: UML Profile: Order Stereotypes seems to be ignored  (Read 4211 times)

McBie

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
UML Profile: Order Stereotypes seems to be ignored
« on: September 21, 2008, 03:04:25 am »
Hello,

I wanted to put some order in our profile. So I used the "Order Stereotypes ..." button in the "Save UML Profile " dialogue.

After putting everything in the wanted order  I saved the profile. The profile package now has a tagged value "_profile_data" which seems to contain the order:

<ProfileData><Order><OrderItem node="AWKEntity::class" order="0"/>
<OrderItem node="EntityKey::attribute" order="1"/>
<OrderItem node="AWKDataType::class" order="2"/>
...


So far looking good. But when I import the profile there is nothing ordered.

As I could not find any of the order information in the saved profile  I wonder if the tagged values "_profile_data" should be written but is  not.

Anybody used this feature successfully?

Regards mArco
 


KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: UML Profile: Order Stereotypes seems to be ign
« Reply #1 on: September 22, 2008, 08:57:29 am »
Quote
I wanted to put some order in our profile. So I used the "Order Stereotypes ..." button in the "Save UML Profile " dialogue.
Latest version of EA doesn't have this button. If you want control over the order in which elements appear in your profile toolbox, create an MDG Technology containing a Toolbox Profile - the user guide has instructions.
The Sparx Team
[email protected]

McBie

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: UML Profile: Order Stereotypes seems to be ign
« Reply #2 on: September 22, 2008, 10:52:03 am »
Quote
Latest version of EA doesn't have this button. If you want control over the order in which elements appear in your profile toolbox, create an MDG Technology containing a Toolbox Profile - the user guide has instructions.
Well .. I'm using build 827 which has this button, so you are telling me its not working ?

Allright I tried what you said the "MDG Technology":
 I included two UML Profiles and one Toolbox Profile into it. The UML Profiles coming out okay, but somehow the Toolbox Profile does not.
I made one diagramm containing one <<metaclass>>ToolboxPage and two stereotypes extending the ToolboxPage.
According to my understanding this should give me two Toolbox Pages - one for each stereotype.
But I get only on Toolbox Page with the name of the diagram containing two "stereo type elements".

Any idea what I might be doing wrong?

Thanks!
« Last Edit: September 22, 2008, 10:53:44 am by marcoAtsparx »

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: UML Profile: Order Stereotypes seems to be ign
« Reply #3 on: September 22, 2008, 03:02:44 pm »
Quote
Quote
Latest version of EA doesn't have this button. If you want control over the order in which elements appear in your profile toolbox, create an MDG Technology containing a Toolbox Profile - the user guide has instructions.
Well .. I'm using build 827 which has this button, so you are telling me its not working ?

Allright I tried what you said the "MDG Technology":
 I included two UML Profiles and one Toolbox Profile into it. The UML Profiles coming out okay, but somehow the Toolbox Profile does not.
I made one diagramm containing one <<metaclass>>ToolboxPage and two stereotypes extending the ToolboxPage.
According to my understanding this should give me two Toolbox Pages - one for each stereotype.
But I get only on Toolbox Page with the name of the diagram containing two "stereo type elements".

Any idea what I might be doing wrong?

Thanks!
The most likely cause is that you have created a toolbox profile and then included it in your technology as a plain old stereotype profile. You need to include it by adding a <UIToolboxes> line to your .MTS file as described on this page: Working with MTS Files.
The Sparx Team
[email protected]