Bug 438359 - Selecting an element from the outline should reveal it in the diagram
Summary: Selecting an element from the outline should reveal it in the diagram
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 1.0.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 2.0.0   Edit
Assignee: Esteban DUGUEPEROUX CLA
QA Contact:
URL:
Whiteboard: trivial
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2014-06-27 05:34 EDT by Cedric Brun CLA
Modified: 2014-10-27 06:52 EDT (History)
2 users (show)

See Also:


Attachments

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