com.tensegrity.skeleton.swing.launch
Class RepositoryLaunchTask

java.lang.Object
  extended bycom.tensegrity.gui.launch.LaunchTask
      extended bycom.tensegrity.skeleton.swing.launch.AbstractLaunchTask
          extended bycom.tensegrity.skeleton.swing.launch.RepositoryLaunchTask

public class RepositoryLaunchTask
extends AbstractLaunchTask

Loads the geometries, styles, rules and elements xml files and creates a new slide representing the resulting Composite objects.

Version:
$Id: RepositoryLaunchTask.java,v 1.33 2005/08/08 16:36:36 BurkhardWick Exp $
Author:
GillesIachelini

Field Summary
 
Fields inherited from class com.tensegrity.gui.launch.LaunchTask
lasterror, LAUNCHTASKSTATUS_FATAL, LAUNCHTASKSTATUS_FATAL_RETRY, LAUNCHTASKSTATUS_SERIOUS, LAUNCHTASKSTATUS_SERIOUS_RETRY, LAUNCHTASKSTATUS_SHUTDOWN, LAUNCHTASKSTATUS_SUCCESS, LAUNCHTASKSTATUS_WARNING
 
Constructor Summary
RepositoryLaunchTask(ApplicationFrame applicationFrame)
          Creates the RepositoryLaunchTask.
RepositoryLaunchTask(ApplicationFrame applicationFrame, java.lang.String nameKey)
          Constructor
 
Method Summary
 void postCreate(java.lang.Object object)
          Receives the newly create SlidePanel with all the previously created and add SlidePanels such as Simple Shapes and Complex shapes.
 int run()
          The run method of this launch task.
 
Methods inherited from class com.tensegrity.skeleton.swing.launch.AbstractLaunchTask
findResourceText, getApplicationFrame, getName, getStatusPrefix, getStatusPrefixResourceKey
 
Methods inherited from class com.tensegrity.gui.launch.LaunchTask
getError, getStatusDetails
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryLaunchTask

public RepositoryLaunchTask(ApplicationFrame applicationFrame)
Creates the RepositoryLaunchTask.

Parameters:
applicationFrame - Application context for this LaunchTask.

RepositoryLaunchTask

public RepositoryLaunchTask(ApplicationFrame applicationFrame,
                            java.lang.String nameKey)
Constructor

Parameters:
applicationFrame - a valid instance of ApplicationFrame.
nameKey - the resource key for the name of this launchtask
Method Detail

postCreate

public void postCreate(java.lang.Object object)
Receives the newly create SlidePanel with all the previously created and add SlidePanels such as Simple Shapes and Complex shapes.

Specified by:
postCreate in class AbstractLaunchTask
Parameters:
object -
See Also:
AbstractLaunchTask.postCreate(Object)

run

public int run()
        throws java.lang.Exception
Description copied from class: LaunchTask
The run method of this launch task. The returned status indicates what the invoker is supposed to do after the task executed.

Specified by:
run in class LaunchTask
Returns:
one of the LAUNCHTASKSTATUS_* constants defined in this interface.
Throws:
java.lang.Exception


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