Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » TableViewer - DoubleClick events for column
TableViewer - DoubleClick events for column [message #531387] Tue, 04 May 2010 12:56 Go to next message
Kris Missing name is currently offline Kris Missing name
Messages: 47
Registered: July 2009
Member
Hi,

what is the best way to listen to Double-Click events for the cells of
column? I cannot find any hook for adding a DoubleClicklistener - is
there any(am I blind)?

Thanks,
Kris
Re: TableViewer - DoubleClick events for column [message #735545 is a reply to message #531387] Wed, 12 October 2011 03:01 Go to previous messageGo to next message
Leung Wang Hei is currently offline Leung Wang Hei
Messages: 62
Registered: July 2010
Member
I got the same problem too. Has to use single click at the moment
(column.addSelectionListener)

Hope for a solution

On 5/5/2010 12:56 AM, KW wrote:
> Hi,
>
> what is the best way to listen to Double-Click events for the cells of
> column? I cannot find any hook for adding a DoubleClicklistener - is
> there any(am I blind)?
>
> Thanks,
> Kris
Re: TableViewer - DoubleClick events for column [message #736550 is a reply to message #735545] Fri, 14 October 2011 01:13 Go to previous messageGo to next message
Vijay Raj
Messages: 608
Registered: July 2009
Senior Member
This snippet should help
find a table cell from mouse down (works for any table style)

use this in addition to doubleclick listener.


---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay

[Updated on: Fri, 14 October 2011 01:14]

Report message to a moderator

Re: TableViewer - DoubleClick events for column [message #741362 is a reply to message #531387] Wed, 19 October 2011 09:07 Go to previous message
Thomas Singer is currently offline Thomas Singer
Messages: 75
Registered: July 2009
Member
I'd try a selection listener and the default selection.
Previous Topic:TableViewer: Warning about reentrant call (includes test case)
Next Topic:Menumanager setVisible doesn't work as expected
Goto Forum:
  


Current Time: Tue Jul 29 14:57:43 EDT 2014

Powered by FUDForum. Page generated in 0.02076 seconds