Eclipse Remote Application Platform

Interface UrlLauncher

All Superinterfaces:

public interface UrlLauncher
extends ClientService

The UrlLauncher service allows loading an URL in an external window, application or save dialog.


Method Summary
 void openURL(java.lang.String url)
          Opens the given URL.

Method Detail


void openURL(java.lang.String url)
Opens the given URL. Any HTTP URL or relative URL will be opened in a new window. Modern browser may block any attempt to open new windows, but will usually prompt the user to accept or ignore. Even if accepted, the decision may be applied to only this attempt, or only to future attempts. It could also trigger a document reload, causing a session restart. Non-HTTP URLs like "mailto" will not create a new browser window, but require the client to have a matching protocol handler registered.

url - the URL to open

Eclipse Remote Application Platform

Copyright (c) EclipseSource and others 2002, 2013. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0