Book a Demo

Author Topic: Attribute order on MDG profile stereotypes  (Read 4645 times)

kepNCI

  • EA User
  • **
  • Posts: 127
  • Karma: +1/-0
    • View Profile
Attribute order on MDG profile stereotypes
« on: March 06, 2012, 07:05:50 am »
In my MDG profile I have defined a stereotype to which I have assigned attributes. The attributes are arranged in a specific order. The defined stereotype is then used in a toolbox for the MDG.

However in a diagram using the MGD technology, when I drag the element from the toolbox, the order of the MDG's tagged values are always alphabetical by name. Likewise when I create an RTF template to display the tagged values, they are displayed in alphabetical order.

Is there a way to maintain the order of the tagged values as defined in the profile stereotype? If not, then what is the purpose of having the order in the stereotype attribute definition?

Karl

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Attribute order on MDG profile stereotypes
« Reply #1 on: March 06, 2012, 08:29:26 pm »
I just use toolboxes where the sort order is kept.

q.

kepNCI

  • EA User
  • **
  • Posts: 127
  • Karma: +1/-0
    • View Profile
Re: Attribute order on MDG profile stereotypes
« Reply #2 on: March 07, 2012, 01:13:54 am »
Sorry, qwerty, not understanding your reply.  

I also am using a toolbox, but when I drag the element from the toolbox onto my diagram, the element's tagged values are in alphabetical order rather than the order which I created the underlying stereotype.

Just to be clear, I am not talking about the order of the elements in the toolbox. Are you saying there is a way in my toolbox profile that will force an element to keep the order of its tagged values per its associated stereotype? If so, how?

Karl

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Attribute order on MDG profile stereotypes
« Reply #3 on: March 07, 2012, 07:33:54 am »
Sorry, misunderstanding. Sorting of tags is something independent of any MDG. The only option is the sort alphabetically vs. structured button pair in the tagged values window.

q.

Luis J. Lobo

  • EA User
  • **
  • Posts: 252
  • Karma: +0/-0
  • IT Consultant
    • View Profile
Re: Attribute order on MDG profile stereotypes
« Reply #4 on: March 23, 2012, 10:07:42 am »
Rename the attributes (future TaggedValues) as 1.Name, 2.Name... if it is possible for you.

The names will be sorted by its name...