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

Bug 297226

Summary: [Sash] Support SWT.DRAG in selection event
Product: [RT] RAP Reporter: RĂ¼diger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: 1.3 M4   
Hardware: All   
OS: All   
Whiteboard:

Description RĂ¼diger Herrmann CLA 2009-12-08 11:06:18 EST
If a sash is dragged in SWT, the event object detail field contains the value SWT.DRAG. (see JavaDoc for details)
This should also be implemented in RWT.

Once this is in place, activate uses of SWT.DRAG in JFace and Workbench code.
Comment 1 Ivan Furnadjiev CLA 2009-12-09 06:59:29 EST
In SWT the Sash widgetSelected event is fired on mouse down, mouse move (while dragging) and mouse up. The SWT.DRAG event detail presents in first two cases to indicate that the sash is in process of dragging. Now in RAP the Sash widgetSelected event is fired only in mouse down (with SWT.DRAG event detail) and mouse up (without SWT.DRAG event detail). I can't see any use cases to fire widgetSelected event on every mouse move. The use of SWT.DRAG in JFace and Workbench code is activated.