Class NotificationManager


  • @ApplicationScoped
    public class NotificationManager
    extends Object
    Observes all notification events, and coordinates their display and removal.
    • Constructor Detail

      • NotificationManager

        public NotificationManager()
      • NotificationManager

        @Inject
        public NotificationManager​(org.jboss.errai.ioc.client.container.SyncBeanManager iocManager,
                                   PlaceManager placeManager,
                                   WorkbenchLayoutInfo workbenchLayoutInfo)
    • Method Detail

      • addNotification

        public void addNotification​(@Observes
                                    org.uberfire.workbench.events.NotificationEvent event)
        Adds a new notification message to the system, asking the notification presenter to display it, and storing it in the list of existing notifications. This method can be invoked directly, or it can be invoked indirectly by firing a CDI NotificationEvent.
        Parameters:
        event - The notification to display and store in the notification system.
      • onClosePlaceEvent

        public void onClosePlaceEvent​(@Observes
                                      ClosePlaceEvent event)