Author: tchemit Date: 2008-01-21 00:00:03 +0000 (Mon, 21 Jan 2008) New Revision: 317 Added: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleLocalTabAction.java trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleRemoteTabAction.java trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleSynchronizeTabAction.java Removed: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleTabLocalAction.java trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleTabRemoteAction.java trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleTabSynchronizeAction.java Modified: trunk/simexplorer-is-swing/src/resources/actions.properties Log: harmonisation noms actions Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleLocalTabAction.java (from rev 314, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleTabLocalAction.java) =================================================================== --- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleLocalTabAction.java (rev 0) +++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleLocalTabAction.java 2008-01-21 00:00:03 UTC (rev 317) @@ -0,0 +1,49 @@ +/* +* \#\#% 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.tab; + +import fr.cemagref.simexplorer.is.ui.swing.SimExplorerUI; +import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractTabAction; +import fr.cemagref.simexplorer.is.ui.swing.util.GlueActionConfig; + +/** @author chemit */ + at GlueActionConfig( + actionCommand = "toggleTab_local", + container = SimExplorerUI.class, + name = "simexplorer.action.show.local", + shortDescription = "simexplorer.action.show.local.tooltip", + longDescription = "simexplorer.action.show.local.help", + //smallIcon = "action/show-local.png", + mnemonic = 'A', + name2 = "simexplorer.action.hide.local", + shortDescription2 = "simexplorer.action.hide.local.tooltip", + longDescription2 = "simexplorer.action.hide.local.help", + //smallIcon = "action/hide-local.png", + mnemonic2 = 'A', + selected = true, + hideActionText = false +) + +public class ToggleLocalTabAction extends SimExplorerAbstractTabAction { + private static final long serialVersionUID = 9177105156859413014L; + + public ToggleLocalTabAction(String name) { + super(name, "toggleTab"); + } +} Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleRemoteTabAction.java (from rev 314, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleTabRemoteAction.java) =================================================================== --- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleRemoteTabAction.java (rev 0) +++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleRemoteTabAction.java 2008-01-21 00:00:03 UTC (rev 317) @@ -0,0 +1,49 @@ +/* +* \#\#% 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.tab; + +import fr.cemagref.simexplorer.is.ui.swing.SimExplorerUI; +import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractTabAction; +import fr.cemagref.simexplorer.is.ui.swing.util.GlueActionConfig; + +/** @author chemit */ + at GlueActionConfig( + actionCommand = "toggleTab_remote", + container = SimExplorerUI.class, + name = "simexplorer.action.show.remote", + shortDescription = "simexplorer.action.show.remote.tooltip", + longDescription = "simexplorer.action.show.remote.help", + //smallIcon = "action/show-remote.png", + mnemonic = 'P', + name2 = "simexplorer.action.hide.remote", + shortDescription2 = "simexplorer.action.hide.remote.tooltip", + longDescription2 = "simexplorer.action.hide.remote.help", + //smallIcon = "action/hide-remote.png", + mnemonic2 = 'P', + selected = true, + hideActionText = false +) +public class ToggleRemoteTabAction extends SimExplorerAbstractTabAction { + + private static final long serialVersionUID = -2309266315349330872L; + + public ToggleRemoteTabAction(String name) { + super(name, "toggleTab"); + } +} \ No newline at end of file Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleSynchronizeTabAction.java (from rev 314, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleTabSynchronizeAction.java) =================================================================== --- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleSynchronizeTabAction.java (rev 0) +++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleSynchronizeTabAction.java 2008-01-21 00:00:03 UTC (rev 317) @@ -0,0 +1,48 @@ +/* +* \#\#% 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.tab; + +import fr.cemagref.simexplorer.is.ui.swing.SimExplorerUI; +import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractTabAction; +import fr.cemagref.simexplorer.is.ui.swing.util.GlueActionConfig; + +/** @author chemit */ + at GlueActionConfig( + actionCommand = "toggleTab_synchronize", + container = SimExplorerUI.class, + name = "simexplorer.action.show.synchronize", + shortDescription = "simexplorer.action.show.synchronize.tooltip", + longDescription = "simexplorer.action.show.synchronize.help", + smallIcon = "action/reload.png", + mnemonic = 'S', + name2 = "simexplorer.action.hide.synchronize", + shortDescription2 = "simexplorer.action.hide.synchronize.tooltip", + longDescription2 = "simexplorer.action.hide.synchronize.help", + smallIcon2 = "action/reload.png", + mnemonic2 = 'S', + selected = true, + hideActionText = false +) +public class ToggleSynchronizeTabAction extends SimExplorerAbstractTabAction { + private static final long serialVersionUID = -3389620707293969262L; + + public ToggleSynchronizeTabAction(String name) { + super(name, "toggleTab"); + } +} \ No newline at end of file Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleTabLocalAction.java =================================================================== --- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleTabLocalAction.java 2008-01-20 23:58:38 UTC (rev 316) +++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleTabLocalAction.java 2008-01-21 00:00:03 UTC (rev 317) @@ -1,49 +0,0 @@ -/* -* \#\#% 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.tab; - -import fr.cemagref.simexplorer.is.ui.swing.SimExplorerUI; -import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractTabAction; -import fr.cemagref.simexplorer.is.ui.swing.util.GlueActionConfig; - -/** @author chemit */ - at GlueActionConfig( - actionCommand = "toggleTab_local", - container = SimExplorerUI.class, - name = "simexplorer.action.show.local", - shortDescription = "simexplorer.action.show.local.tooltip", - longDescription = "simexplorer.action.show.local.help", - //smallIcon = "action/show-local.png", - mnemonic = 'A', - name2 = "simexplorer.action.hide.local", - shortDescription2 = "simexplorer.action.hide.local.tooltip", - longDescription2 = "simexplorer.action.hide.local.help", - //smallIcon = "action/hide-local.png", - mnemonic2 = 'A', - selected = true, - hideActionText = false -) - -public class ToggleTabLocalAction extends SimExplorerAbstractTabAction { - private static final long serialVersionUID = 9177105156859413014L; - - public ToggleTabLocalAction(String name) { - super(name, "toggleTab"); - } -} Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleTabRemoteAction.java =================================================================== --- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleTabRemoteAction.java 2008-01-20 23:58:38 UTC (rev 316) +++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleTabRemoteAction.java 2008-01-21 00:00:03 UTC (rev 317) @@ -1,49 +0,0 @@ -/* -* \#\#% 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.tab; - -import fr.cemagref.simexplorer.is.ui.swing.SimExplorerUI; -import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractTabAction; -import fr.cemagref.simexplorer.is.ui.swing.util.GlueActionConfig; - -/** @author chemit */ - at GlueActionConfig( - actionCommand = "toggleTab_remote", - container = SimExplorerUI.class, - name = "simexplorer.action.show.remote", - shortDescription = "simexplorer.action.show.remote.tooltip", - longDescription = "simexplorer.action.show.remote.help", - //smallIcon = "action/show-remote.png", - mnemonic = 'P', - name2 = "simexplorer.action.hide.remote", - shortDescription2 = "simexplorer.action.hide.remote.tooltip", - longDescription2 = "simexplorer.action.hide.remote.help", - //smallIcon = "action/hide-remote.png", - mnemonic2 = 'P', - selected = true, - hideActionText = false -) -public class ToggleTabRemoteAction extends SimExplorerAbstractTabAction { - - private static final long serialVersionUID = -2309266315349330872L; - - public ToggleTabRemoteAction(String name) { - super(name, "toggleTab"); - } -} \ No newline at end of file Deleted: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleTabSynchronizeAction.java =================================================================== --- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleTabSynchronizeAction.java 2008-01-20 23:58:38 UTC (rev 316) +++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/tab/ToggleTabSynchronizeAction.java 2008-01-21 00:00:03 UTC (rev 317) @@ -1,48 +0,0 @@ -/* -* \#\#% 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.tab; - -import fr.cemagref.simexplorer.is.ui.swing.SimExplorerUI; -import fr.cemagref.simexplorer.is.ui.swing.action.SimExplorerAbstractTabAction; -import fr.cemagref.simexplorer.is.ui.swing.util.GlueActionConfig; - -/** @author chemit */ - at GlueActionConfig( - actionCommand = "toggleTab_synchronize", - container = SimExplorerUI.class, - name = "simexplorer.action.show.synchronize", - shortDescription = "simexplorer.action.show.synchronize.tooltip", - longDescription = "simexplorer.action.show.synchronize.help", - smallIcon = "action/reload.png", - mnemonic = 'S', - name2 = "simexplorer.action.hide.synchronize", - shortDescription2 = "simexplorer.action.hide.synchronize.tooltip", - longDescription2 = "simexplorer.action.hide.synchronize.help", - smallIcon2 = "action/reload.png", - mnemonic2 = 'S', - selected = true, - hideActionText = false -) -public class ToggleTabSynchronizeAction extends SimExplorerAbstractTabAction { - private static final long serialVersionUID = -3389620707293969262L; - - public ToggleTabSynchronizeAction(String name) { - super(name, "toggleTab"); - } -} \ No newline at end of file Modified: trunk/simexplorer-is-swing/src/resources/actions.properties =================================================================== --- trunk/simexplorer-is-swing/src/resources/actions.properties 2008-01-20 23:58:38 UTC (rev 316) +++ trunk/simexplorer-is-swing/src/resources/actions.properties 2008-01-21 00:00:03 UTC (rev 317) @@ -16,9 +16,9 @@ action.showTab_detail=fr.cemagref.simexplorer.is.ui.swing.action.tab.ShowDetailTabAction action.showTab_synchronize=fr.cemagref.simexplorer.is.ui.swing.action.tab.ShowSynchronizeTabAction -action.toggleTab_local=fr.cemagref.simexplorer.is.ui.swing.action.tab.ToggleTabLocalAction -action.toggleTab_remote=fr.cemagref.simexplorer.is.ui.swing.action.tab.ToggleTabRemoteAction -action.toggleTab_synchronize=fr.cemagref.simexplorer.is.ui.swing.action.tab.ToggleTabSynchronizeAction +action.toggleTab_local=fr.cemagref.simexplorer.is.ui.swing.action.tab.ToggleLocalTabAction +action.toggleTab_remote=fr.cemagref.simexplorer.is.ui.swing.action.tab.ToggleRemoteTabAction +action.toggleTab_synchronize=fr.cemagref.simexplorer.is.ui.swing.action.tab.ToggleSynchronizeTabAction action.config=fr.cemagref.simexplorer.is.ui.swing.action.common.ConfigAction