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

Bug 438359

Summary: Selecting an element from the outline should reveal it in the diagram
Product: [Modeling] Sirius Reporter: Cedric Brun <cedric.brun>
Component: DiagramAssignee: Esteban DUGUEPEROUX <esteban.dugueperoux>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: esteban.dugueperoux, maxime.porhel
Version: 1.0.0Keywords: triaged
Target Milestone: 2.0.0   
Hardware: All   
OS: All   
Whiteboard: trivial

Description Cedric Brun CLA 2014-06-27 05:34:15 EDT
Open the outline view, using the diagram content tab.
Click on some element. The diagram editor will have the corresponding shape selected. It would be more useful to "reveal" the shape so that the viewport make sure the selection is actually visible.
Comment 1 Maxime Porhel CLA 2014-06-27 09:41:50 EDT
See in org.eclipse.sirius.diagram.ui.part.SiriusDiagramEditorUtil: 
 . selectElementsInDiagram(IDiagramWorkbenchPart, List)
 . selectWithoutRevealElementsInDiagram(IDiagramWorkbenchPart, List<EditPart>)
Comment 2 Esteban DUGUEPEROUX CLA 2014-06-27 11:10:38 EDT
I reproduce. 
I have submit a Gerrit change-set https://git.eclipse.org/r/29128
Comment 3 Esteban DUGUEPEROUX CLA 2014-09-16 04:59:05 EDT
Fixed as d52ae9de000c2c8caf1c8be535eb1dd53dd0d658
Comment 4 Pierre-Charles David CLA 2014-10-27 06:52:33 EDT
Available in Sirius 2.0.0.