Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » tooltips with html code?
tooltips with html code? [message #466395] Tue, 10 January 2006 02: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 13:52 Go to previous messageGo to next message
Eclipse UserFriend
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 14: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: Sat Jul 05 04:21:10 EDT 2025

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

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

Back to the top