[Ejtools-cvs] CVS: libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/file ExitAction.java,N
Brought to you by:
letiemble
From: Laurent E. <let...@us...> - 2002-04-18 21:09:53
|
Update of /cvsroot/ejtools/libraries/adwt/src/main/net/sourceforge/ejtools/awt/action/file In directory usw-pr-cvs1:/tmp/cvs-serv9585/file Added Files: ExitAction.java FileHistoryAction.java FileHistoryActionTop.java NewAction.java OpenAction.java PrintAction.java SaveAction.java SaveAsAction.java Log Message: Initial Import --- NEW FILE: ExitAction.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.awt.action.file; import java.util.ResourceBundle; import net.sourceforge.ejtools.awt.action.Command; import net.sourceforge.ejtools.awt.action.CommandAction; import net.sourceforge.ejtools.awt.services.MenuBarService; /** * Description of the Class * * @author laurent * @created 29 décembre 2001 * @todo Javadoc to complete */ public class ExitAction extends CommandAction { private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** * @param command The exit command that the action should act upon. */ public ExitAction(Command command) { super(command, res, "action.file.exit"); this.setMenu("action.file"); this.setMenuMnemonic("action.file.exit.mnemonic"); this.setMenuAccelerator("action.file.exit.accelerator"); this.setMenuLayout(MenuBarService.SEPARATOR_BEFORE); } } --- NEW FILE: FileHistoryAction.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.awt.action.file; import java.util.ResourceBundle; import net.sourceforge.ejtools.awt.action.Command; import net.sourceforge.ejtools.awt.action.CommandAction; /** * Description of the Class * * @author laurent * @created 29 décembre 2001 * @todo Javadoc to complete */ public class FileHistoryAction extends CommandAction { private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** * Constructor for the CloseAction object * * @param command Description of Parameter */ public FileHistoryAction(Command command) { super(command, res, "action.file.history"); this.setMenu("action.file"); } } --- NEW FILE: FileHistoryActionTop.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.awt.action.file; import java.util.ResourceBundle; import net.sourceforge.ejtools.awt.action.Command; import net.sourceforge.ejtools.awt.action.CommandAction; import net.sourceforge.ejtools.awt.services.MenuBarService; /** * Description of the Class * * @author laurent * @created 29 décembre 2001 * @todo Javadoc to complete */ public class FileHistoryActionTop extends CommandAction { private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** * Constructor for the CloseAction object * * @param command Description of Parameter */ public FileHistoryActionTop(Command command) { super(command, res, "action.file.history"); this.setMenu("action.file"); this.setMenuLayout(MenuBarService.SEPARATOR_BEFORE); } } --- NEW FILE: NewAction.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.awt.action.file; import java.util.ResourceBundle; import net.sourceforge.ejtools.awt.action.Command; import net.sourceforge.ejtools.awt.action.CommandAction; /** * Description of the Class * * @author laurent * @created 29 décembre 2001 * @todo Javadoc to complete */ public class NewAction extends CommandAction { private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** * Constructor for the NewAction object * * @param command Description of Parameter */ public NewAction(Command command) { super(command, res, "action.file.new"); this.setMenu("action.file"); this.setMenuMnemonic("action.file.new.mnemonic"); this.setMenuAccelerator("action.file.new.accelerator"); this.setToolBar(true); this.setIcon("/toolbarButtonGraphics/general/New24.gif"); } } --- NEW FILE: OpenAction.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.awt.action.file; import java.util.ResourceBundle; import net.sourceforge.ejtools.awt.action.Command; import net.sourceforge.ejtools.awt.action.CommandAction; /** * Description of the Class * * @author laurent * @created 29 décembre 2001 * @todo Javadoc to complete */ public class OpenAction extends CommandAction { private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** * Constructor for the OpenAction object * * @param command Description of Parameter */ public OpenAction(Command command) { super(command, res, "action.file.open"); this.setMenu("action.file"); this.setToolBar(true); this.setIcon("/toolbarButtonGraphics/general/Open24.gif"); } } --- NEW FILE: PrintAction.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.awt.action.file; import java.util.ResourceBundle; import net.sourceforge.ejtools.awt.action.Command; import net.sourceforge.ejtools.awt.action.CommandAction; /** * Description of the Class * * @author laurent * @created 18 mars 2002 * @todo Javadoc to complete */ public class PrintAction extends CommandAction { private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** * Constructor for the PrintAction object * * @param command Description of Parameter */ public PrintAction(Command command) { super(command, res, "action.file.print"); this.setMenu("action.file"); this.setToolBar(true); this.setIcon("/toolbarButtonGraphics/general/Print24.gif"); } } --- NEW FILE: SaveAction.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.awt.action.file; import java.util.ResourceBundle; import net.sourceforge.ejtools.awt.action.Command; import net.sourceforge.ejtools.awt.action.CommandAction; /** * Description of the Class * * @author laurent * @created 29 décembre 2001 * @todo Javadoc to complete */ public class SaveAction extends CommandAction { private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** * Constructor for the SaveAction object * * @param command Description of Parameter */ public SaveAction(Command command) { super(command, res, "action.file.save"); this.setMenu("action.file"); this.setToolBar(true); this.setIcon("/toolbarButtonGraphics/general/Save24.gif"); } } --- NEW FILE: SaveAsAction.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package net.sourceforge.ejtools.awt.action.file; import java.util.ResourceBundle; import net.sourceforge.ejtools.awt.action.Command; import net.sourceforge.ejtools.awt.action.CommandAction; /** * Description of the Class * * @author laurent * @created 29 décembre 2001 * @todo Javadoc to complete */ public class SaveAsAction extends CommandAction { private final static ResourceBundle res = ResourceBundle.getBundle("action"); /** * Constructor for the SaveAsAction object * * @param command Description of Parameter */ public SaveAsAction(Command command) { super(command, res, "action.file.save.as"); this.setMenu("action.file"); } } |