Browser
instead@Deprecated
public final class BrowserUtil
extends java.lang.Object
Browser
Modifier and Type | Method and Description |
---|---|
static void |
evaluate(Browser browser,
java.lang.String script,
BrowserCallback browserCallback)
Deprecated.
Use
Browser.evaluate( BrowserCallback ) instead |
@Deprecated public static void evaluate(Browser browser, java.lang.String script, BrowserCallback browserCallback)
Browser.evaluate( BrowserCallback )
insteadbrowserCallback
is notified
when the result from the operation is available.
Use this method instead of the execute()
or evaluate()
methods from
the respective Browser
widget when running in JEE_COMPATIBILITY mode.
This method will throw an IllegalStateException if called while another script is still pending to be executed.
browser
- the browser to execute the script, must not be null
.script
- the script to execute, must not be null
.browserCallback
- the callback to be notified when the result from the script execution is
available, must not be null
.java.lang.IllegalStateException
- when another script is already being executed.Browser
,
BrowserCallback
,
Application.OperationMode
Copyright (c) EclipseSource and others 2002, 2016.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0