APStudio.models.commands
Class BendpointCommand

java.lang.Object
  |
  +--org.eclipse.gef.commands.Command
        |
        +--APStudio.models.commands.BendpointCommand
Direct Known Subclasses:
CreateBendpointCommand, DeleteBendpointCommand, MoveBendpointCommand

public class BendpointCommand
extends org.eclipse.gef.commands.Command


Constructor Summary
BendpointCommand()
           
 
Method Summary
 void redo()
           
 void setConnector(Connector c)
           
 void setIndex(int i)
           
 void setLocation(org.eclipse.draw2d.geometry.Point p)
           
 void setRelativeDimensions(org.eclipse.draw2d.geometry.Dimension dim1, org.eclipse.draw2d.geometry.Dimension dim2)
           
 
Methods inherited from class org.eclipse.gef.commands.Command
canExecute, canUndo, chain, dispose, execute, getDebugLabel, getLabel, setDebugLabel, setLabel, undo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BendpointCommand

public BendpointCommand()
Method Detail

redo

public void redo()
Overrides:
redo in class org.eclipse.gef.commands.Command

setRelativeDimensions

public void setRelativeDimensions(org.eclipse.draw2d.geometry.Dimension dim1,
                                  org.eclipse.draw2d.geometry.Dimension dim2)

setIndex

public void setIndex(int i)

setLocation

public void setLocation(org.eclipse.draw2d.geometry.Point p)

setConnector

public void setConnector(Connector c)