tableViewer.setContentProvider(new DefaultTableProvider() {
public Object[] getElements(Object inputElement)
{
IBundleRepository rep = (IBundleRepository) inputElement;
IRepositoryModel model = SigilCore.getRepositoryModel(rep);
return toArray(model.getProperties().entrySet());
}
});
TableViewerColumn keyCol = new TableViewerColumn(tableViewer, SWT.NONE);
keyCol.getColumn().setText("Key");