Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Use HTML tag in draw2d tooltip
Use HTML tag in draw2d tooltip [message #240803] Fri, 18 January 2008 13:47 Go to next message
David CHAUTARD is currently offline David CHAUTARDFriend
Messages: 102
Registered: July 2009
Senior Member
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?

Re: Use HTML tag in draw2d tooltip [message #240878 is a reply to message #240803] Tue, 22 January 2008 07:47 Go to previous message
Manuel Selva is currently offline Manuel SelvaFriend
Messages: 189
Registered: July 2009
Location: Grenoble, France
Senior Member
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.


Previous Topic:Re: Add multiple RectangleFigure in a Figure.
Next Topic:Connector z-order
Goto Forum:

Current Time: Thu Apr 26 10:06:46 GMT 2018

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

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