org.grinvin.gred.commands
Class AutoSnap
Toggles the state of the 'snap to guides' flag on the graph panel.
AutoSnap(CommandManager manager, String id) - Construct an action command of this type.
|
protected void | handleSelection(boolean selected) - Toggle the 'snap to guides' flag of the panel.
|
AutoSnap
public AutoSnap(CommandManager manager,
String id)
Construct an action command of this type.
manager
- Command manager, which must be of class AttributedCommandManager
handleSelection
protected void handleSelection(boolean selected)
throws ToggleVetoException
Toggle the 'snap to guides' flag of the panel.