KickJava   Java API By Example, From Geeks To Geeks.

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


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
14 /**
15  * Description of the Class
16  *
17  * @author Laurent Etiemble
18  * @version $Revision: 1.9 $
19  * @todo Javadoc to complete
20  */

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

32    public OpenAction(Command command)
33    {
34       super(command, resources, "action.file.open");
35       this.setMenu("action.file");
36       this.setToolBar(true);
37       this.setSmallIcon("/toolbarButtonGraphics/general/Open16.gif");
38       this.setIcon("/toolbarButtonGraphics/general/Open24.gif");
39    }
40 }
41
42
Popular Tags