Skip to main content


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
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 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.

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: Fri Apr 19 16:29:23 GMT 2024

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

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

Back to the top