Statistics
| Revision:

svn-gvsig-desktop / trunk / applications / appgvSIG / src / com / iver / cit / gvsig / About.java @ 2567

History | View | Annotate | Download (2.3 KB)

1 312 fernando
/*
2
 * Created on 17-feb-2004
3
 *
4
 * To change the template for this generated file go to
5
 * Window>Preferences>Java>Code Generation>Code and Comments
6
 */
7 1103 fjp
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
8
 *
9
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
10
 *
11
 * This program is free software; you can redistribute it and/or
12
 * modify it under the terms of the GNU General Public License
13
 * as published by the Free Software Foundation; either version 2
14
 * of the License, or (at your option) any later version.
15
 *
16
 * This program is distributed in the hope that it will be useful,
17
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
 * GNU General Public License for more details.
20
 *
21
 * You should have received a copy of the GNU General Public License
22
 * along with this program; if not, write to the Free Software
23
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
24
 *
25
 * For more information, contact:
26
 *
27
 *  Generalitat Valenciana
28
 *   Conselleria d'Infraestructures i Transport
29
 *   Av. Blasco Ib??ez, 50
30
 *   46010 VALENCIA
31
 *   SPAIN
32
 *
33
 *      +34 963862235
34
 *   gvsig@gva.es
35
 *      www.gvsig.gva.es
36
 *
37
 *    or
38
 *
39
 *   IVER T.I. S.A
40
 *   Salamanca 50
41
 *   46005 Valencia
42
 *   Spain
43
 *
44
 *   +34 963163400
45
 *   dac@iver.es
46
 */
47 312 fernando
package com.iver.cit.gvsig;
48
49 595 fernando
import com.iver.andami.PluginServices;
50
import com.iver.andami.plugins.Extension;
51 1219 vcaballero
52 704 fjp
import com.iver.cit.gvsig.gui.Panels.FPanelAbout;
53 312 fernando
54 1219 vcaballero
55 312 fernando
/**
56 1219 vcaballero
 * Extensi?n que abre una nueva ventana mostrando la informaci?n sobre el
57
 * gvSIG.
58 312 fernando
 *
59
 * @author Francisco Jos? Pe?arrubia
60
 */
61 1219 vcaballero
public class About implements Extension {
62 312 fernando
        /**
63 1219 vcaballero
         * @see com.iver.andami.plugins.Extension#isEnabled()
64 312 fernando
         */
65
        public boolean isEnabled() {
66
                return true;
67
        }
68
69
        /**
70 1219 vcaballero
         * @see com.iver.mdiApp.plugins.Extension#isVisible()
71 312 fernando
         */
72
        public boolean isVisible() {
73
                return true;
74
        }
75
76 595 fernando
        /**
77
         * @see com.iver.andami.plugins.Extension#inicializar()
78
         */
79
        public void inicializar() {
80
        }
81 312 fernando
82 595 fernando
        /**
83
         * @see com.iver.andami.plugins.Extension#execute(java.lang.String)
84
         */
85
        public void execute(String actionCommand) {
86 1219 vcaballero
                FPanelAbout panelAbout = new FPanelAbout();
87
88
                // panelAbout.setPreferredSize(panelAbout.getSize());
89 595 fernando
                PluginServices.getMDIManager().addView(panelAbout);
90
        }
91 1219 vcaballero
}