org.grinvin.gred.commands
Class MutableGraphPanelCommand
ActionCommand
org.grinvin.gred.commands.MutableGraphPanelCommand
public abstract class MutableGraphPanelCommand
extends ActionCommand
Common super class of all action commands that work on a mutable graph panel.
Very similar toe
GraphPanelCommand
but assumes that the graph panel
is of type
MutableGraphPanel
. The graph panel
is assumed to be installed as an attribute to the command manager with
key
GraphPanel.class.getName()
.
Note: this key is NOT
MutableGraphPanel.class.getName()
.
MutableGraphPanelCommand
protected MutableGraphPanelCommand(CommandManager manager,
String id)
Construct an action command of this type.
manager
- Command manager, which must be of class AttributedCommandManager