r306 - in trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action: . help
Author: tchemit Date: 2008-01-20 22:43:46 +0000 (Sun, 20 Jan 2008) New Revision: 306 Added: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/AboutAction.java trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/HelpAction.java trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/SiteAction.java Log: paquetage help actions Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/AboutAction.java (from rev 302, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/AboutAction.java) =================================================================== --- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/AboutAction.java (rev 0) +++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/AboutAction.java 2008-01-20 22:43:46 UTC (rev 306) @@ -0,0 +1,53 @@ +/* +* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin, +* Tony Chemit, Gabriel Landais +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License +* as published by the Free Software Foundation; either version 2 +* of the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +* ##% */ +package fr.cemagref.simexplorer.is.ui.swing.action.help; + +import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractAction; +import fr.cemagref.simexplorer.is.ui.swing.util.ActionConfig; +import fr.cemagref.simexplorer.is.ui.swing.SimExplorerUI; + +/** + * Action pour afficher la boit de dialogue About de l'application + * + * @author chemit + */ + at ActionConfig( + actionCommand = "about", + container = SimExplorerUI.class, + name = "simexplorer.action.about", + shortDescription = "simexplorer.action.about.tooltip", + longDescription = "simexplorer.action.about.help", + smallIcon = "action/about.png", + mnemonic = 'A', + hideActionText = false +) +public class AboutAction extends SimExplorerAbstractAction { + + private static final long serialVersionUID = 8275852970637350877L; + + public AboutAction(String name) { + super(name); + } + + @Override + public void actionPerformed(java.awt.event.ActionEvent e) { + super.actionPerformed(e); + //TODO + } +} \ No newline at end of file Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/HelpAction.java (from rev 302, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/HelpAction.java) =================================================================== --- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/HelpAction.java (rev 0) +++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/HelpAction.java 2008-01-20 22:43:46 UTC (rev 306) @@ -0,0 +1,53 @@ +/* +* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin, +* Tony Chemit, Gabriel Landais +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License +* as published by the Free Software Foundation; either version 2 +* of the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +* ##% */ +package fr.cemagref.simexplorer.is.ui.swing.action.help; + +import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractAction; +import fr.cemagref.simexplorer.is.ui.swing.util.ActionConfig; +import fr.cemagref.simexplorer.is.ui.swing.SimExplorerUI; + +/** + * Action pour afficher l'aide principale + * + * @author chemit + */ + at ActionConfig( + actionCommand = "help", + container = SimExplorerUI.class, + name = "simexplorer.action.help", + shortDescription = "simexplorer.action.help.tooltip", + longDescription = "simexplorer.action.help.help", + smallIcon = "action/help.png", + mnemonic = 'e', + hideActionText = false +) +public class HelpAction extends SimExplorerAbstractAction { + + private static final long serialVersionUID = 8250247303366300958L; + + public HelpAction(String name) { + super(name); + } + + @Override + public void actionPerformed(java.awt.event.ActionEvent e) { + super.actionPerformed(e); + //TODO + } +} \ No newline at end of file Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/SiteAction.java (from rev 302, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/common/SiteAction.java) =================================================================== --- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/SiteAction.java (rev 0) +++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/help/SiteAction.java 2008-01-20 22:43:46 UTC (rev 306) @@ -0,0 +1,53 @@ +/* +* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin, +* Tony Chemit, Gabriel Landais +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License +* as published by the Free Software Foundation; either version 2 +* of the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +* ##% */ +package fr.cemagref.simexplorer.is.ui.swing.action.help; + +import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractAction; +import fr.cemagref.simexplorer.is.ui.swing.util.ActionConfig; +import fr.cemagref.simexplorer.is.ui.swing.SimExplorerUI; + +/** + * Action pour accéder au site de l'application + * + * @author chemit + */ + at ActionConfig( + actionCommand = "site", + container = SimExplorerUI.class, + name = "simexplorer.action.site", + shortDescription = "simexplorer.action.site.tooltip", + longDescription = "simexplorer.action.site.help", + smallIcon = "action/site.png", + mnemonic = 'S', + hideActionText = false +) +public class SiteAction extends SimExplorerAbstractAction { + + private static final long serialVersionUID = 7458557977976803799L; + + public SiteAction(String name) { + super(name); + } + + @Override + public void actionPerformed(java.awt.event.ActionEvent e) { + super.actionPerformed(e); + //TODO + } +} \ No newline at end of file
participants (1)
-
tchemit@users.labs.libre-entreprise.org