001/**
002 * 
003 */
004package icy.gui.main;
005
006import icy.roi.ROI;
007
008import java.util.EventListener;
009
010/**
011 * Global {@link ROI} listener class.
012 * Used to listen add and remove event for all roi.
013 * 
014 * @author Stephane
015 */
016public interface GlobalROIListener extends EventListener
017{
018    /**
019     * A ROI was just added to its first sequence
020     */
021    public void roiAdded(ROI roi);
022
023    /**
024     * A ROI was just removed from its last sequence
025     */
026    public void roiRemoved(ROI roi);
027}