Package org.eclipse.ui.internal.browser

Examples of org.eclipse.ui.internal.browser.DefaultBrowserSupport.createBrowser()


    protected static void showResults(final String url) {
    final DefaultBrowserSupport wb = new DefaultBrowserSupport();
        Display.getDefault().asyncExec(new Runnable() {
           public void run() {
        try {
          wb.createBrowser(wb.AS_EDITOR, "myId", "What's New", "What's new with CFEclipse")
          .openURL(new URL(url));
        } catch (PartInitException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
        } catch (MalformedURLException e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.