Link link = new Link(contents, SWT.NONE);
GridData gridData = new GridData(SWT.FILL, SWT.BEGINNING, true, false);
gridData.widthHint = 150; // only expand further if anyone else requires it
link.setLayoutData(gridData);
link.setText(header);
link.addListener(SWT.Selection, new Listener() {
@Override public void handleEvent(Event event) {
String text = event.text;
createPreferenceDialogOn(getShell(), text, null, null);
}
});