001/**
002 * 
003 */
004package icy.gui.main;
005
006import icy.gui.viewer.Viewer;
007
008import java.util.EventListener;
009
010/**
011 * Global {@link Viewer} listener class.
012 * Used to listen open, focus and close event for all viewer.
013 * 
014 * @author Stephane
015 */
016public interface GlobalViewerListener extends EventListener
017{
018    /**
019     * Viewer was just opened.
020     */
021    public void viewerOpened(Viewer viewer);
022
023    /**
024     * Viewer was just closed.
025     */
026    public void viewerClosed(Viewer viewer);
027    
028}