Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: harrym 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.
-
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 :-/
-
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?
-
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?
-
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?