Package com.uppaal.model.core2
Class RemoveQueryCommand
java.lang.Object
com.uppaal.model.core2.AbstractCommand
com.uppaal.model.core2.RemoveQueryCommand
- All Implemented Interfaces:
Command
public class RemoveQueryCommand extends AbstractCommand
The remove query command class
-
Field Summary
-
Constructor Summary
Constructors Constructor Description RemoveQueryCommand(QueryList queryList, int index)ConstructorRemoveQueryCommand(QueryList queryList, Query query) -
Method Summary
-
Field Details
-
Constructor Details
-
RemoveQueryCommand
Constructor- Parameters:
queryList- - The queriesindex- - The remove index
-
RemoveQueryCommand
-
-
Method Details
-
execute
public void execute() -
undo
public void undo() -
getModifiedElement
- Returns:
- the modified element or its closest relative (sibling or parent) if the element is not displayed.
-
getQuery
-
getIndex
public int getIndex()
-