Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » open external browser
open external browser [message #449067] Wed, 10 May 2006 03:57 Go to next message
Eclipse UserFriend
Hello everyone,

I have the following code:
[code]
IWorkbenchBrowserSupport browserSupport =
PlatformUI.getWorkbench().getBrowserSupport();
try {
IWebBrowser browser = browserSupport.createBrowser(myId);
browser.openURL(url);
[code]

my problem is that this opens the url in an existing open browser.
Only if non is open then it lunches a new one.
How do I modify this behavior?

Thank you,
Benjamin
Re: open external browser [message #449226 is a reply to message #449067] Thu, 11 May 2006 03:40 Go to previous message
Eclipse UserFriend
Benjamin schrieb:
> Hello everyone,
>
> I have the following code:
> [code]
> IWorkbenchBrowserSupport browserSupport =
> PlatformUI.getWorkbench().getBrowserSupport();
> try {
> IWebBrowser browser = browserSupport.createBrowser(myId);
> browser.openURL(url);
> [code]
>
> my problem is that this opens the url in an existing open browser.
> Only if non is open then it lunches a new one.
> How do I modify this behavior?
>
> Thank you,
> Benjamin
>
>
>

see javadoc:

browserSupport.createBrowser(null);


Volker
Previous Topic:different menu in different perspective
Next Topic:background color
Goto Forum:
  


Current Time: Sun Aug 31 13:30:18 EDT 2025

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

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

Back to the top