y.module
Class LaunchModuleAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--y.module.LaunchModuleAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable

public class LaunchModuleAction
extends AbstractAction

An action that launches a YModule. If the module provides an OptionHandler then it's option editor will be automatically displayed before the module gets started.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
LaunchModuleAction(ViewContainer vc, YModule module)
          Creates a new instance of LaunchModuleAction.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Displays an option editor for a module and then launches it.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaunchModuleAction

public LaunchModuleAction(ViewContainer vc,
                          YModule module)
Creates a new instance of LaunchModuleAction.

Parameters:
vc - the view container that provides access to the underlying graph.
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Displays an option editor for a module and then launches it.


© Copyright 2000-2003,
yWorks GmbH.
All rights reserved.

2003