001package icy.gui.main;
002
003import icy.plugin.abstract_.Plugin;
004
005import java.util.EventListener;
006
007/**
008 * Global {@link Plugin} listener class.
009 * Used to listen start and end event for Plugin.
010 * 
011 * @author Stephane
012 */
013public interface GlobalPluginListener extends EventListener
014{
015    /**
016     * The plugin was created and is about to start execution.
017     */
018    public void pluginStarted(Plugin plugin);
019
020    /**
021     * When this event occurs the plugin already exited and is now finalizing (garbage collection).
022     */
023    public void pluginEnded(Plugin plugin);
024}