public interface ApplicationLauncherAn ApplicationLauncher is used to launch ParameterizedRunnable objects using the main thread.
This interface is not intended to be implemented by clients.
This class is for internal use by the platform-related plug-ins. Clients outside of the base platform should not reference or subclass this class.
- This interface is not intended to be implemented by clients.
void launch(ParameterizedRunnable runnable, Object context)Launches the specified runnable using the main thread.
runnable- a ParameterizedRunnalbe to run on the main thread.
context- the context to launch the runnable with
void shutdown()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.