// Adding custom layout into notifications
final PopupLayer popupLayer = PopupManager.getPopupLayer ( showFor );
if ( !notificationsLayouts.containsKey ( popupLayer ) )
{
final NotificationsLayout layout = new NotificationsLayout ();
popupLayer.addLayoutManager ( layout );
notificationsLayouts.put ( popupLayer, layout );
}
// Notifications caching
notificationPopups.put ( notification, popupLayer );