y.module
Class LaunchModuleAction
java.lang.Object
javax.swing.AbstractAction
y.module.LaunchModuleAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
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
-
-
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
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.
actionPerformed
public void actionPerformed(ActionEvent e)
- Displays an option editor for a module and then launches it.