Bug 327437 - Modisco Model Browser GUI displays inappropriate order of text in javaxmi
Summary: Modisco Model Browser GUI displays inappropriate order of text in javaxmi
Status: CLOSED INVALID
Alias: None
Product: MoDisco
Classification: Modeling
Component: Infrastructure (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 0.9.0 M3   Edit
Assignee: Nicolas Bros CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui
Depends on:
Blocks:
 
Reported: 2010-10-11 08:27 EDT by yanzhang CLA
Modified: 2011-04-28 10:47 EDT (History)
4 users (show)

See Also:
nicolas.bros: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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