org.grinvin.gred.commands

Class GraphPanelCommand

Known Direct Subclasses:
ClearSelection, SelectAll, SnapshotCommand

public abstract class GraphPanelCommand
extends ActionCommand

Common super class of all action commands that work on a graph panel. The graph panel is assumed to be installed as an attribute to the command manager with key GraphPanel.class.getName().

Field Summary

protected GraphPanel
panel
Panel onto which this command acts.

Constructor Summary

GraphPanelCommand(CommandManager manager, String id)
Construct an action command of this type.

Field Details

panel

protected GraphPanel panel
Panel onto which this command acts.

Constructor Details

GraphPanelCommand

protected GraphPanelCommand(CommandManager manager,
                            String id)
Construct an action command of this type.
Parameters:
manager - Command manager, which must be of class AttributedCommandManager