|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| SaveAction.java | - | 100% | 100% | 100% |
|
||||||||||||||
| 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;
|
|
| 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 SaveAction extends CommandAction |
|
| 22 |
{
|
|
| 23 |
/** Resource Bundle */
|
|
| 24 |
private static ResourceBundle resources = ResourceBundle.getBundle("org.ejtools.adwt.action.Resources"); |
|
| 25 |
|
|
| 26 |
|
|
| 27 |
/**
|
|
| 28 |
* Constructor for the SaveAction object
|
|
| 29 |
*
|
|
| 30 |
* @param command Description of Parameter
|
|
| 31 |
*/
|
|
| 32 | 16 |
public SaveAction(Command command)
|
| 33 |
{
|
|
| 34 | 16 |
super(command, resources, "action.file.save"); |
| 35 | 16 |
this.setMenu("action.file"); |
| 36 | 16 |
this.setToolBar(true); |
| 37 | 16 |
this.setSmallIcon("/toolbarButtonGraphics/general/Save16.gif"); |
| 38 | 16 |
this.setIcon("/toolbarButtonGraphics/general/Save24.gif"); |
| 39 |
} |
|
| 40 |
} |
|
| 41 |
|
|
| 42 |
|
|
||||||||||