001package icy.gui.main;
002
003import icy.sequence.Sequence;
004
005import java.util.EventListener;
006
007/**
008 * Global {@link Sequence} listener class.
009 * Used to listen open, focus and close event for all sequence.
010 * 
011 * @author Stephane
012 */
013public interface GlobalSequenceListener extends EventListener
014{
015    /**
016     * Sequence was just opened (first viewer displaying the sequence just opened)
017     */
018    public void sequenceOpened(Sequence sequence);
019
020    /**
021     * Sequence was just closed (last viewer displaying the sequence just closed)
022     */
023    public void sequenceClosed(Sequence sequence);
024}