paramTable.setModel(tableModel);
UserParameters params = (UserParameters) el;
CollectionProperty names = params.getNames();
CollectionProperty threadValues = params.getThreadLists();
tableModel.setColumnData(0, (List) names.getObjectValue());
PropertyIterator iter = threadValues.iterator();
if (iter.hasNext())
{
tableModel.setColumnData(1, (List) iter.next().getObjectValue());
}
int count = 2;
while (iter.hasNext())
{
String colName = THREAD_COLUMNS + "_" + count;
tableModel.addNewColumn(colName, String.class);
tableModel.setColumnData(
count,
(List) iter.next().getObjectValue());
count++;
}
perIterationCheck.setSelected(params.isPerIteration());
super.configure(el);
}