drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/actions/OpenGuvnorWebConsoleAction.java
public void run(IAction action) {
        if (selectedNode == null) {
            return;
        }
        IWorkbenchBrowserSupport browserSupport =
            Activator.getDefault().getWorkbench().getBrowserSupport();
        try {
            URL consoleURL = new URL(
                    extractGuvnorConsoleUrl(selectedNode.getGuvnorRepository().getLocation()));
            if (browserSupport.isInternalWebBrowserAvailable()) {
                browserSupport.createBrowser(null).openURL(consoleURL);
            } else {
                browserSupport.getExternalBrowser().openURL(consoleURL);
            }
        } catch (Exception e) {
            Activator.getDefault().displayError(IStatus.ERROR, e.getMessage(), e, true);
        }
    }
public void run(IAction action) {
        if (selectedNode == null) {
            return;
        }
        IWorkbenchBrowserSupport browserSupport =
            Activator.getDefault().getWorkbench().getBrowserSupport();
        try {
            URL consoleURL = new URL(
                    extractGuvnorConsoleUrl(selectedNode.getGuvnorRepository().getLocation()));
            if (browserSupport.isInternalWebBrowserAvailable()) {
                browserSupport.createBrowser(null).openURL(consoleURL);
            } else {
                browserSupport.getExternalBrowser().openURL(consoleURL);
            }
        } catch (Exception e) {
            Activator.getDefault().displayError(IStatus.ERROR, e.getMessage(), e, true);
        }
    }
/*
(non-Javadoc)
@see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)