KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejtools > adwt > action > edit > PasteAction


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.edit;
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 PasteAction 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 PasteAction object
29     *
30     * @param command Description of Parameter
31     */

32    public PasteAction(Command command)
33    {
34       super(command, resources, "action.edit.paste");
35       this.setMenu("action.edit");
36       this.setToolBar(true);
37       this.setSmallIcon("/toolbarButtonGraphics/general/Paste16.gif");
38       this.setIcon("/toolbarButtonGraphics/general/Paste24.gif");
39    }
40 }
41
42
Popular Tags