Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Tooltips in TreeViewer
Tooltips in TreeViewer [message #1397746] Thu, 10 July 2014 05:26 Go to next message
jps90 Mising name is currently offline jps90 Mising nameFriend
Messages: 13
Registered: December 2011
Junior Member

I want to create tooltips in a Treeviewer.

I know I can enable them with
and use the method
public String getToolTipText(Object element)
for returning the Text.

But I want to show Pictures, which are contained in the Objects, in my tooltip. So I can't use the following solution either because I can't get the picture out of the supposed Object
widget.setData( RWT.TOOLTIP_MARKUP_ENABLED, Boolean.TRUE );
widget.setToolTipText( "Picture" );

Is there any possibility to do the styled tooltip for a line of a TreeViewer?

Thanks in Advance
Jan Philipp
Re: Tooltips in TreeViewer [message #1400454 is a reply to message #1397746] Mon, 14 July 2014 08:05 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2334
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
CellLabelProvider#getToolTipImage is not implemented in RAP. Please file
an enhancement request about it.

Ivan Furnadjiev

Twitter: @EclipseRAP

Professional services for RAP and RCP?
Previous Topic:Using the LocalResourceManager causes NPE after RAP update 2.3
Next Topic:Deploy plugins separately
Goto Forum:

Current Time: Mon Feb 24 16:11:17 GMT 2020

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

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

Back to the top