roneditor.ronview.commands
Class DeleteHLArcCommand
java.lang.Object
org.eclipse.gef.commands.Command
roneditor.ronview.commands.DeleteHLArcCommand
public class DeleteHLArcCommand
- extends org.eclipse.gef.commands.Command
Command for deleting a HLArc
.
Methods inherited from class org.eclipse.gef.commands.Command |
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 |
DeleteCommand_Label
private static final java.lang.String DeleteCommand_Label
- See Also:
- Constant Field Values
hlArc
private ronmodel.HLArc hlArc
source
private ronmodel.HLNode source
target
private ronmodel.HLNode target
ron
private ronmodel.RON ron
DeleteHLArcCommand
public DeleteHLArcCommand()
- constructor
execute
public void execute()
- Entry point for command execution.
ein existierendes
HLArc
zwischen 2 hlNodes
wird gelöscht
- Overrides:
execute
in class org.eclipse.gef.commands.Command
redo
public void redo()
- Overrides:
redo
in class org.eclipse.gef.commands.Command
undo
public void undo()
- Undo command execution.
- Overrides:
undo
in class org.eclipse.gef.commands.Command
canExecute
public boolean canExecute()
- Overrides:
canExecute
in class org.eclipse.gef.commands.Command
getHlArc
public ronmodel.HLArc getHlArc()
setHlArc
public void setHlArc(ronmodel.HLArc hlArc)
getRon
public ronmodel.RON getRon()
setRon
public void setRon(ronmodel.RON ron)
getSource
public ronmodel.HLNode getSource()
setSource
public void setSource(ronmodel.HLNode source)
getTarget
public ronmodel.HLNode getTarget()
setTarget
public void setTarget(ronmodel.HLNode target)