001    package com.sptci.rwt.webui;
002    
003    import nextapp.echo2.app.event.ActionEvent;
004    import com.sptci.echo2.Listener;
005    
006    /**
007     * The listener used to display a {@link ManageSavedQueriesView} 
008     * component.
009     *
010     * <p>&copy; Copyright 2007 <a href='http://sptci.com/' target='_new'>Sans Pareil Technologies, Inc.</a></p>
011     * @author Rakesh Vidyadharan 2007-10-14
012     * @version $Id: ManageSavedQueriesListener.java 4123 2008-05-25 21:49:01Z rakesh $
013     */
014    public class ManageSavedQueriesListener extends Listener<MainController>
015    {
016      /**
017       * Create a new instance of the listener using the specified controller.
018       *
019       * @param controller The controller to use to interact with the
020       *   application.
021       */
022      public ManageSavedQueriesListener( final MainController controller )
023      {
024        super( controller );
025      }
026    
027      /**
028       * The action listener implementation.  Displays a {@link
029       * ManageSavedQueriesView} component.
030       *
031       * @param event The action event that was triggered.
032       */
033      public void actionPerformed( ActionEvent event )
034      {
035        controller.addPane( new ManageSavedQueriesView( controller ) );
036      }
037    }