|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.rap.rwt.widgets.ExternalBrowser
UrlLauncher
instead
@Deprecated public final class ExternalBrowser
Utility class to open and close an external browser window.
Field Summary | |
---|---|
static int |
LOCATION_BAR
Deprecated. Style parameter (value 1<<1) indicating that the address combo and 'Go' button will be created for the browser. |
static int |
NAVIGATION_BAR
Deprecated. Style parameter (value 1<<2) indicating that the navigation bar for navigating web pages will be created for the web browser. |
static int |
STATUS
Deprecated. Style constant (value 1<<3) indicating that status will be tracked and shown for the browser (page loading progress, text messages etc.). |
Method Summary | |
---|---|
static void |
close(java.lang.String id)
Deprecated. |
static void |
open(java.lang.String id,
java.lang.String url,
int style)
Deprecated. Use UrlLauncher.openURL(String) instead |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int LOCATION_BAR
Note: This style parameter is a hint and might be ignored by some browsers.
public static final int NAVIGATION_BAR
Note: This style parameter is a hint and might be ignored by some browsers.
public static final int STATUS
Note: This style parameter is a hint and might be ignored by some browsers.
Method Detail |
---|
@Deprecated public static void open(java.lang.String id, java.lang.String url, int style)
UrlLauncher.openURL(String)
instead
url
in an external browser.
The method will reuse an existing browser window if the same
id
value is passed to it.
id
- if an instance of a browser with the same id is already
opened, it will be reused instead of opening a new one. The id
must neither be null
nor empty.url
- the URL to display, must not be null
style
- the style display constants. Style constants should be
bitwise-ORed together.
SWTException
- id
or url
is null
id
is empty@Deprecated public static void close(java.lang.String id)
id
. The
method does nothing if there is no browser window with the given id.
id
- if an instance of a browser with the same id is opened,
it will be close. The id must neither be null
nor empty.
SWTException
- id
is
null
id
is empty
|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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