At the moment there is no label provider, which would provide element, representing just a column (even cell). It is actually quite logical, if you think about it. So, you should rely on column index to fetch the data (for example, having a switch
by column index).
Another possibility would be to do it like this:
TableViewerColumn tableViewerColumn = new TableViewerColumn(tableViewer, SWT.LEFT);
tableViewerColumn.getColumn().setText("Column");
tableViewerColumn.setLabelProvider(new ColumnLabelProvider() {
@Override
public String getText(Object element) {
return ((RowRepresentingObject) element).getColumnValue();
}
});