Skip to main content



      Home
Home » Newcomers » Newcomers » SWT maps event to wrong control.
SWT maps event to wrong control. [message #1706940] Tue, 01 September 2015 02:10 Go to next message
Eclipse UserFriend
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?




Re: SWT maps event to wrong control. [message #1707012 is a reply to message #1706940] Tue, 01 September 2015 09:41 Go to previous messageGo to next message
Eclipse UserFriend
This question might get more response in either the JFace or SWT forums.
Re: SWT maps event to wrong control. [message #1707091 is a reply to message #1707012] Wed, 02 September 2015 04:42 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
Thanks for the suggestion.
I created a new topic in SWT forum: https://www.eclipse.org/forums/index.php/m/1707090/#msg_1707090
How do I close this topic ?

[Updated on: Wed, 02 September 2015 04:45] by Moderator

Re: SWT maps event to wrong control. [message #1707115 is a reply to message #1707091] Wed, 02 September 2015 08:48 Go to previous messageGo to next message
Eclipse UserFriend
There no "close" for topics, they just die on their own.
Re: SWT maps event to wrong control. [message #1707116 is a reply to message #1707115] Wed, 02 September 2015 08:50 Go to previous message
Eclipse UserFriend
Thanks
Previous Topic:MenuManager i18n
Next Topic:Eclipse doesn't seem to be saving java files
Goto Forum:
  


Current Time: Wed Jul 16 12:35:06 EDT 2025

Powered by FUDForum. Page generated in 0.10392 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top