com.tensegrity.skeleton.launch
Class LayoutPoolElementsLaunchTask
java.lang.Object
com.tensegrity.gui.launch.LaunchTask
com.tensegrity.skeleton.swing.launch.AbstractLaunchTask
com.tensegrity.skeleton.launch.LayoutPoolElementsLaunchTask
- public class LayoutPoolElementsLaunchTask
- extends AbstractLaunchTask
This launch task is responsible for layouting VisualSubgraphs
that are part of the ElementPool and to which valid layout
contexts have been assigned. To assign layout contexts you can use the
attributes "NodeLayoutContext" and "EdgeLayoutContext" in the "NodeElement"
of an elements XML file.
An instance of this class can be used in the list of launch tasks
that are performed during starup of an application. This launch task
must be placed after the initialization of the layout and before creation
of the shape repository.
- Author:
- BurkhardWick
|
Method Summary |
void |
postCreate(java.lang.Object object)
This method is called right before the run method is
finished. |
int |
run()
The run method of this launch task. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayoutPoolElementsLaunchTask
public LayoutPoolElementsLaunchTask(ApplicationFrame applicationFrame)
- Constructor
- Parameters:
applicationFrame - The ApplicationFrame
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
postCreate
public void postCreate(java.lang.Object object)
- Description copied from class:
AbstractLaunchTask
- This method is called right before the
run method is
finished. This method is an entry point to modify a created item.
- Specified by:
postCreate in class AbstractLaunchTask
- Parameters:
object -
Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.