Class NotificationPopup

All Implemented Interfaces:
IShellProvider

public class NotificationPopup extends AbstractNotificationPopup
NotificationPopup is a default implementation of AbstractNotificationPopup. Instances can be created with a fluent NotificationPopup.Builder api.

It covers use cases such as setting a title and/or a text as content. Also functions can be passed to create the title and/or content. More complex cases with e.g. several SWT controls should still be created by extending AbstractNotificationPopup.

Example:

 NotificationPopup.forDisplay(Display.getDefault()).text("A problem occurred.").title("Warning", true).open();
 
Since:
0.4