roneditor.ronview.commands
Class FireFireHLTransitionCommand
java.lang.Object
org.eclipse.gef.commands.Command
roneditor.ronview.commands.FireFireHLTransitionCommand
public class FireFireHLTransitionCommand
- extends org.eclipse.gef.commands.Command
command zum feuern ein fireTransition
Method Summary |
boolean |
canExecute()
True if the command can be executed, false otherwise. |
void |
execute()
ein selektierte ONTransition in einem Selektierten
ObjectNet in einem Vorbereichstelle eines HLTransition wird
gefeuert.das resultierende ObjectNet wird in allen Nachbereichstellen
kopiert und das ursprungliche wird gelöscht |
void |
redo()
|
void |
setCopyOfSourceObjectNet(ronmodel.ObjectNet copyOfSourceObjectNet)
|
void |
setHLTransition(ronmodel.HLTransition transition)
|
void |
setONTransition(ronmodel.ONTransition transition)
|
void |
setSourceObjectNet(ronmodel.ObjectNet sourceObjectNet)
|
void |
undo()
|
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 |
hlTransition
private ronmodel.HLTransition hlTransition
onTransition
private ronmodel.ONTransition onTransition
sourceObjectNet
private ronmodel.ObjectNet sourceObjectNet
copyOfSourceObjectNet
private ronmodel.ObjectNet copyOfSourceObjectNet
sourcePlace
private ronmodel.HLPlace sourcePlace
targetObjectNets
private java.util.Map<ronmodel.ObjectNet,ronmodel.HLPlace> targetObjectNets
FireFireHLTransitionCommand
public FireFireHLTransitionCommand()
execute
public void execute()
- ein selektierte
ONTransition
in einem Selektierten
ObjectNet
in einem Vorbereichstelle eines HLTransition
wird
gefeuert.das resultierende ObjectNet
wird in allen Nachbereichstellen
kopiert und das ursprungliche wird gelöscht
- Overrides:
execute
in class org.eclipse.gef.commands.Command
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()
canExecute
public boolean canExecute()
- True if the command can be executed, false otherwise.
- Overrides:
canExecute
in class org.eclipse.gef.commands.Command
setHLTransition
public void setHLTransition(ronmodel.HLTransition transition)
setONTransition
public void setONTransition(ronmodel.ONTransition transition)
setSourceObjectNet
public void setSourceObjectNet(ronmodel.ObjectNet sourceObjectNet)
setCopyOfSourceObjectNet
public void setCopyOfSourceObjectNet(ronmodel.ObjectNet copyOfSourceObjectNet)