1 | public void configure(TestElement el) {↵ | | |
|
2 | super.configure(el);↵ | | |
|
3 | XPathExtractor xpe = (XPathExtractor) el;↵ | | |
|
4 | xpathQueryField.setText(xpe.getXPathQuery());↵ | | |
|
5 | defaul↵ | | 1 | if (c instanceof CounterConfig) {↵
|
| | | 2 | CounterConfig config = (CounterConfig) c;↵
|
6 | tField.setText(xpe.getDefaultValue());↵ | | 3 | config.setStart(startField.getText(↵
|
7 | refName↵ | | 4 | ));↵
|
8 | Field.setText(xpe.getRefName());↵ | | 5 | // Bug 22820 if (endField.getText(↵
|
9 | tolerant.setSelected(xpe.isTolerant());↵ | | |
|
10 | quiet.setSelected(xpe.isQuiet());↵ | | |
|
11 | showWarnings.setSelected(xpe.showWarnings());↵ | | |
|
12 | reportErrors.setSelected(xpe.reportErrors());↵ | | |
|
13 | nameSpace.setSelected(xpe.useNameSpace());↵ | | |
|
14 | setTidyOptions(tolerant↵ | | 6 | ).length() > 0)↵
|
| | | 7 | {↵
|
| | | 8 | config.setEnd(endField.getText());↵
|
| | | 9 | }↵
|
| | | 10 | config.setIncrement(incrField.getText());↵
|
| | | 11 | config.setVarName(varNameField.getText());↵
|
| | | 12 | config.setFormat(formatField.getText());↵
|
15 | .isSelected());↵ | | 13 | config.setIsPerUser(perUserField.isSelected());↵
|
16 | | | 14 |
|