1 | public void modifyTestElement(TestElement extractor) {↵ | | 1 | public void configure(TestElement element) {↵
|
2 | super.configureTestElement(extractor);↵ | | 2 | super.configure(element);↵
|
3 | if ( extractor instanceof XPathExtractor){↵ | | 3 | ↵
|
4 | XPathExtractor xpath = (XPathExtractor)extractor;↵ | | 4 | BarChart bc = (BarChart)element;↵
|
5 | xpath.setDefaultValue(defaultField.getText());↵ | | 5 | xItems.setText(bc.getXAxis());↵
|
6 | xpath.setRefName(refNameField.getText());↵ | | 6 | yItems.setText(bc.getYAxis());↵
|
7 | xpath.setXPathQuery(xpathQueryField.getText());↵ | | 7 | ↵
|
8 | xpath.setTolerant(tolerant.isSelected());↵ | | 8 | xAxisLabel.setText(bc.getXLabel());↵
|
9 | xpath.setNameSpace(nameSpace.isSelected());↵ | | 9 | ↵
|
10 | xpath.setShowWarnings(showWarnings.isSelected());↵ | | |
|
11 | xpath.setReportErrors(reportErrors.isSelected↵ | | 10 | yAxisLabel.setText(bc.getYLabel());↵
|
12 | ());↵ | | 11 | caption.setText(bc.getCaption());↵
|
13 | xpath.setQuiet(quiet.isSelected());↵ | | 12 | ↵
|
14 | }↵ | | 13 | url.setText(bc.getURL());↵
|
15 | | | 14 |
|