SWT maps event to wrong control [message #1707090] |
Wed, 02 September 2015 04:39  |
Eclipse User |
|
|
|
HI,
Initial setup:
RCP 4 is used for client rendering.
In the current part/dialog, org.eclipse.jface.viewers.TableViewer is used to display data.
When a user double clicks on any of the row in the table, new part is opened.
Problem:
The user action of double click generated two events:
1. Double click event
2. Mouse Up event
The double click event is dispatched to TableViewer which opens the new part in the same UI thread. But mouse-up event is dispatched to the control of the new part which is not desired.
Shouldn't the mouse up event be dispatched/mapped to the tableviewer?
Is there any way to flush the mouse up event?
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05200 seconds