Author Topic: Sorting Stereotype Groups in EA 6 Beta  (Read 3241 times)

harrym

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Sorting Stereotype Groups in EA 6 Beta
« on: November 09, 2005, 10:41:33 pm »
I am really like the grouping of stereotypes in EA 6.  However, I am struggling to find a way to adjust the sort order of the groups.   I have a class with 15 Attributes.  One attribute has a stereotype <<CON>> and the other 14 have a stereotype <<SUP>>.   In my scenario, it is the attribute with stereotype <<CON>> that I deem the most important and would like this stereotype group to appear at top of the attribute compartment in a class diagram.  In the class attributes properties dialog box I have moved this attribute so that it is the first attribute.  However when I drag the class into a class diagram, the <<SUP>> stereotype group appears first.  Does anyone know how to sort these stereotype groups?   Thanks in advance for your replies.

thomaskilian

  • Guest
Re: Sorting Stereotype Groups in EA 6 Beta
« Reply #1 on: November 09, 2005, 11:38:21 pm »
You can suppress sorting somewhere in the option. You can order like you've been used to in 5.0. However, your request is worth to appear under Suggestions. There should be a way to order the stereotypes - just that I have no clue on how to achiev that best :-/

Jeff Odell

  • EA User
  • **
  • Posts: 99
  • Karma: +0/-0
    • View Profile
Re: Sorting Stereotype Groups in EA 6 Beta
« Reply #2 on: November 11, 2005, 06:21:29 am »
I am not able to find a way to suppress the sorting of the attributes on a diagram.  When I converted to 6.0, my attributes were all sorted alphabetically in the Project View and in the diagrams, even though in 5.0 they were not.  Worse, in the Project View, the attributes and operations are sorted together alphabetically - in other words they are mixed in together.

Now, with or without the stereotype groups, 6.0 is sorting attributes alphabetically.  This is not ideal, especially for data models, where I typically want the PK's first, and group fields in meaningfull ways.

I had hoped turning on "Allow Free Sorting" in the Options dialog under "General" would allow me to reorder the attributes.  It doesn't seem to.

Anyone figured out how to keep the Project View and Diagrams from doing this?  

Jeff Odell

  • EA User
  • **
  • Posts: 99
  • Karma: +0/-0
    • View Profile
Re: Sorting Stereotype Groups in EA 6 Beta
« Reply #3 on: November 11, 2005, 06:50:37 am »
Ah - after reading though some other posts, I found, in the Local Options dialog, in the Objects section, the "Sort Features Alphabetically" switch.  That  "almost" straightened things out - the diagrams are in my desired sort order, but in the Project View for a table the sort is as follows:

<PK> operation

columns in my desired order

<FK> operations

That's weird, huh?  Or intended?

karakas

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Sorting Stereotype Groups in EA 6 Beta
« Reply #4 on: December 02, 2005, 09:27:43 am »
Many thanks to odelljl for pointing us to the solution of this very nasty "feature" (I think "bug" is more appropriate here...).

Order of class attributes (or table fields or whatever...) IS important - who told you, dear developers of EA, that alphabetical order is more important than the order that *I* cared to enter?
Regards

Chris Karakas
http://www.karakas-online.de