Package org.csstudio.opibuilder.commands
Class MoveGuideCommand
java.lang.Object
org.eclipse.gef.commands.Command
org.csstudio.opibuilder.commands.MoveGuideCommand
public final class MoveGuideCommand
extends org.eclipse.gef.commands.Command
A Command to move a Guide.
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.gef.commands.Command
canExecute, canRedo, canUndo, chain, dispose, getDebugLabel, getLabel, redo, setDebugLabel, setLabel
-
Constructor Details
-
MoveGuideCommand
Constructor.- Parameters:
guide
- the guide, which position has changedpDelta
- the distance
-
-
Method Details
-
execute
public void execute()- Overrides:
execute
in classorg.eclipse.gef.commands.Command
-
undo
public void undo()- Overrides:
undo
in classorg.eclipse.gef.commands.Command
-