Package com.uppaal.model.core2
Class RemoveTemplateCommand
- java.lang.Object
-
- com.uppaal.model.core2.AbstractCommand
-
- com.uppaal.model.core2.RemoveTemplateCommand
-
- All Implemented Interfaces:
Command
public class RemoveTemplateCommand extends AbstractCommand
The remove template command
-
-
Constructor Summary
Constructors Constructor Description RemoveTemplateCommand(Node node)Constructor
-
Method Summary
Modifier and Type Method Description voidexecute()ElementgetModifiedElement()voidundo()-
Methods inherited from class com.uppaal.model.core2.AbstractCommand
getVersion, setVersion
-
-
-
-
Constructor Detail
-
RemoveTemplateCommand
public RemoveTemplateCommand(Node node)
Constructor- Parameters:
node- - The node
-
-
Method Detail
-
execute
public void execute()
-
undo
public void undo()
-
getModifiedElement
public Element getModifiedElement()
- Returns:
- the modified element or its closest relative (sibling or parent) if the element is not displayed.
-
-