@ApplicationScoped public class NotificationManager extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
NotificationManager.NotificationPopupHandle |
static interface |
NotificationManager.View
The view contract for the UI that shows and hides active notifications.
|
Constructor and Description |
---|
NotificationManager() |
NotificationManager(org.jboss.errai.ioc.client.container.SyncBeanManager iocManager,
PlaceManager placeManager,
WorkbenchLayoutInfo workbenchLayoutInfo) |
Modifier and Type | Method and Description |
---|---|
void |
addNotification(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.
|
void |
onClosePlaceEvent(ClosePlaceEvent event) |
void |
onPlaceLostFocus(PlaceLostFocusEvent event) |
public NotificationManager()
@Inject public NotificationManager(org.jboss.errai.ioc.client.container.SyncBeanManager iocManager, PlaceManager placeManager, WorkbenchLayoutInfo workbenchLayoutInfo)
public void addNotification(@Observes org.uberfire.workbench.events.NotificationEvent event)
NotificationEvent
.event
- The notification to display and store in the notification system.public void onClosePlaceEvent(@Observes ClosePlaceEvent event)
public void onPlaceLostFocus(@Observes PlaceLostFocusEvent event)
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.