public class RemoveQueryCommand extends AbstractCommand
| Modifier and Type | Field and Description |
|---|---|
protected int |
index
The insert index
|
protected Query |
query
The new query property
|
protected QueryList |
queryList
The query list model
|
version| Constructor and Description |
|---|
RemoveQueryCommand(QueryList queryListModel,
int index)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
Element |
getModifiedElement() |
void |
undo() |
getVersion, setVersionprotected final Query query
protected final QueryList queryList
protected final int index
public RemoveQueryCommand(QueryList queryListModel, int index)
queryListModel - - The queriesindex - - The remove indexpublic void execute()
public void undo()
public Element getModifiedElement()
Copyright © 2014 Uppsala University and Aalborg University. All Rights Reserved.