question: private void openInBrowserButtonInvoked ( ) { try { final URI uri = URIUtils . newURI ( browserHistory . getCurrentURL ( ) ) ; BrowserFacade . launchURL ( uri , uri . getPath ( ) ) ; } catch ( final IllegalArgumentException e ) { final String messageFormat = Messages . getString ( "WebPageControl.ErrorDialogTextFormat" ) ; final String message = MessageFormat . format ( messageFormat , e . getMessage ( ) ) ; MessageDialog . openError ( browser . getShell ( ) , Messages . getString ( "WebPageControl.ErrorDialogTitle" ) , message ) ; } }
target:  Open the currently displayed URL in an internal or external browser, depending on the user preference.