Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327437

Summary: Modisco Model Browser GUI displays inappropriate order of text in javaxmi
Product: [Modeling] MoDisco Reporter: yanzhang <yan.zhang>
Component: InfrastructureAssignee: Nicolas Bros <nicolas.bros>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: hugo.bruneliere, modisco.web-inbox, nicolas.bros, yan.zhang
Version: 0.9.0Keywords: ui
Target Milestone: 0.9.0 M3Flags: nicolas.bros: indigo+
Hardware: PC   
OS: Linux   
Whiteboard:

Description yanzhang CLA 2010-10-11 08:27:54 EDT
Modisco Model Browser GUI misleadingly changes the orders of attributes in * cardinality. They are presented sorted by metaclass name instead of the real order in the XML file. Although the order could be significant for some metamodels, in our case this was not appropriate. What we should see is the data in the order of the file.

We met this bug when the order of the statements in block in the javaxmi in Modisco Model Browser were not ordered as we expected. It took us a long time to open the XML file with a text editor which shown the order we expected.

Lip6/PhD student Yan ZHANG
 Labo. d'Informatique de Paris 6 (LIP6),
 Equipe MoVe: Modelling and Verification
 Université Pierre et Marie Curie
 4 Place Jussieu
 25/26 Bureau 220
Comment 1 Nicolas Bros CLA 2010-10-11 09:27:40 EDT
Actually, the ordering depends on the "Sort Instances" option, which appears in the toolbar of the Instances panel.

Also, you might want to enable the "Show Ordering" option (also in the toolbar of the Instances panel) : it displays the index of each element in its parent's list.
Comment 2 Hugo Bruneliere CLA 2010-10-21 04:58:11 EDT
This was not a "bug".
Comment 3 yanzhang CLA 2010-10-21 05:06:32 EDT
(In reply to comment #2)
> This was not a "bug".

I agree with you