}
}
static void notify(final Image image, final String title, final String message)
{
AbstractNotificationPopup popup = new AbstractNotificationPopup(Display.getDefault()) {
protected String getPopupShellTitle() {
return title;
}
protected Image getPopupShellImage(int maximumHeight) {
return image;
}
protected void createContentArea(Composite parent) {
Label label = new Label(parent, SWT.NONE);
label.setText(message);
}
};
popup.setBlockOnOpen(false);
popup.setFadingEnabled(true);
popup.open();
}