1 | public void configure(TestElement element) {↵ | | |
|
2 | super.configure(element);↵ | | |
|
3 | BarChart bc = (BarChart)element;↵ | | |
|
4 | xItems.setText(bc.getXAxis());↵ | | |
|
5 | yItems.setText(bc.getYAxis());↵ | | |
|
6 | xAxisLabel.setText(bc.getXLabel());↵ | | |
|
7 | yAxisLabel.setText(bc.getYLabel());↵ | | |
|
8 | caption.setText(bc.getCaption());↵ | | |
|
9 | url.setText(bc.getURL↵ | | 1 | if (c instanceof CounterConfig) {↵
|
| | | 2 | CounterConfig config = (CounterConfig) c;↵
|
| | | 3 | config.setStart(startField.getText());↵
|
| | | 4 | // Bug 22820 if (endField.getText().length() > 0)↵
|
| | | 5 | {↵
|
| | | 6 | config.setEnd(endField.getText());↵
|
| | | 7 | }↵
|
| | | 8 | config.setIncrement(incrField.getText());↵
|
| | | 9 | config.setVarName(varNameField.getText());↵
|
| | | 10 | config.setFormat(formatField.getText());↵
|
10 | ());↵ | | 11 | config.setIsPerUser(perUserField.isSelected());↵
|
11 | | | 12 |
|