use of org.talend.designer.components.exchange.model.ComponentExtension in project tdi-studio-se by Talend.
the class ImportCompatibleEcoComponentsComposite method addItemElements.
public void addItemElements(List<ComponentExtension> extensions) {
if (extensions == null || extensions.isEmpty()) {
return;
}
table.setRedraw(false);
for (final ComponentExtension object : extensions) {
final TableItem tableItem = new TableItem(table, SWT.NONE);
tableItem.setData(object);
tableItem.setText(0, object.getLabel());
tableItem.setText(1, object.getAuthor());
tableItem.setText(2, object.getVersionExtension());
tableItem.setText(3, object.getDescription());
}
table.setRedraw(true);
}
Aggregations