Skip to main content



      Home
Home » Eclipse Projects » GEF » Use HTML tag in draw2d tooltip
Use HTML tag in draw2d tooltip [message #240803] Fri, 18 January 2008 08:47 Go to next message
Eclipse UserFriend
Hello,
I'm overriding the showTargetFeedback class to display a tooltip. To get
the tooltip I use "getHostFigure().getToolTip()", which return a IFigure
object. Nevertheless, I would like to use HTML tag in my tooltip to
display my data.
How could I do this?

Thanks,
David.
Re: Use HTML tag in draw2d tooltip [message #240878 is a reply to message #240803] Tue, 22 January 2008 02:47 Go to previous message
Eclipse UserFriend
Hi David,

I think there is no Draw2D figures supporting HTML tags (). S you have to
write your own subclass of Figure or maybe of Label and override the
paintFigure() method in order to paint the figure text taking into account
the HTML tags.

Manu
http://manuelselva.wordpress.com/
Previous Topic:how to launch a wizard when drag and drop an item from palette ?
Next Topic:Connector z-order
Goto Forum:
  


Current Time: Wed Jul 23 11:34:00 EDT 2025

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

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

Back to the top