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

Bug 481866

Summary: Add getStructuredSelection() method for StructuredViewer
Product: [RT] RAP Reporter: Maxime Romand <maxime.romand>
Component: JFaceAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: bernard.sarter
Version: 3.0   
Target Milestone: 3.1 M4   
Hardware: PC   
OS: Windows 10   
See Also: https://git.eclipse.org/r/#/c/60694/
Whiteboard:

Description Maxime Romand CLA 2015-11-10 13:43:56 EST
Hi !

Since Eclipse 4.5/M2, The JFace StructuredViewer class has an API to access the IStructuredSelection directly.

It would be very nice to have it also in RWT.

To quote the "New and Noteworthy" page for 4.5/M2, indeed, I didn't miss you (IStructuredSelection) viewer.getSelection(), and I'm not very glad to see you coming back in the code.

Thanks

Maxime
Comment 1 Ivan Furnadjiev CLA 2015-11-18 04:59:54 EST
Fixed in master with change https://git.eclipse.org/r/#/c/60694/