Package net.java.sip.communicator.impl.notification

Examples of net.java.sip.communicator.impl.notification.EventNotification


     */
    public void restoreDefaults()
    {
        for (String eventType : new Vector<String>(notificationsTable.keySet()))
        {
            EventNotification notification = notificationsTable.get(eventType);

            for (String actionType
                    : new Vector<String>(notification.getActions().keySet()))
                removeEventNotificationAction(eventType, actionType);

            removeEventNotification(eventType);
        }

        for (Map.Entry<String, EventNotification> entry
                : defaultNotificationsTable.entrySet())
        {
            String eventType = entry.getKey();
            EventNotification notification = entry.getValue();

            for (String actionType : notification.getActions().keySet())
                registerNotificationForEvent(
                    eventType,
                    actionType,
                    notification.getAction(actionType).getActionHandler());
        }
    }
View Full Code Here

TOP

Related Classes of net.java.sip.communicator.impl.notification.EventNotification

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.