Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Tooltip in gef.ui.parts.TreeViewer
Tooltip in gef.ui.parts.TreeViewer [message #200022] Thu, 20 October 2005 13:11 Go to next message
Martin Rosenthal is currently offline Martin RosenthalFriend
Messages: 18
Registered: July 2009
Junior Member
Hi,

how can i have a tooltip on the treeitems in the outline page?

And thanks for the quicj answers to my last question.
Re: Tooltip in gef.ui.parts.TreeViewer [message #200125 is a reply to message #200022] Thu, 20 October 2005 18:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sunil_kamath.nohotspammail.com

Martin Rosenthal <fiesta81@gmx.de> wrote:
> Hi,
>
> how can i have a tooltip on the treeitems in the outline page?
>
You have to fake it.
Tooltips are not natively supported on tree items.
See this tooltip on how to create fake tooltips for table items and adapt it
for your needs:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet125.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

--
Sunil
Re: Tooltip in gef.ui.parts.TreeViewer [message #200252 is a reply to message #200125] Fri, 21 October 2005 07:08 Go to previous message
Martin Rosenthal is currently offline Martin RosenthalFriend
Messages: 18
Registered: July 2009
Junior Member
Thanks, but can you please tell me, where i have to add the Listener?

I cant see a "real" tree with treeItems... I have only the
getModelChildren() and getChildren methods...
Previous Topic:Sorting a tree
Next Topic:DND Problem: What is being dragged?
Goto Forum:
  


Current Time: Wed Sep 25 02:31:24 GMT 2024

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

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

Back to the top