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
Hi,

I want to create tooltips in a Treeviewer.

I know I can enable them with
ColumnViewerToolTipSupport.enableFor(viewer); 
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: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
CellLabelProvider#getToolTipImage is not implemented in RAP. Please file
an enhancement request about it.
Thanks,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

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


Current Time: Fri Apr 26 00:17:41 GMT 2024

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

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

Back to the top