Tree table = viewer.getTree();
table.setHeaderVisible(true);
table.setLayoutData(new GridData(GridData.FILL_BOTH));
// resolution
resolutionColumn = new TreeColumn(table, SWT.CENTER);
resolutionColumn.setWidth(60);
resolutionColumn.addListener(SWT.Selection, new HeaderListener(
RESOLUTION_COLUMN));
// priority
priorityColumn = new TreeColumn(table, SWT.CENTER);
priorityColumn.setWidth(20);
priorityColumn
.addListener(SWT.Selection, new HeaderListener(PRIORITY_COLUMN));
// name
problemObjectColumn = new TreeColumn(table, SWT.LEFT);
problemObjectColumn.setAlignment(SWT.LEFT);
problemObjectColumn.setWidth(100);
problemObjectColumn.addListener(SWT.Selection, new HeaderListener(OBJECT_COLUMN));
// description
descriptionColumn = new TreeColumn(table, SWT.LEFT);
descriptionColumn.setAlignment(SWT.LEFT);
descriptionColumn.setWidth(300);
descriptionColumn.addListener(SWT.Selection, new HeaderListener(DESC_COLUMN));
viewer.setColumnProperties(new String[] {