aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/service/notification/PopupMessageNotificationHandler.java
blob: 281bb683bd0459af1ca034c4b852126ee2125aac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
 * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */
package net.java.sip.communicator.service.notification;

import net.java.sip.communicator.service.systray.*;

/**
 * The <tt>PopupMessageNotificationHandler</tt> interface is meant to be
 * implemented by the notification bundle in order to provide handling of
 * popup message actions.
 * 
 * @author Yana Stamcheva
 */
public interface PopupMessageNotificationHandler
    extends NotificationActionHandler
{
    /**
     * Returns the default message to be used when no message is provided to the
     * <tt>popupMessage</tt> method.
     * 
     * @return the default message to be used when no message is provided to the
     * <tt>popupMessage</tt> method.
     */
    public String getDefaultMessage();
    
    /**
     * Shows the given <tt>PopupMessage</tt>
     * 
     * @param message the message to show in the popup
     */
    public void popupMessage(PopupMessage message);
}