roneditor.ronview.commands
Class MoveHLBendpointCommand

java.lang.Object
  extended by org.eclipse.gef.commands.Command
      extended by roneditor.objectnetview.commands.AbstractBendpointCommand
          extended by roneditor.ronview.commands.MoveHLBendpointCommand

public class MoveHLBendpointCommand
extends AbstractBendpointCommand

Command zum Verschieben eines BendPoint


Field Summary
 
Fields inherited from class roneditor.objectnetview.commands.AbstractBendpointCommand
bendPoint, d1, d2, hlArc, index, location, onArc
 
Constructor Summary
MoveHLBendpointCommand()
           
 
Method Summary
 void execute()
          die Position eines existierendes Bendpoint wird geändert
protected  ronmodel.BendPoint getOldBendpoint()
           
 void setOldBendpoint(ronmodel.BendPoint bp)
           
 void undo()
           
 
Methods inherited from class roneditor.objectnetview.commands.AbstractBendpointCommand
getBendPoint, getFirstRelativeDimension, getHLArc, getIndex, getLocation, getONArc, getSecondRelativeDimension, redo, setBendPoint, setHLArc, setIndex, setLocation, setONArc, setRelativeDimensions
 
Methods inherited from class org.eclipse.gef.commands.Command
canExecute, canUndo, chain, dispose, getDebugLabel, getLabel, setDebugLabel, setLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveHLBendpointCommand

public MoveHLBendpointCommand()
Method Detail

execute

public void execute()
die Position eines existierendes Bendpoint wird geändert

Overrides:
execute in class org.eclipse.gef.commands.Command

getOldBendpoint

protected ronmodel.BendPoint getOldBendpoint()

setOldBendpoint

public void setOldBendpoint(ronmodel.BendPoint bp)

undo

public void undo()
Overrides:
undo in class org.eclipse.gef.commands.Command
See Also:
Command.undo()