Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Distinguish between left and right click on table row
Distinguish between left and right click on table row [message #1404745] Tue, 05 August 2014 12:56 Go to next message
Urs Beeli is currently offline Urs BeeliFriend
Messages: 567
Registered: October 2012
Location: Bern, Switzerland
Senior Member
In our application when the user left-clicks on a table row, we want to display the values of the selected row in a different form. We do this by using execRowClick().

However, when the user right clicks on the table row, we want to show a context menu (this works) *without* the selected row being displayed in the secondary form (this part does not work).

Is there any way to either
- distinguish which mouse button was clicked on a table row in execRowClicked?
- react to a left click on a table row in a way that is not triggered when right clicking on the same row in order to show the context menu?

Just in case it matters: we're using the SWT UI.

[Updated on: Tue, 05 August 2014 12:56]

Report message to a moderator

Re: Distinguish between left and right click on table row [message #1419285 is a reply to message #1404745] Mon, 08 September 2014 11:20 Go to previous message
Urs Beeli is currently offline Urs BeeliFriend
Messages: 567
Registered: October 2012
Location: Bern, Switzerland
Senior Member
After discussion with Andy Hoegger I opened this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=443490
Previous Topic:New wizard in SWT app
Next Topic:Detecting when a Form-in-a-View is closed
Goto Forum:
  


Current Time: Wed Dec 13 13:21:41 GMT 2017

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

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