This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 152813

Summary: order of attributes under model->class->attributes is different from diagram order
Product: uml Reporter: senya72 <senya72>
Component: Diagram ClassAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description senya72 2008-11-09 18:56:36 UTC
this is minor but still. if i am looking at class on a diagram order of attributes is same one as entered. 
if i am browising class under models - the order of attributes is sorted alphanumerically. is there a way to make sort
the same. showing this to non-technical user causes lot of confusion esp when trying to reconcile things being entered
Comment 1 Sergey Petrov 2008-11-09 19:59:41 UTC
This issue can't be fixed.
In my opinion, It's most appropriate to sort alphanumerically in project tree (i.e. in model), because model element may
be placed on different diagrams and on different diagrams may have differently reordered or/and shown/hidden attributes
(in 6.1, 6.5 do not support reordering/hide/show for specific attribute) and we can't change model element to fit all
such presentations, so element view in project tree just have some view rule which may fit most cases. it's just one of
possible rules, of cause it can be in order of attributes creation, but it will not guarantee model view to diagram view
1-1 correspondence also.
Comment 2 Sergey Petrov 2008-11-09 20:04:20 UTC
Ok, I reviewed some part of my opinions, since we keep order if place to another diagram it may have scene to keep the
same order in project tree. But it still either minor issue or enhancement.