org.topcased.modeler.commands
Class MoveBendpointCommand
java.lang.Object
org.eclipse.gef.commands.Command
org.topcased.modeler.commands.MoveBendpointCommand
public class MoveBendpointCommand
- extends org.eclipse.gef.commands.Command
Bendpoint manipulation commands cannot be chained or compounded.
- Since:
- 3.1
Methods inherited from class org.eclipse.gef.commands.Command |
canUndo, chain, dispose, getDebugLabel, getLabel, redo, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MoveBendpointCommand
public MoveBendpointCommand(GraphEdge link,
org.eclipse.draw2d.geometry.Point location,
int index)
canExecute
public boolean canExecute()
- Overrides:
canExecute
in class org.eclipse.gef.commands.Command
execute
public void execute()
- Overrides:
execute
in class org.eclipse.gef.commands.Command
undo
public void undo()
- Overrides:
undo
in class org.eclipse.gef.commands.Command
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.