roneditor.ronview.commands
Class FireApplyRuleHLTransitionCommand
java.lang.Object
org.eclipse.gef.commands.Command
roneditor.ronview.commands.FireApplyRuleHLTransitionCommand
public class FireApplyRuleHLTransitionCommand
- extends org.eclipse.gef.commands.Command
Class zum feuern ein ApplyRule-HLTransition
Field Summary |
private java.util.Map<ronmodel.Token,ronmodel.HLPlace> |
sourceTokens
|
private java.util.Map<ronmodel.Token,ronmodel.HLPlace> |
targetTokens
|
private ronmodel.HLTransition |
transition
|
Method Summary |
boolean |
canExecute()
True if the command can be executed, false otherwise. |
void |
execute()
auf das Union alle selektierten objectNets im Vorbereich wird das
selektiete regel angewendet. alle selektierten elementen im Vorbereich werden
entfernt und das ergebnis wird in Alle NetPlaces im Nachbereich eingefügt
und die selektierte Regel wird in alle RulePlaces im Nachbereich eingefügt |
void |
redo()
|
void |
setTransition(ronmodel.HLTransition transition)
|
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 |
transition
private ronmodel.HLTransition transition
sourceTokens
private java.util.Map<ronmodel.Token,ronmodel.HLPlace> sourceTokens
targetTokens
private java.util.Map<ronmodel.Token,ronmodel.HLPlace> targetTokens
FireApplyRuleHLTransitionCommand
public FireApplyRuleHLTransitionCommand()
execute
public void execute()
- auf das Union alle selektierten
objectNets
im Vorbereich wird das
selektiete regel
angewendet. alle selektierten elementen im Vorbereich werden
entfernt und das ergebnis wird in Alle NetPlaces im Nachbereich eingefügt
und die selektierte Regel wird in alle RulePlaces im Nachbereich eingefügt
- 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()
canExecute
public boolean canExecute()
- True if the command can be executed, false otherwise.
- Overrides:
canExecute
in class org.eclipse.gef.commands.Command
setTransition
public void setTransition(ronmodel.HLTransition transition)