public final class EntryPointStarter extends Object
GWT.runAsync(new RunAsyncCallback() { @Override public void onFailure(Throwable throwable) { Window.alert("Code download failed"); } @Override public void onSuccess() { EntryPointStarter.run(new Runnable() { @Override public void run() { // CHARBA charts and api... } }); } });
Modifier and Type | Method and Description |
---|---|
static void |
run(Runnable runnable)
Start an entry point as a runnable.
|
public static void run(Runnable runnable)
runnable
- the entry point instance as runnable