001    package org.springframework.richclient.samples.showcase.util;
002    
003    import javax.swing.JTextArea;
004    
005    import org.springframework.richclient.command.AbstractCommand;
006    import org.springframework.richclient.factory.ControlFactory;
007    
008    /**
009     * Interface indicating a reporter object. It needs a messageArea to report to
010     * and has some commands that may be called upon.
011     *
012     * @author Jan Hoskens
013     *
014     */
015    public interface Reporter extends ControlFactory{
016    
017            void setMessageArea(JTextArea messageArea);
018    
019            AbstractCommand[] getReporterCommands();
020    }