Bug 509742

Summary: [Model Explorer][Usability] Diagrams owned by an element shall be located first for easier access
Product: [Modeling] Papyrus Reporter: Peter Cigehn <peter.cigehn>
Component: ViewsAssignee: Christian Damus <give.a.damus>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: charles, papyrus-bugs
Version: 2.0.2Keywords: readme
Target Milestone: 3.0.0   
Hardware: PC   
OS: Windows 7   
See Also: https://git.eclipse.org/r/97586
https://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=5e27407592bdef76137197ca5d5e72115e9ede8f
Whiteboard: blockingpapyrusrt
Bug Depends on:    
Bug Blocks: 511455    

Description Peter Cigehn CLA 2016-12-28 08:27:10 EST
Currently if an element owns one (or more) diagrams, then the diagram(s) are located after all owned model elements in the model explorer. This makes it very time consuming to locate the diagram(s) if the there also are lots of owned elements.

It would make more sense to always list all the owned diagrams first, and then list all owned model elements. In most cases, there are always more owned elements than there are owned diagrams anyway. This would make it much faster to find and locate the owned diagrams, and the usability would be improved when navigating the model browsing for owned diagrams.
Comment 1 Eclipse Genie CLA 2017-05-19 11:24:34 EDT
New Gerrit change created: https://git.eclipse.org/r/97586
Comment 3 Christian Damus CLA 2017-05-25 09:42:02 EDT
(In reply to comment #2)
> Gerrit change https://git.eclipse.org/r/97586 was merged to [master].

Note that this change is most evident for new workspaces, which initialize the ordering of facet customizations according to 'rank'.  For existing workspaces, this ordering can be re-initialized by deleting the

    org.eclipse.papyrus.infra.ui.emf.facet.order
     
list element from the

    org.eclipse.papyrus.infra.ui.emf.customizationManager
    
section element of the

    $WORKSPACE/.metadata/.plugins/org.eclipse.papyrus.infra.ui.emf/dialog_settings.xml

file in the workspace metadata area.  The whole customization manager section can be deleted from this file, but then that would also forget the enablement of customizations, if the user had tweaked that.
Comment 4 Peter Cigehn CLA 2017-05-29 04:27:54 EDT
Verified to be fixed in the latest Papyrus Oxygen build (#3777). The diagrams are now ordered as the first child nodes in the model explorer making it easier to locate the diagrams.
Comment 5 Peter Cigehn CLA 2017-05-29 04:28:09 EDT
Closing as verified fixed.