public class Notifier
extends java.lang.Object
| Constructor and Description |
|---|
Notifier() |
| Modifier and Type | Method and Description |
|---|---|
protected static org.eclipse.swt.widgets.Shell |
createNotificationWindow(org.eclipse.swt.graphics.Image image,
java.lang.String title,
java.lang.String text,
NotifierColors colors)
Creates a notification window
|
protected static void |
makeShellAppears(org.eclipse.swt.widgets.Shell shell) |
static void |
notify(org.eclipse.swt.graphics.Image image,
java.lang.String title,
java.lang.String text)
Starts a notification.
|
static void |
notify(org.eclipse.swt.graphics.Image image,
java.lang.String title,
java.lang.String text,
NotifierColorsFactory.NotifierTheme theme)
Starts a notification.
|
static void |
notify(java.lang.String title,
java.lang.String text)
Starts a notification.
|
static void |
notify(java.lang.String title,
java.lang.String text,
NotifierColorsFactory.NotifierTheme theme)
Starts a notification.
|
public static void notify(java.lang.String title,
java.lang.String text)
title - the title of the popup windowtext - the text of the notificationpublic static void notify(org.eclipse.swt.graphics.Image image,
java.lang.String title,
java.lang.String text)
image - the image to display (if null, a default image is
displayed)title - the title of the popup windowtext - the text of the notificationpublic static void notify(java.lang.String title,
java.lang.String text,
NotifierColorsFactory.NotifierTheme theme)
title - the title of the popup windowtext - the text of the notificationtheme - the graphical theme. If null, the yellow theme is
usedNotifierColorsFactory.NotifierThemepublic static void notify(org.eclipse.swt.graphics.Image image,
java.lang.String title,
java.lang.String text,
NotifierColorsFactory.NotifierTheme theme)
image - the image to display (if null, a default image is
displayed)title - the title of the popup windowtext - the text of the notificationtheme - the graphical theme. If null, the yellow theme is
usedNotifierColorsFactory.NotifierThemeprotected static org.eclipse.swt.widgets.Shell createNotificationWindow(org.eclipse.swt.graphics.Image image,
java.lang.String title,
java.lang.String text,
NotifierColors colors)
image - image. If null, a default image is usedtitle - title, the title of the windowtext - text of the windowcolors - color setprotected static void makeShellAppears(org.eclipse.swt.widgets.Shell shell)
shell - shell that will appear