Book a Demo

Author Topic: Sort order for tagged values  (Read 3097 times)

Jayson

  • EA User
  • **
  • Posts: 363
  • Karma: +1/-0
    • View Profile
Sort order for tagged values
« on: August 01, 2014, 04:28:01 am »
So I have a whole bunch of stereotypes containing tagged values.

For the purposes of usability, when creating these stereotypes, I went to great pains to order the tagged values so that:

1. The tagged values I expect to be used most often are at the top, and
2. Those that are least used are at the bottom.

This is all fine and good until I build my MDG and discover that Sparx has paid absolutely no attention to the order in which I specified my tagged values.

I have looked for some kind of setting within the stereotypes that will allow me to suppress this behaviour, but cannot find it.

Any clues?

I am using version 9.3.

Cheers

Jays  :)

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Sort order for tagged values
« Reply #1 on: August 01, 2014, 06:59:51 am »
You may look to the following:
- *.xml file of MDG
  (you may reorder the tagged values in the *.xml file)
- A script\addin which deletes and creates the tagged values in the desired sequence.

If it works? I don't know. May be it's worth a try.

You may write a feature request.

Helmut

Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Sort order for tagged values
« Reply #2 on: August 01, 2014, 08:24:20 am »
I just tried to re-sort the tags in the XMI but it had no effet. EA sorts them alphabetically. I faintly remember that this had been discussed in the past. Request a feature but don't hold your breath.

q.

Jayson

  • EA User
  • **
  • Posts: 363
  • Karma: +1/-0
    • View Profile
Re: Sort order for tagged values
« Reply #3 on: August 01, 2014, 08:30:37 am »
Cheers guys. Much appreciated.

At least I know now not to continue looking.