public class EclipseAppLauncher extends Object implements ApplicationLauncher
| Constructor and Description |
|---|
EclipseAppLauncher(BundleContext context,
boolean relaunch,
boolean failOnNoDefault,
FrameworkLog log) |
| Modifier and Type | Method and Description |
|---|---|
void |
launch(ParameterizedRunnable app,
Object applicationContext)
Launches the specified runnable using the main thread.
|
Object |
reStart(Object argument) |
void |
shutdown()
Forces the current runnable which is running to be stopped.
|
Object |
start(Object defaultContext) |
public EclipseAppLauncher(BundleContext context, boolean relaunch, boolean failOnNoDefault, FrameworkLog log)
public void launch(ParameterizedRunnable app, Object applicationContext)
ApplicationLauncherlaunch in interface ApplicationLauncherapp - a ParameterizedRunnalbe to run on the main thread.applicationContext - the context to launch the runnable withpublic void shutdown()
ApplicationLauncherAfter this method returns this ApplicationLauncher will no longer allow applications to be launched.
shutdown in interface ApplicationLauncherCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.