Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » browser in a viewpart
browser in a viewpart [message #436603] Tue, 13 September 2005 16:06 Go to next message
Eclipse UserFriend
Originally posted by: antonio.ballerini.dsdata.it

How can i visualize a browser in a viewpart (using the plugin
org.eclipse.ui.browser) ?

PlatformUI.getWorkbench().getBrowserSupport().createBrowser( "...").openURL(.
...)

open an EditorPart and not a ViewPart...

Thanks in advance.
Antonio
Re: browser in a viewpart [message #436674 is a reply to message #436603] Wed, 14 September 2005 15:43 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Antonio Ballerini wrote:
> How can i visualize a browser in a viewpart (using the plugin
> org.eclipse.ui.browser) ?
>
> PlatformUI.getWorkbench().getBrowserSupport().createBrowser( "...").openURL(.
> ..)

Create an IViewPart and just use the SWT Browser control.

Later,
PW


Re: browser in a viewpart [message #436889 is a reply to message #436674] Tue, 20 September 2005 00:40 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Paul Webster wrote:

> Antonio Ballerini wrote:
>> How can i visualize a browser in a viewpart (using the plugin
>> org.eclipse.ui.browser) ?
>>
>>
PlatformUI.getWorkbench().getBrowserSupport().createBrowser( "...").openURL(.
>> ..)
>
> Create an IViewPart and just use the SWT Browser control.
>
or call createBrowser with IWorkbenchBrowserSupport.AS_VIEW style
Re: browser in a viewpart [message #436933 is a reply to message #436889] Tue, 20 September 2005 12:13 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

snpe wrote:
> Paul Webster wrote:
>>Create an IViewPart and just use the SWT Browser control.
>>
>
> or call createBrowser with IWorkbenchBrowserSupport.AS_VIEW style

That's even better :-)

Later,
PW


Previous Topic:How to open a custom IEditorInput in a single instance?
Next Topic:How about a simple RCP and Hibernate example?
Goto Forum:
  


Current Time: Thu Dec 26 18:54:04 GMT 2024

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

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

Back to the top