Author: tchemit Date: 2008-01-22 01:58:21 +0000 (Tue, 22 Jan 2008) New Revision: 361 Added: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/ShowTabAbstractAction.java Log: action g?\195?\169n?\195?\169rique Copied: trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/ShowTabAbstractAction.java (from rev 317, trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/ShowTabAction.java) =================================================================== --- trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/ShowTabAbstractAction.java (rev 0) +++ trunk/simexplorer-is-swing/src/java/fr/cemagref/simexplorer/is/ui/swing/action/ShowTabAbstractAction.java 2008-01-22 01:58:21 UTC (rev 361) @@ -0,0 +1,40 @@ +/* +* ##% Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Code Lutin, +* Tony Chemit, Gariel 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; + +import java.awt.event.ActionEvent; + +/** + * Action pour afficher une tab + * + * @author chemit + */ +public abstract class ShowTabAbstractAction extends SimExplorerAbstractTabAction { + + private static final long serialVersionUID = -4030583314708934811L; + + protected ShowTabAbstractAction(String name) { + super(name, "showTab"); + } + + @Override + protected void doAction(ActionEvent e) throws Exception { + tab.showTab(getTabContainer()); + } +}
participants (1)
-
tchemit@users.labs.libre-entreprise.org