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

Bug 323065

Summary: double click has no effect in outline
Product: [Modeling] TMF Reporter: Henrik Lindberg <henrik.lindberg>
Component: XtextAssignee: Jan Koehnlein <jan>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jan, sebastian.zarnekow, tmf.xtext-inbox
Version: 1.0.0Flags: sebastian.zarnekow: helios+
Target Milestone: SR1   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 319305    
Bug Blocks:    

Description Henrik Lindberg CLA 2010-08-18 12:46:04 EDT
Double clicking on an outline node should update the position in the editor to the clicked node.
Currently, this only works (with a single click) if the outline is in linked mode.
Compare to JDT outline where a double click always updates the editor position even if the outline is not linked.
Comment 1 Jan Koehnlein CLA 2010-08-19 08:40:49 EDT
Patch for
Comment 2 Jan Koehnlein CLA 2010-08-19 09:07:35 EDT
Ooops, hit RETURN to early :-)

Patch for bug 319305 introduced an additional guard that prevents the selection to be transferred from outline to text, regardless of the state of the link with editor button. 

Made OutlineSelectionChangedListener an IDoubleClickListener to implement the same behavior as in JDT. (The link with editor toggle button is hidden in a submenu in JDT).
Comment 3 Karsten Thoms CLA 2017-09-19 16:03:05 EDT
Closing bug which were set to RESOLVED before Eclipse Neon.0.