final Composite annotationsComposite = new Composite(annotationsTabComposite, SWT.NONE);
annotationsComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
final TableViewer annotationsTable = new TableViewer(annotationsComposite, SWT.SINGLE | SWT.FULL_SELECTION | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
annotationsTable.setComparator(new ViewerComparator(new Comparator() {
public int compare(Object o1, Object o2) {
Annotation annotation1 = (Annotation) o1;
Annotation annotation2 = (Annotation) o2;
String line1 = getLineNumber(annotation1);
String line2 = getLineNumber(annotation2);