public class SetQueryCommand extends AbstractCommand
version| Constructor and Description |
|---|
SetQueryCommand(Query query,
String oldFormula,
String oldComment,
String newFormula,
String newComment)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
Element |
getModifiedElement() |
Query |
getQueryProperty() |
void |
setText(String newFormula,
String newComment)
Set the new query property and comment text
|
void |
undo() |
getVersion, setVersionpublic SetQueryCommand(Query query, String oldFormula, String oldComment, String newFormula, String newComment)
query - - The query objectoldFormula - - The old query formulaoldComment - - The old query commentnewFormula - - The new query formulanewComment - - The new query commentCopyright © 2014 Uppsala University and Aalborg University. All Rights Reserved.