1 | public void modifyTestElement(TestElement element) {↵ | | 1 | public void configure(TestElement element) {↵
|
2 | this.configureTestElement(element);↵ | | 2 | super.configure(element);↵
|
3 | LineChart bc = (LineChart)element;↵ | | 3 | ↵
|
4 | bc.setXAxis(xItems.getText());↵ | | |
|
5 | bc.setYAxis(yItems.getText());↵ | | |
|
6 | bc.setXLabel(xAxisLabel.getText());↵ | | |
|
7 | bc.setYLabel(yAxisLabel.getText↵ | | 4 | BSFSampler sampler = (BSFSampler) element;↵
|
| | | 5 | scriptField.setText(sampler.getScript());↵
|
8 | ());↵ | | 6 | langField.setSelectedItem(sampler.getScriptLanguage());↵
|
9 | bc.setCaption(caption.getText());↵ | | 7 | ↵
|
10 | bc.setURLs(urls.getText↵ | | 8 | filename.setText(sampler.getFilename());↵
|
11 | ());↵ | | 9 | parameters.setText(sampler.getParameters());↵
|
12 | | | 10 |
|