Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Tooltip on Tree items #2
Tooltip on Tree items #2 [message #202042] Mon, 07 November 2005 09:42 Go to next message
Martin Rosenthal is currently offline Martin RosenthalFriend
Messages: 18
Registered: July 2009
Junior Member
Hello,

my probelm with a tooltip on a outline-view tree item still isnŽt solved...

-->
http://www.eclipse.org/newsportal/article.php?id=14757&g roup=eclipse.tools.gef#14757

Sunil Kamath answered that i can add a listener and make a "fake tooltip",
but i dont know where...

So perhaps anybody can help me...
Re: Tooltip on Tree items #2 [message #202182 is a reply to message #202042] Mon, 07 November 2005 16:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

I don't think that treeitems support tooltip. Only controls do. So, you
could add an SWT Hover event listener to the tree and display a popup shell
using PopupHelper or TooltipHelper. Or, you could use an editpolicy which
responds to the REQ_SELECT_HOVER request sent by the selction tool and do
the same thing.

"Martin Rosenthal" <fiesta81@gmx.de> wrote in message
news:978d47732d501486531712026ad724e6$1@www.eclipse.org...
> Hello,
>
> my probelm with a tooltip on a outline-view tree item still isn
Re: Tooltip on Tree items #2 [message #202194 is a reply to message #202042] Mon, 07 November 2005 18:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sunil_kamath.nohotspammail.com

Martin Rosenthal wrote:
> Hello,
>
> my probelm with a tooltip on a outline-view tree item still isn
Re: Tooltip on Tree items #2 [message #202313 is a reply to message #202194] Tue, 08 November 2005 07:55 Go to previous message
Martin Rosenthal is currently offline Martin RosenthalFriend
Messages: 18
Registered: July 2009
Junior Member
Hey thanks, it works.

I dont know that i have to add the listener to getViewer().getControl() in
my ContentOutlinePage...
Previous Topic:Why doesn't the Tool of a CombinedTemplateCreationEntry get used for drag and drop from the palette?
Next Topic:Problems creating a new GraphicalEditor
Goto Forum:
  


Current Time: Fri Dec 13 03:01:47 GMT 2024

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

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

Back to the top