com.tensegrity.gui.launch
Interface ApplicationLauncher

All Known Implementing Classes:
SimpleLauncher, SplashScreenLauncher, SwtSimpleLauncher, SwtSplashScreenLauncher

public interface ApplicationLauncher

This interface is typically implemented by a class that displays a splash screen and executes several launch tasks. After it is done it will return from its main launch() method.

Version:
$Id: ApplicationLauncher.java,v 1.2 2003/07/30 13:11:02 sr Exp $
Author:
S. Rutz

Method Summary
 boolean launch()
          Launches all of the registered tasks.
 void registerLaunchTask(LaunchTask launchtask)
          Adds a launchtask to the splash screen launcher.
 void unregisterLaunchTask(LaunchTask launchtask)
          Removes a launchtask from the splash screen launcher.
 

Method Detail

registerLaunchTask

public void registerLaunchTask(LaunchTask launchtask)
Adds a launchtask to the splash screen launcher.

Parameters:
launchtask - the task to register with the launcher.

unregisterLaunchTask

public void unregisterLaunchTask(LaunchTask launchtask)
Removes a launchtask from the splash screen launcher.

Parameters:
launchtask - the task to unregister from the launcher.

launch

public boolean launch()
Launches all of the registered tasks.

Returns:
true if the launching succeeded, false indicates a fatal error.


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.