Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » how to add doubleClick event listener to the image in the cell of the tableviewer?
how to add doubleClick event listener to the image in the cell of the tableviewer? [message #901669] Tue, 14 August 2012 04:16 Go to next message
David Song is currently offline David SongFriend
Messages: 217
Registered: April 2011
Senior Member
hi all,
how to add doubleClick event listener to the image in the cell of the tableviewer?
I want to double click the image in the image below and open a dialog.

index.php/fa/11172/0/


Thanks

David
Re: how to add doubleClick event listener to the image in the cell of the tableviewer? [message #901674 is a reply to message #901669] Tue, 14 August 2012 05:24 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2359
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
add mouse listener to the Table and check the event coordinates against
TableItem#getImageBounds.
HTH,
Ivan

On 8/14/2012 7:16 AM, Song David wrote:
> hi all,
> how to add doubleClick event listener to the image in the cell of the tableviewer?
> I want to double click the image in the image below and open a dialog.
>
>
>
>
> Thanks
>
> David

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: how to add doubleClick event listener to the image in the cell of the tableviewer? [message #901693 is a reply to message #901674] Tue, 14 August 2012 07:50 Go to previous message
David Song is currently offline David SongFriend
Messages: 217
Registered: April 2011
Senior Member
Thanks Ivan, it just does work.
Previous Topic:Redirect to https
Next Topic:theme from RAP demo http://rap.eclipsesource.com/rapdemo/examples
Goto Forum:
  


Current Time: Sun Dec 05 08:55:34 GMT 2021

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

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

Back to the top