roneditor.objectnetview.commands
Class EditONArcCommand
java.lang.Object
org.eclipse.gef.commands.Command
roneditor.objectnetview.commands.EditONArcCommand
public class EditONArcCommand
- extends org.eclipse.gef.commands.Command
Edit onArc properties.
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 |
onArc
private ronmodel.ONArc onArc
oldWeight
private int oldWeight
newWeight
private int newWeight
EditONArcCommand
public EditONArcCommand()
execute
public void execute()
- Properties von einem
ONArc
ändern
- Overrides:
execute
in class org.eclipse.gef.commands.Command
- See Also:
Command.execute()
undo
public void undo()
- Overrides:
undo
in class org.eclipse.gef.commands.Command
- See Also:
Command.undo()
redo
public void redo()
- Overrides:
redo
in class org.eclipse.gef.commands.Command
- See Also:
Command.redo()
getNewWeight
public int getNewWeight()
setNewWeight
public void setNewWeight(int newWeight)
getOnArc
public ronmodel.ONArc getOnArc()
setOnArc
public void setOnArc(ronmodel.ONArc onArc)