public class Notifier
extends java.lang.Object
Constructor | Description |
---|---|
Notifier() |
Modifier and Type | Method | Description |
---|---|---|
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.
|
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.
|
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.NotifierTheme
public 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.NotifierTheme