svn-gvsig-desktop / branches / v2_0_0_prep / extensions / org.gvsig.selectiontools.app / org.gvsig.selectiontools.app.extension / src / main / java / org / gvsig / selectiontools / app / extension / AboutSelectionToolsExtension.java @ 34006
History | View | Annotate | Download (2.92 KB)
1 | 33404 | fdiaz | package org.gvsig.selectiontools.app.extension; |
---|---|---|---|
2 | |||
3 | 34006 | cordinyana | import org.gvsig.about.AboutManager; |
4 | import org.gvsig.about.AboutParticipant; |
||
5 | 33404 | fdiaz | import org.gvsig.andami.plugins.Extension; |
6 | 34006 | cordinyana | import org.gvsig.app.ApplicationLocator; |
7 | import org.gvsig.app.ApplicationManager; |
||
8 | 33404 | fdiaz | |
9 | /* gvSIG. Geographic Information System of the Valencian Government
|
||
10 | *
|
||
11 | * Copyright (C) 2007-2008 Infrastructures and Transports Department
|
||
12 | * of the Valencian Government (CIT)
|
||
13 | *
|
||
14 | * This program is free software; you can redistribute it and/or
|
||
15 | * modify it under the terms of the GNU General Public License
|
||
16 | * as published by the Free Software Foundation; either version 2
|
||
17 | * of the License, or (at your option) any later version.
|
||
18 | *
|
||
19 | * This program is distributed in the hope that it will be useful,
|
||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
22 | * GNU General Public License for more details.
|
||
23 | *
|
||
24 | * You should have received a copy of the GNU General Public License
|
||
25 | * along with this program; if not, write to the Free Software
|
||
26 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||
27 | * MA 02110-1301, USA.
|
||
28 | *
|
||
29 | */
|
||
30 | |||
31 | /**
|
||
32 | * <p>
|
||
33 | * Some selection tools for gvSIG of the <i>Consejer?a de Medio Ambiente de la
|
||
34 | * Junta de Castilla y Le?n.</i>
|
||
35 | * </p>
|
||
36 | * project.
|
||
37 | *
|
||
38 | * @author Vicente Caballero Navarro (vicente.caballero@iver.es)
|
||
39 | * @author Jaume Dom?nguez Faus (jaume.dominguez@iver.es)
|
||
40 | * @author C?sar Mart?nez Izquierdo (cesar.martinez@iver.es)
|
||
41 | * @author Pablo Piqueras Bartolom? (pablo.piqueras@iver.es)
|
||
42 | * @author Jos? Manuel Viv? Arnal (josemanuel.vivo@iver.es)
|
||
43 | */
|
||
44 | public class AboutSelectionToolsExtension extends Extension { |
||
45 | |||
46 | /*
|
||
47 | * (non-Javadoc)
|
||
48 | *
|
||
49 | * @see com.iver.andami.plugins.IExtension#initialize()
|
||
50 | */
|
||
51 | public void initialize() { |
||
52 | } |
||
53 | |||
54 | public void postInitialize() { |
||
55 | 34006 | cordinyana | // Register the about panel
|
56 | ApplicationManager application = ApplicationLocator.getManager(); |
||
57 | |||
58 | AboutManager about = application.getAbout(); |
||
59 | |||
60 | about.addDeveloper("IVER", this.getClass().getClassLoader() |
||
61 | .getResource("iver.html"), 1); |
||
62 | |||
63 | AboutParticipant participant = about.getDeveloper("IVER");
|
||
64 | participant.addContribution("SelectionToolsExtension",
|
||
65 | "Selection tools", 2009, 1, 1, 2009, 12, 31); |
||
66 | |||
67 | about.addSponsor("Junta de Castilla y Le?n", // Junta de Castilla y Le?n |
||
68 | getClass().getClassLoader().getResource("jcyl.html"), 2); |
||
69 | 33404 | fdiaz | } |
70 | |||
71 | /*
|
||
72 | * (non-Javadoc)
|
||
73 | *
|
||
74 | * @see com.iver.andami.plugins.IExtension#execute(java.lang.String)
|
||
75 | */
|
||
76 | public void execute(String actionCommand) { |
||
77 | } |
||
78 | |||
79 | /*
|
||
80 | * (non-Javadoc)
|
||
81 | *
|
||
82 | * @see com.iver.andami.plugins.IExtension#isEnabled()
|
||
83 | */
|
||
84 | public boolean isEnabled() { |
||
85 | return false; |
||
86 | } |
||
87 | |||
88 | /*
|
||
89 | * (non-Javadoc)
|
||
90 | *
|
||
91 | * @see com.iver.andami.plugins.IExtension#isVisible()
|
||
92 | */
|
||
93 | public boolean isVisible() { |
||
94 | return false; |
||
95 | } |
||
96 | } |