Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Display a Hyperlink in a SWT Text
Display a Hyperlink in a SWT Text [message #150181] Fri, 28 April 2006 15:49 Go to next message
Eclipse UserFriend
Originally posted by: rtstone.gmail.com

Does anyone know how to display a hyperlink in an SWT Text. I am trying to
use hyperlinks in a chat client so the user can click to accept or decline
a file transfer. Any help will be greatly apreciated.

thanks in advance,
Robert
Re: Display a Hyperlink in a SWT Text [message #150221 is a reply to message #150181] Fri, 28 April 2006 20:47 Go to previous message
Eclipse UserFriend
Originally posted by: jefmyers.us.ibm.com

Don't think you'll be able to do that with the Text widget. You may be
able to embedd a hyperlink widget in the StyledText widget:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org. eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet217 .java
Or you could simply underline/color the text you want to link and listen
for click events in the text.

- Jeff
Previous Topic:Best way to move projects between workspaces?
Next Topic:Memory Issue
Goto Forum:
  


Current Time: Sat Apr 20 03:12:50 GMT 2024

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

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

Back to the top