Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » tooltips with html code?
tooltips with html code? [message #466395] Tue, 10 January 2006 07:39 Go to next message
Eclipse UserFriend
Originally posted by: dozerox.gmail.com

Hi,

I know that swing supports tooltips with html code, but how about swt?
How I can make tooltips that have html format support? I checked out the
HoverHelp example, what shows one way to make custom tooltips, but it
didn't have html formatting either..

Is it possible to do same kind of tooltips that eclipse has in it's
texteditor when showing JavaDoc info? The one that can be focused by
pressing F2 etc..?

Thanks for any help!
Re: tooltips with html code? [message #466510 is a reply to message #466395] Tue, 10 January 2006 18:52 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
To have html links you can use the SWT Link widget in your custom tooltip.

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet183.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup


"doze" <dozerox@gmail.com> wrote in message
news:dpvoel$b7i$1@utils.eclipse.org...
> Hi,
>
> I know that swing supports tooltips with html code, but how about swt? How
> I can make tooltips that have html format support? I checked out the
> HoverHelp example, what shows one way to make custom tooltips, but it
> didn't have html formatting either..
>
> Is it possible to do same kind of tooltips that eclipse has in it's
> texteditor when showing JavaDoc info? The one that can be focused by
> pressing F2 etc..?
>
> Thanks for any help!
Re: tooltips with html code? [message #466514 is a reply to message #466510] Tue, 10 January 2006 19:40 Go to previous message
Eclipse UserFriend
Originally posted by: sunil_kamath.nohotspammail.com

Veronika Irvine <veronika_irvine@oti.com> wrote:
> To have html links you can use the SWT Link widget in your custom
> tooltip.
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet183.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup
>
>
Or create an InformationPresenter which uses the Browser control.

--
Sunil
Previous Topic:How to see if PASTE is actiove
Next Topic:Label and image color
Goto Forum:
  


Current Time: Thu Jun 20 13:55:03 GMT 2019

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

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

Back to the top