com.tensegrity.skeleton.swt.launch
Class SwtGraphPanelPopupMenuLaunchTask

java.lang.Object
  extended bycom.tensegrity.gui.launch.LaunchTask
      extended bycom.tensegrity.skeleton.swing.launch.AbstractLaunchTask
          extended bycom.tensegrity.skeleton.swt.launch.SwtMenuLaunchTask
              extended bycom.tensegrity.skeleton.swt.launch.SwtGraphPanelPopupMenuLaunchTask

public class SwtGraphPanelPopupMenuLaunchTask
extends SwtMenuLaunchTask

This launch task creates the SwtGraphPanelPopupMenuSource of a given SwtApplicationFrame.

Version:
$Id: SwtGraphPanelPopupMenuLaunchTask.java,v 1.4 2005/08/08 16:36:36 BurkhardWick Exp $
Author:
S�bastien Guyon
See Also:
SwtApplicationFrame.setGraphPanelPopupMenuSource(JPopupMenuSourceWithUpdateUI), SwtGraphPanelPopupMenuSource

Nested Class Summary
 
Nested classes inherited from class com.tensegrity.skeleton.swt.launch.SwtMenuLaunchTask
SwtMenuLaunchTask.menuItemsListener
 
Field Summary
static java.lang.String LAUNCH_TASK_NAME
          String constant for this launch tasks name.
 
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
SwtGraphPanelPopupMenuLaunchTask(SwtApplicationFrame applicationFrame)
          Creates the SwtGraphPanelPopupMenuLaunchTask instance which creates the SwtGraphPanelPopupMenuSource for the passed SwtApplicationFrame.
 
Method Summary
 void postCreate(java.lang.Object object)
          This method is invoked once the run() method is about to return.
 int run()
          The run method of this launch task.
 
Methods inherited from class com.tensegrity.skeleton.swt.launch.SwtMenuLaunchTask
addMenuItem, addMenuItem, addSeparator, createMenu, createSubMenu
 
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
 

Field Detail

LAUNCH_TASK_NAME

public static final java.lang.String LAUNCH_TASK_NAME
String constant for this launch tasks name.

See Also:
Constant Field Values
Constructor Detail

SwtGraphPanelPopupMenuLaunchTask

public SwtGraphPanelPopupMenuLaunchTask(SwtApplicationFrame applicationFrame)
Creates the SwtGraphPanelPopupMenuLaunchTask instance which creates the SwtGraphPanelPopupMenuSource for the passed SwtApplicationFrame.

Parameters:
applicationFrame - Application context for this LaunchTask.
Method Detail

postCreate

public void postCreate(java.lang.Object object)
This method is invoked once the run() method is about to return. The parameter is the SwtGraphPanelPopupMenuSource created by this launch task.

Overrides:
postCreate in class SwtMenuLaunchTask
Parameters:
object - the SwtGraphPanelPopupMenuSource created by this launch task.
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.