/*
 * 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.impl.gui.events;

import java.util.EventListener;
/**
 * Listens for all events caused by adding or removing of a plugin component.
 * 
 * @author Yana Stamcheva
 */
public interface ContainerPluginListener 
    extends EventListener {

    /**
     * Indicates that a plugin component has been successfully added
     * to the container.
     * @param event the PluginComponentEvent containing the corresponding plugin component
     */
    public void pluginComponentAdded(PluginComponentEvent event);
    
    /**
     * Indicates that a plugin component has been successfully removed
     * from the container.
     * @param event the PluginComponentEvent containing the corresponding plugin component
     */
    public void pluginComponentRemoved(PluginComponentEvent event);
}
