org.grinvin.gred.commands
Class MutableGraphPanelToggleCommand
ToggleCommand
org.grinvin.gred.commands.MutableGraphPanelToggleCommand
public abstract class MutableGraphPanelToggleCommand
extends ToggleCommand
Common super class of all toggle commands that work on a mutable graph panel.
Similar to
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()
.
MutableGraphPanelToggleCommand
protected MutableGraphPanelToggleCommand(CommandManager manager,
String id)
Construct an action command of this type.
manager
- Command manager, which must be of class AttributedCommandManager