roneditor.ronview.commands
Class ReconnectHLSourceCommand
java.lang.Object
org.eclipse.gef.commands.Command
roneditor.ronview.commands.ReconnectHLSourceCommand
public class ReconnectHLSourceCommand
- extends org.eclipse.gef.commands.Command
command zum ändern des Sources
eines HLArc
Field Summary |
protected ronmodel.HLArc |
hlArc
|
protected ronmodel.HLNode |
newSource
|
protected ronmodel.HLNode |
oldSource
|
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 |
getNewSource()
|
void |
redo()
Redo command execution. |
void |
setHLArc(ronmodel.HLArc hlArc)
|
void |
setNewSource(ronmodel.HLNode newSource)
|
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 |
oldSource
protected ronmodel.HLNode oldSource
newSource
protected ronmodel.HLNode newSource
hlArc
protected ronmodel.HLArc hlArc
ReconnectHLSourceCommand
public ReconnectHLSourceCommand()
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
getNewSource
public ronmodel.HLNode getNewSource()
setNewSource
public void setNewSource(ronmodel.HLNode newSource)
getHLArc
public ronmodel.HLArc getHLArc()
setHLArc
public void setHLArc(ronmodel.HLArc hlArc)