org.eclipse.core.runtime.internal.adaptor
Class EclipseAppLauncher
java.lang.Object
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
- All Implemented Interfaces:
- ApplicationLauncher
public class EclipseAppLauncher
- extends Object
- implements ApplicationLauncher
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EclipseAppLauncher
public EclipseAppLauncher(BundleContext context,
boolean relaunch,
boolean failOnNoDefault,
FrameworkLog log)
start
public Object start(Object defaultContext)
throws Exception
- Throws:
Exception
launch
public void launch(ParameterizedRunnable app,
Object applicationContext)
- Description copied from interface:
ApplicationLauncher
- Launches the specified runnable using the main thread.
- Specified by:
launch in interface ApplicationLauncher
- Parameters:
app - a ParameterizedRunnalbe to run on the main thread.applicationContext - the context to launch the runnable with
shutdown
public void shutdown()
- Description copied from interface:
ApplicationLauncher
- Forces the current runnable which is running to be stopped.
This method will return after the currently running ParameterizedRunnable
has completely stopped.
After this method returns this ApplicationLauncher will no longer allow
applications to be launched.
- Specified by:
shutdown in interface ApplicationLauncher
reStart
public Object reStart(Object argument)
throws Exception
- Throws:
Exception
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.