Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to enable tooltips for each Table cell?
How to enable tooltips for each Table cell? [message #486694] Fri, 18 September 2009 11:36 Go to next message
Frank Du is currently offline Frank Du
Messages: 91
Registered: July 2009
Member
Hi All,

I am trying the snippet (link below) and it doesn't work. Therefore my question is how to enable tooltips for each cell in TableViewer? Thank you so much!

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.s nippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippet s/viewers/Snippet011CustomTooltips.java?view=markup

Best Regards,
Frank Du
Re: How to enable tooltips for each Table cell? [message #486730 is a reply to message #486694] Fri, 18 September 2009 16:02 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric Rizzo
Messages: 2228
Registered: July 2009
Senior Member
Copying this to the JFace group (that's eclipse.platform.jface for the
newsgroup readers).


On 9/18/09 11:36 AM, Frank Du wrote:
> Hi All,
>
> I am trying the snippet (link below) and it doesn't work. Therefore my
> question is how to enable tooltips for each cell in TableViewer? Thank
> you so much!
>
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.s nippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippet s/viewers/Snippet011CustomTooltips.java?view=markup
>
>
> Best Regards,
> Frank Du
Re: How to enable tooltips for each Table cell? [message #486762 is a reply to message #486730] Fri, 18 September 2009 22:46 Go to previous messageGo to next message
Remy Suen is currently offline Remy Suen
Messages: 462
Registered: July 2009
Senior Member
> On 9/18/09 11:36 AM, Frank Du wrote:
>> I am trying the snippet (link below) and it doesn't work. Therefore my
>> question is how to enable tooltips for each cell in TableViewer?

The snippet works fine for me on Linux/gtk+. How long are you hovering
over the table item? You may want to decrease the delay specified by
getToolTipDisplayDelayTime(Object).

Regards,
Remy
Re: How to enable tooltips for each Table cell? [message #487900 is a reply to message #486762] Thu, 24 September 2009 14:17 Go to previous message
Frank Du is currently offline Frank Du
Messages: 91
Registered: July 2009
Member
Hi Remy,

This fixes the problem. The original setting is 2000 ms. It's a bit too long for my patience. Smile

Best,
Frank

>How long are you hovering
>over the table item? You may want to decrease the delay specified by
>getToolTipDisplayDelayTime(Object).

Regards,
Remy
Previous Topic:How to get the 'Delete' event in context menu of a selected item in package explorer?
Next Topic:Mouseover to see variable value
Goto Forum:
  


Current Time: Sat Aug 23 11:20:34 EDT 2014

Powered by FUDForum. Page generated in 0.09911 seconds