Table tableControl = fTable.getTable();
fTableControl = tableControl;
tableControl.setLayout(new TableLayout());
} else {
TableLayoutComposite composite = new TableLayoutComposite(
parent, SWT.NONE);
composite.setFont(parent.getFont());
fTableControl = composite;
fTable = createTableViewer(composite);
Table tableControl = fTable.getTable();
tableControl.setHeaderVisible(fTableColumns.headers != null);
tableControl.setLinesVisible(fTableColumns.drawLines);
ColumnLayoutData[] columns = fTableColumns.columns;
for (int i = 0; i < columns.length; i++) {
composite.addColumnData(columns[i]);
TableColumn column = new TableColumn(tableControl, SWT.NONE);
// tableLayout.addColumnData(columns[i]);
if (fTableColumns.headers != null) {
column.setText(fTableColumns.headers[i]);
}