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