APStudio.models.commands
Class SetConstraintCommand
java.lang.Object
|
+--org.eclipse.gef.commands.Command
|
+--APStudio.models.commands.SetConstraintCommand
- public class SetConstraintCommand
- extends org.eclipse.gef.commands.Command
Methods inherited from class org.eclipse.gef.commands.Command |
canExecute, canUndo, chain, dispose, getDebugLabel, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetConstraintCommand
public SetConstraintCommand()
execute
public void execute()
- Overrides:
execute
in class org.eclipse.gef.commands.Command
getLabel
public java.lang.String getLabel()
- Overrides:
getLabel
in class org.eclipse.gef.commands.Command
redo
public void redo()
- Overrides:
redo
in class org.eclipse.gef.commands.Command
setLocation
public void setLocation(org.eclipse.draw2d.geometry.Rectangle r)
setLocation
public void setLocation(org.eclipse.draw2d.geometry.Point p)
setPart
public void setPart(BasicSubpart part)
setSize
public void setSize(org.eclipse.draw2d.geometry.Dimension p)
undo
public void undo()
- Overrides:
undo
in class org.eclipse.gef.commands.Command