Update of /cvsroot/ejtools/libraries/adwt/src/main/org/ejtools/adwt/action/tools
In directory sc8-pr-cvs1:/tmp/cvs-serv24196/adwt/src/main/org/ejtools/adwt/action/tools
Added Files:
ExportAction.java ImportAction.java
Log Message:
Adjust Eclipse build files
Adjust some Javadoc
Review the models for TreeView and ListView : much more lightweight
Convert resources files to UTF-8 to avoid loosing accents
--- NEW FILE: ExportAction.java ---
/*
* EJTools, the Enterprise Java Tools
*
* Distributable under LGPL license.
* See terms of license at www.gnu.org.
*/
package org.ejtools.adwt.action.tools;
import java.util.ResourceBundle;
import org.ejtools.adwt.action.Command;
import org.ejtools.adwt.action.CommandAction;
/**
* Description of the Class
*
* @author Laurent Etiemble
* @version $Revision: 1.1 $
* @todo Javadoc to complete
*/
public class ExportAction extends CommandAction
{
/** Description of the Field */
private static ResourceBundle resources = ResourceBundle.getBundle("org.ejtools.adwt.action.Resources");
/**
* Constructor for the NewAction object
*
* @param command Description of Parameter
*/
public ExportAction(Command command)
{
super(command, resources, "action.tools.export");
this.setMenu("action.tools");
this.setToolBar(true);
this.setSmallIcon("/toolbarButtonGraphics/general/Export16.gif");
this.setIcon("/toolbarButtonGraphics/general/Export24.gif");
}
}
--- NEW FILE: ImportAction.java ---
/*
* EJTools, the Enterprise Java Tools
*
* Distributable under LGPL license.
* See terms of license at www.gnu.org.
*/
package org.ejtools.adwt.action.tools;
import java.util.ResourceBundle;
import org.ejtools.adwt.action.Command;
import org.ejtools.adwt.action.CommandAction;
/**
* Description of the Class
*
* @author Laurent Etiemble
* @version $Revision: 1.1 $
* @todo Javadoc to complete
*/
public class ImportAction extends CommandAction
{
/** Description of the Field */
private static ResourceBundle resources = ResourceBundle.getBundle("org.ejtools.adwt.action.Resources");
/**
* Constructor for the NewAction object
*
* @param command Description of Parameter
*/
public ImportAction(Command command)
{
super(command, resources, "action.tools.import");
this.setMenu("action.tools");
this.setToolBar(true);
this.setSmallIcon("/toolbarButtonGraphics/general/Import16.gif");
this.setIcon("/toolbarButtonGraphics/general/Import24.gif");
}
}
|