roneditor.ronview.commands
Class ReconnectHLTargetCommand
java.lang.Object
org.eclipse.gef.commands.Command
roneditor.ronview.commands.ReconnectHLTargetCommand
public class ReconnectHLTargetCommand
- extends org.eclipse.gef.commands.Command
commad zum ändern des target
eines HLArc
Field Summary |
protected ronmodel.HLArc |
hlArc
|
protected ronmodel.HLNode |
newTarget
|
protected ronmodel.HLNode |
oldTarget
|
Method Summary |
boolean |
canExecute()
True if the command can be executed, false otherwise. |
void |
execute()
Entry point for the command execution. |
ronmodel.HLArc |
getHLArc()
|
ronmodel.HLNode |
getNewTarget()
|
void |
redo()
Redo command execution. |
void |
setHLArc(ronmodel.HLArc hlArc)
|
void |
setNewTarget(ronmodel.HLNode newTarget)
|
void |
undo()
Undo command execution. |
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 |
oldTarget
protected ronmodel.HLNode oldTarget
newTarget
protected ronmodel.HLNode newTarget
hlArc
protected ronmodel.HLArc hlArc
ReconnectHLTargetCommand
public ReconnectHLTargetCommand()
canExecute
public boolean canExecute()
- True if the command can be executed, false otherwise.
- Overrides:
canExecute
in class org.eclipse.gef.commands.Command
execute
public void execute()
- Entry point for the command execution.
- Overrides:
execute
in class org.eclipse.gef.commands.Command
redo
public void redo()
- Redo command execution.
- 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
getNewTarget
public ronmodel.HLNode getNewTarget()
setNewTarget
public void setNewTarget(ronmodel.HLNode newTarget)
getHLArc
public ronmodel.HLArc getHLArc()
setHLArc
public void setHLArc(ronmodel.HLArc hlArc)