I want to create tooltips in a Treeviewer.
I know I can enable them with
and use the method
for returning the Text.
public String getToolTipText(Object element)
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