use of org.apache.jorphan.collections.Data in project jmeter by apache.
the class PowerTableModel method clearData.
public void clearData() {
String[] headers = model.getHeaders();
model = new Data();
model.setHeaders(headers);
this.fireTableDataChanged();
}
use of org.apache.jorphan.collections.Data in project jmeter by apache.
the class SimpleConfigGui method modifyTestElement.
/**
* Get all of the values from the GUI component and set them in the
* TestElement.
*
* @param el
* the TestElement to modify
*/
@Override
public void modifyTestElement(TestElement el) {
GuiUtils.stopTableEditing(table);
Data model = tableModel.getData();
model.reset();
while (model.next()) {
el.setProperty(new StringProperty((String) model.getColumnValue(COLUMN_NAMES_0), (String) model.getColumnValue(COLUMN_NAMES_1)));
}
super.configureTestElement(el);
}
Aggregations