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 16:56 Go to next message
Kris Missing name is currently offline Kris Missing nameFriend
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 07:01 Go to previous messageGo to next message
Leung Wang Hei is currently offline Leung Wang HeiFriend
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 05:13 Go to previous messageGo to next message
Vijay RajFriend
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 05:14]

Report message to a moderator

Re: TableViewer - DoubleClick events for column [message #741362 is a reply to message #531387] Wed, 19 October 2011 13:07 Go to previous message
Thomas Singer is currently offline Thomas SingerFriend
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: Sat Dec 20 22:17:05 GMT 2014

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

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