Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Using the Browser widget
Using the Browser widget [message #437572] Mon, 07 June 2004 15:51 Go to next message
Jim Adams is currently offline Jim AdamsFriend
Messages: 160
Registered: July 2009
Senior Member
I would like to insert the Browser widget into a view but have all the links
display in a new browser window. I tried adding my own link such as <a
href="foo" target="_blank">foo</a>. This works outside fo Eclipse, but not
embedded. Any ideas?
Re: Using the Browser widget [message #437574 is a reply to message #437572] Mon, 07 June 2004 17:04 Go to previous messageGo to next message
Christophe Cornu is currently offline Christophe CornuFriend
Messages: 304
Registered: July 2009
Senior Member
Hi Jim,

You do so by handling the WindowEvent. See the javadoc for
org.eclipse.swt.browser.WindowEvent, it contains a snippet for that shows
how to do this. Let me know if you can't find it.

Chris
Re: Using the Browser widget [message #437575 is a reply to message #437574] Mon, 07 June 2004 18:32 Go to previous message
Jim Adams is currently offline Jim AdamsFriend
Messages: 160
Registered: July 2009
Senior Member
Thanks!
"Christophe Cornu" <christophe_cornu@ca.ibm.com> wrote in message
news:ca277p$ai3$1@eclipse.org...
> Hi Jim,
>
> You do so by handling the WindowEvent. See the javadoc for
> org.eclipse.swt.browser.WindowEvent, it contains a snippet for that shows
> how to do this. Let me know if you can't find it.
>
> Chris
>
Previous Topic:External tt-font with SWT
Next Topic:Problem with Mozilla and Post Requests
Goto Forum:
  


Current Time: Sun Dec 21 01:13:41 GMT 2014

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

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