How to open a External browser in Eclipse Editor
How to open an External browser like 开发者_运维问答Safari from open option with in Eclipse plugin programmaticly?
try {
PlatformUI.getWorkbench().getBrowserSupport().getExternalBrowser().openURL(new URL("http://stackoverflow.com"));
} catch (PartInitException | MalformedURLException e) {
e.printStackTrace();
}
This will open the external browser.
精彩评论