Author: chatellier Date: 2010-01-28 10:18:21 +0000 (Thu, 28 Jan 2010) New Revision: 2956 Removed: isis-fish/branches/3.3.1/src/main/java/fr/ifremer/isisfish/ui/widget/VCSConnectionState.java Log: Remove deprecated class Deleted: isis-fish/branches/3.3.1/src/main/java/fr/ifremer/isisfish/ui/widget/VCSConnectionState.java =================================================================== --- isis-fish/branches/3.3.1/src/main/java/fr/ifremer/isisfish/ui/widget/VCSConnectionState.java 2010-01-28 10:17:53 UTC (rev 2955) +++ isis-fish/branches/3.3.1/src/main/java/fr/ifremer/isisfish/ui/widget/VCSConnectionState.java 2010-01-28 10:18:21 UTC (rev 2956) @@ -1,55 +0,0 @@ -/* *##% - * Copyright (C) 2002-2009 Code Lutin, Benjamin Poussin - * - * 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.ifremer.isisfish.ui.widget; - -import fr.ifremer.isisfish.IsisFish; -import javax.swing.Icon; -import javax.swing.JLabel; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.nuiton.util.Resource; - -/** - * VCSConnectionState. - * @author poussin - * @version $Revision$ - * - * Last update: $Date$ - * by : $Author$ - * - * @deprecated since 20090414 (unused) - */ -public class VCSConnectionState extends JLabel { - - /** to use log facility, just put in your code: log.info(\"...\"); */ - private static Log log = LogFactory.getLog(VCSConnectionState.class); - - public VCSConnectionState() { - Icon icon; - boolean connected = IsisFish.vcs.isConnected(); - if (connected) { - icon = Resource.getIcon("images/stock_connect.png"); - } else { - icon = Resource.getIcon("images/stock_disconnect.png"); - } - setIcon(icon); - } - -}