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

Examples of net.java.sip.communicator.impl.notification.EventNotification.addAction()


           
            this.fireNotificationEventTypeEvent(
                NotificationEventTypeEvent.EVENT_TYPE_ADDED, eventType);
        }

        Object existingAction = notification.addAction(actionType, handler);

        // We fire the appropriate event depending on whether this is an
        // already existing actionType or a new one.
        if (existingAction != null)
        {
View Full Code Here


                    notification = new EventNotification(eventType);
                    notificationsTable.put(eventType, notification);
                }
                notification.setActive(isEventActive);

                notification.addAction(actionType, handler);
            }
        }
    }

    private boolean isEnabled(String configProperty)
View Full Code Here

                notification = new EventNotification(eventType);

                notificationsTable.put(eventType, notification);
            }

            notification.addAction(actionType, handler);

            // We fire the appropriate event depending on whether this is an
            // already existing actionType or a new one.
            fireNotificationActionTypeEvent(
                isNew ? NotificationActionTypeEvent.ACTION_ADDED
View Full Code Here

            notification = new EventNotification(eventType);
           
            defaultNotificationsTable.put(eventType, notification);
        }

        notification.addAction(actionType, handler);
    }

    /**
     * Creates a new default <tt>EventNotification</tt> or obtains the corresponding
     * existing one and registers a new action in it.
View Full Code Here

                notification = new EventNotification(eventType);

                notificationsTable.put(eventType, notification);
            }
           
            notification.addAction(actionType, handler);
           
            // We fire the appropriate event depending on whether this is an
            // already existing actionType or a new one.
            fireNotificationActionTypeEvent(
                isNew ? NotificationActionTypeEvent.ACTION_ADDED
View Full Code Here

        else if (actionType.equals(NotificationService.ACTION_COMMAND))
        {
            handler = new CommandNotificationHandlerImpl(actionDescriptor);
        }
       
        notification.addAction(actionType, handler);
    }

    /**
     * Deletes all registered events and actions
     * and registers and saves the default events as current.
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.