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)
ApplicationLauncher
launch
in interface ApplicationLauncher
app
- a ParameterizedRunnalbe to run on the main thread.applicationContext
- the context to launch the runnable withpublic void shutdown()
ApplicationLauncher
After this method returns this ApplicationLauncher will no longer allow applications to be launched.
shutdown
in interface ApplicationLauncher
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.