Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » ToolTip in TreeViewer?
ToolTip in TreeViewer? [message #448802] Wed, 03 May 2006 05:09 Go to next message
Eclipse UserFriend
Originally posted by: maren.settekorn.infineon.com

Hi,
is it possible to show ToolTips for the items of a TreeViewer? I couldn't
find any methods for that in the api for TreeViewer or TreeItem.
I want to show a Tip like the ToolTip for e.g. Labels or the ITextHover
for Texts, when the user holds the mouse over one of the elements of the
tree.

Thanks in advance
Maren
Re: ToolTip in TreeViewer? [message #448806 is a reply to message #448802] Wed, 03 May 2006 09:03 Go to previous messageGo to next message
Eclipse UserFriend
See this snippet, use TreeItem instead of TableItem:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org. eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet125 .java

--
Gail Jakubowski
Web Performance, Inc. | http://www.webperformance.com

Website Load Testing and Stress Testing Software & Services
"Maren Setttekorn" <maren.settekorn@infineon.com> wrote in message
news:23f93528b29731316bdb509984e176a1$1@www.eclipse.org...
> Hi,
> is it possible to show ToolTips for the items of a TreeViewer? I couldn't
> find any methods for that in the api for TreeViewer or TreeItem.
> I want to show a Tip like the ToolTip for e.g. Labels or the ITextHover
> for Texts, when the user holds the mouse over one of the elements of the
> tree.
>
> Thanks in advance Maren
>
Re: ToolTip in TreeViewer? [message #449046 is a reply to message #448806] Tue, 09 May 2006 10:20 Go to previous message
Eclipse UserFriend
Originally posted by: maren.settekorn.infineon.com

I adapted the code to work with TreeItems, it works, thank you.
Previous Topic:RCP design query
Next Topic:Memory Monitor
Goto Forum:
  


Current Time: Sun Aug 31 16:33:21 EDT 2025

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

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

Back to the top