001    package nl.cwi.sen1.gui.component;
002    
003    import java.util.EventListener;
004    
005    import nl.cwi.sen1.gui.CloseAbortedException;
006    import nl.cwi.sen1.gui.StatusMessageEvent;
007    
008    /** 
009     * Events from a StudioComponent for the MetaStudio to react to.
010     */
011    public interface StudioComponentListener extends EventListener {
012        /**
013         * The Status bar contains a tab for a status string. With this
014         * event a component may set the status string to a new string.
015         */  
016        public void statusMessageChanged(StatusMessageEvent event);
017    
018        public void componentRequestClose() throws CloseAbortedException;
019        
020        public void componentClose();
021        
022        public void componentFocusReceived();
023    }