Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » SWT maps event to wrong control.
SWT maps event to wrong control. [message #1706940] Tue, 01 September 2015 06:10 Go to next message
Paras Patel is currently offline Paras PatelFriend
Messages: 8
Registered: September 2015
Junior Member
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 13:41 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3071
Registered: July 2009
Senior Member
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 08:42 Go to previous messageGo to next message
Paras Patel is currently offline Paras PatelFriend
Messages: 8
Registered: September 2015
Junior Member
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 08:45]

Report message to a moderator

Re: SWT maps event to wrong control. [message #1707115 is a reply to message #1707091] Wed, 02 September 2015 12:48 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3071
Registered: July 2009
Senior Member
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 12:50 Go to previous message
Paras Patel is currently offline Paras PatelFriend
Messages: 8
Registered: September 2015
Junior Member
Thanks
Previous Topic:MenuManager i18n
Next Topic:Eclipse doesn't seem to be saving java files
Goto Forum:
  


Current Time: Sun Nov 29 12:14:25 GMT 2020

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

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

Back to the top