|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.commands.Command
roneditor.objectnetview.commands.AbstractBendpointCommand
roneditor.objectnetview.commands.MoveBendpointCommand
public class MoveBendpointCommand
MoveBendpoints enables a Bendpoint to be moved. It stores the new and the old position of a Bendpoint
Field Summary |
---|
Fields inherited from class roneditor.objectnetview.commands.AbstractBendpointCommand |
---|
bendPoint, d1, d2, hlArc, index, location, onArc |
Constructor Summary | |
---|---|
MoveBendpointCommand()
|
Method Summary | |
---|---|
void |
execute()
|
protected ronmodel.BendPoint |
getOldBendpoint()
|
void |
setOldBendpoint(ronmodel.BendPoint bp)
setzt den BendPoint auf alte Position |
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 |
---|
public MoveBendpointCommand()
Method Detail |
---|
public void execute()
execute
in class org.eclipse.gef.commands.Command
protected ronmodel.BendPoint getOldBendpoint()
public void setOldBendpoint(ronmodel.BendPoint bp)
public void undo()
undo
in class org.eclipse.gef.commands.Command
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |