public abstract class AbstractWorkbenchBrowserSupport extends Object implements IWorkbenchBrowserSupport
IWorkbenchBrowserSupport
while leaving some methods
to the implementors. Classes that extend this abstract class are meant to be
contributed via 'org.eclipse.ui.browserSupport' extension point.AS_EDITOR, AS_EXTERNAL, AS_VIEW, LOCATION_BAR, NAVIGATION_BAR, PERSISTENT, STATUS
Constructor and Description |
---|
AbstractWorkbenchBrowserSupport()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
IWebBrowser |
getExternalBrowser()
Returns a shared instance of the external web browser.
|
boolean |
isInternalWebBrowserAvailable()
Tests whether web browser as an SWT widget can be created in this
workbench instance.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createBrowser, createBrowser
public AbstractWorkbenchBrowserSupport()
public IWebBrowser getExternalBrowser() throws PartInitException
IWorkbenchBrowserSupport
getExternalBrowser
in interface IWorkbenchBrowserSupport
PartInitException
- if the operation failed for some reasonpublic boolean isInternalWebBrowserAvailable()
IWorkbenchBrowserSupport
false
,
createBrowser
would ignore browser styles
AS_EDITOR
and AS_VIEW
and always create an
external browser.isInternalWebBrowserAvailable
in interface IWorkbenchBrowserSupport
true
if internal web browser can be created on
this platform, false
otherwise.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.