Notifications are non-intrusive messages that inform the user whether an action was completed or aborted successfully. Typically they confirm something. Notifications look like Post-IT notes. They go away automatically and don't require user action. Use notifications to confirm what the user did and provide them with confidence and assurance.
To show notifications, inject the UiContext interface to your class. The
UiContext is implemented by
Shell, so if you have one of those at hand, just reuse them.