Bug 242201

Summary: Make it easier to switch between diagrams
Product: [Modeling] Ecoretools Reporter: Eike Stepper <stepper>
Component: GeneralAssignee: Project Inbox <ecore-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: dave, Ed.Merks
Version: 0.7Keywords: noteworthy, plan
Target Milestone: M6   
Hardware: All   
OS: All   
Whiteboard: Usability

Description Eike Stepper CLA 2008-07-28 05:25:57 EDT
Since each diagram is shown in an own editor there is a dedicated Outline view for each diagram. Most of the times after opening another diagram by double clicking in the Outline view the Outline view content changes and it's not easy to switch back or to another diagram.

What about a toolbar dropdown menu that contains all diagrams?!
Comment 1 Ed Merks CLA 2008-08-08 12:30:04 EDT
I was very confused at first because I didn't even notice it opened a new editor. I think I'd rather have a single editor for them all...
Comment 2 Eike Stepper CLA 2008-08-08 12:31:38 EDT
+1
Comment 3 Jacques LESCOT CLA 2009-03-19 10:35:06 EDT
Now, each time you open a new diagram in a given editor (by double clicking in the editor area or through the outline view), the new diagram is opened in the same editor. It is then possible to navigate between diagrams using the "previous", "parent" or "next" buttons. In fact, I have implemented a similar mechanism than the one available with editors done in the Topcased project.

Currently if you try to change the active diagram from the Project Explorer, the old mechanism is used (each diagram is opened in a new editor) : this still ensure a way to compare two diagrams visually.

There is a known (minor) bug on diagram navigation : indeed, when switching between two diagrams, the editor is marked as dirty, although none modification has been done neither on the domain model nor on the notational one. I will raise a separate bug to track this issue.