KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejtools > adwt > action > file > ExitAction


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.file;
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.10 $
20  * @todo Javadoc to complete
21  */

22 public class ExitAction extends CommandAction
23 {
24     /** Resource Bundle */
25    private static ResourceBundle JavaDoc resources = ResourceBundle.getBundle("org.ejtools.adwt.action.Resources");
26
27
28    /**
29     * @param command The exit command that the action should act upon.
30     */

31    public ExitAction(Command command)
32    {
33       super(command, resources, "action.file.exit");
34       this.setMenu("action.file");
35       this.setMenuLayout(MenuBarService.SEPARATOR_BEFORE);
36    }
37 }
38
39
Popular Tags