1 | public void configure(TestElement element) {↵ | | |
|
2 | super.configure(element);↵ | | 1 | if (c instanceof CounterConfig) {↵
|
3 | CounterConfig config = (CounterConfig) element;↵ | | 2 | CounterConfig config = (CounterConfig) ↵
|
4 | startField.setText(↵ | | 3 | c;↵
|
5 | config.getStartAsString());↵ | | 4 | config.setStart↵
|
6 | ↵ | | 5 | (startField.getText());↵
|
7 | endField.setText(↵ | | 6 | // Bug 22820 if (endField.getText().length() > 0)↵
|
| | | 7 | {↵
|
8 | config.getEndAsString());↵ | | 8 | config.setEnd↵
|
9 | incrField.setText(↵ | | 9 | (endField.getText());↵
|
| | | 10 | }↵
|
10 | config.getIncrementAsString());↵ | | 11 | config.setIncrement↵
|
11 | formatField.setText(↵ | | 12 | (incrField.getText());↵
|
12 | config.getFormat());↵ | | 13 | config.set↵
|
13 | varNameField.setText(↵ | | 14 | VarName(varNameField.getText());↵
|
14 | config.getVarName());↵ | | 15 | config.set↵
|
15 | ↵ | | 16 | Format(formatField.getText());↵
|
16 | perUserField.setSelected(config.isPerUser());↵ | | 17 | config.setIsPerUser(perUserField.isSelected());↵
|
17 | | | 18 |
|