use of org.eclipse.ui.browser.IWebBrowser in project bndtools by bndtools.
the class OpenBrowserActionDelegate method run.
public void run(IAction action) {
try {
IWorkbenchBrowserSupport browserSupport = window.getWorkbench().getBrowserSupport();
IWebBrowser browser = browserSupport.createBrowser(6, null, null, null);
browser.openURL(null);
} catch (Exception e) {
logger.logError("Error opening browser", e);
}
}
Aggregations