1 | public void configure(TestElement el) {↵ | | 1 | public void configure(TestElement element) {↵
|
2 | super.configure(el);↵ | | 2 | super.configure(element);↵
|
3 | XPathExtractor xpe = (XPathExtractor) el;↵ | | 3 | ↵
|
4 | xpathQuery↵ | | 4 | CounterConfig config = (CounterConfig) element;↵
|
5 | Field.setText(xpe.getXPathQuery());↵ | | 5 | startField.setText(config.getStartAsString());↵
|
6 | defaultField.setText(xpe.getDefaultValue());↵ | | 6 | endField.setText(config.getEndAsString());↵
|
7 | refNameField.setText(xpe.getRefName());↵ | | 7 | incrField.setText(↵
|
8 | tolerant.setSelected(xpe.isTolerant());↵ | | |
|
9 | quiet.setSelected(xpe.isQuiet());↵ | | |
|
10 | showWarnings.setSelected(xpe.showWarnings());↵ | | |
|
11 | reportErrors.setSelected(xpe.reportErrors());↵ | | |
|
12 | nameSpace.setSelected(xpe.useNameSpace());↵ | | |
|
13 | setTidyOptions(tolerant.isSelected↵ | | 8 | config.getIncrementAsString());↵
|
| | | 9 | formatField.setText(config.getFormat());↵
|
| | | 10 | varNameField.setText(config.getVarName());↵
|
14 | ());↵ | | 11 | perUserField.setSelected(config.isPerUser());↵
|
15 | | | 12 |
|