GridData infoLabelGridData = new GridData(GridData.FILL_BOTH);
infoLabelGridData.horizontalIndent = 20;
infoLabel.setLayoutData(infoLabelGridData);
final Hyperlink infoLink = new Hyperlink(dialogArea, SWT.NONE);
infoLink.setText("https://nbo.sourceforge.net");
infoLink.setForeground(new Color(null, 0, 0, 255));
infoLink.setUnderlined(true);
infoLink.addHyperlinkListener(new HyperlinkAdapter() {
public void linkActivated(HyperlinkEvent event) {
try {
Runtime.getRuntime().exec(SettingsPerspective.getSettings().get("default_browser") + " " + infoLink.getText());
}
catch (IOException e) { }
}
});
GridData infoLinkGridData = new GridData(GridData.FILL);
infoLinkGridData.horizontalIndent = 20;
infoLink.setLayoutData(infoLinkGridData);
Composite separatorContainer = new Composite(parent, SWT.NONE);
GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
gridData.verticalIndent = 20;