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, waitcreateBrowser, createBrowserpublic AbstractWorkbenchBrowserSupport()
public IWebBrowser getExternalBrowser() throws PartInitException
IWorkbenchBrowserSupportgetExternalBrowser in interface IWorkbenchBrowserSupportPartInitException - if the operation failed for some reasonpublic boolean isInternalWebBrowserAvailable()
IWorkbenchBrowserSupportfalse,
createBrowser would ignore browser styles
AS_EDITOR and AS_VIEW and always create an
external browser.isInternalWebBrowserAvailable in interface IWorkbenchBrowserSupporttrue if internal web browser can be created on
this platform, false otherwise.Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.