KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejtools > adwt > action > window > CloseAllAction


1 /*
2  * EJTools, the Enterprise Java Tools
3  *
4  * Distributable under LGPL license.
5  * See terms of license at www.gnu.org.
6  */

7 package org.ejtools.adwt.action.window;
8
9 import java.util.ResourceBundle JavaDoc;
10
11 import org.ejtools.adwt.action.Command;
12 import org.ejtools.adwt.action.CommandAction;
13 import org.ejtools.adwt.service.MenuBarService;
14
15 /**
16  * Description of the Class
17  *
18  * @author Laurent Etiemble
19  * @version $Revision: 1.9 $
20  * @todo Javadoc to complete
21  */

22 public class CloseAllAction extends CommandAction
23 {
24     /** Resource Bundle */
25    private static ResourceBundle JavaDoc resources = ResourceBundle.getBundle("org.ejtools.adwt.action.Resources");
26
27
28    /**
29     * Constructor for the CascadeAction object
30     *
31     * @param command Description of Parameter
32     */

33    public CloseAllAction(Command command)
34    {
35       super(command, resources, "action.window.close.all");
36       this.setMenu("action.window");
37       this.setMenuLayout(MenuBarService.SEPARATOR_AFTER);
38    }
39 }
40
41
Popular Tags