Skip to content

Instantly share code, notes, and snippets.

View adietish's full-sized avatar

Andre Dietisheim adietish

  • Red Hat, Inc
  • Bern, Switzerland
View GitHub Profile
@adietish
adietish / gist:7674337
Last active December 29, 2015 12:59 — forked from fbricon/gist:7674232
private void createLink(Composite composite) {
warningArea = new Composite(composite, SWT.NONE);
warningArea.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, false, 2, 1));
RowLayout layout = new RowLayout();
layout.justify = false;
warningArea.setLayout(layout)
Label warningImg = new Label(warningArea, SWT.NONE);
warningImg.setImage(JFaceResources.getImage(Dialog.DLG_IMG_MESSAGE_WARNING));