Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Tootip for a TreeViewer (How to set a tooltip for TreeViewer)
Tootip for a TreeViewer [message #956788] Wed, 24 October 2012 16:11 Go to previous message
Jim Jones is currently offline Jim Jones
Messages: 6
Registered: September 2012
Junior Member
I have a TreeViewer that displays my data ok.
I want to put a Tooltip and found http://git.eclipse.org/c/platform/eclipse.platform.ui.git/tree/examples/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/viewers/Snippet015CustomTooltipsForTree.java this snippet.
My problem is that I already use a LabelProvider as a labelProvider for my TreeViewer to show text and Images for my nodes but in the linked example snippet a CellLabelProvider is used and if I use that I can not seem to find a way to display my text and icon for my nodes.
So how can I show tooltips in my working TreeViewer?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:How to fill Part with Data?
Next Topic:Logger-Layout?
Goto Forum:
  


Current Time: Thu May 23 12:41:06 EDT 2013

Powered by FUDForum. Page generated in 0.06313 seconds