Revision 41 org.gvsig.wfs.app/trunk/org.gvsig.wfs.app/org.gvsig.wfs.app.mainplugin/src/main/java/org/gvsig/wfs/WFSClientExtension.java
WFSClientExtension.java | ||
---|---|---|
22 | 22 |
import org.gvsig.wfs.gui.wizards.WFSWizard; |
23 | 23 |
|
24 | 24 |
|
25 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
26 |
* |
|
27 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
28 |
* |
|
29 |
* This program is free software; you can redistribute it and/or |
|
30 |
* modify it under the terms of the GNU General Public License |
|
31 |
* as published by the Free Software Foundation; either version 2 |
|
32 |
* of the License, or (at your option) any later version. |
|
33 |
* |
|
34 |
* This program is distributed in the hope that it will be useful, |
|
35 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
36 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
37 |
* GNU General Public License for more details. |
|
38 |
* |
|
39 |
* You should have received a copy of the GNU General Public License |
|
40 |
* along with this program; if not, write to the Free Software |
|
41 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
42 |
* |
|
43 |
* For more information, contact: |
|
44 |
* |
|
45 |
* Generalitat Valenciana |
|
46 |
* Conselleria d'Infraestructures i Transport |
|
47 |
* Av. Blasco Ib??ez, 50 |
|
48 |
* 46010 VALENCIA |
|
49 |
* SPAIN |
|
50 |
* |
|
51 |
* +34 963862235 |
|
52 |
* gvsig@gva.es |
|
53 |
* www.gvsig.gva.es |
|
54 |
* |
|
55 |
* or |
|
56 |
* |
|
57 |
* IVER T.I. S.A |
|
58 |
* Salamanca 50 |
|
59 |
* 46005 Valencia |
|
60 |
* Spain |
|
61 |
* |
|
62 |
* +34 963163400 |
|
63 |
* dac@iver.es |
|
64 |
*/ |
|
65 |
/* CVS MESSAGES: |
|
66 |
* |
|
67 |
* $Id: WFSClientExtension.java 18381 2008-01-30 12:00:25Z jpiera $ |
|
68 |
* $Log$ |
|
69 |
* Revision 1.6.2.2 2006-11-17 11:28:45 ppiqueras |
|
70 |
* Corregidos bugs y añadida nueva funcionalidad. |
|
71 |
* |
|
72 |
* Revision 1.8 2006/10/02 09:09:45 jorpiell |
|
73 |
* Cambios del 10 copiados al head |
|
74 |
* |
|
75 |
* Revision 1.6 2006/09/05 15:41:52 jorpiell |
|
76 |
* A?adida la funcionalidad de cargar WFS desde el cat?logo |
|
77 |
* |
|
78 |
* Revision 1.5 2006/07/05 12:04:50 jorpiell |
|
79 |
* A?adida la opci?n de propiedades vectoriales |
|
80 |
* |
|
81 |
* Revision 1.4 2006/06/21 12:35:45 jorpiell |
|
82 |
* Se ha a?adido la ventana de propiedades. Esto implica a?adir listeners por todos los paneles. Adem?s no se muestra la geomatr?a en la lista de atributos y se muestran ?nicamnete los que se van a descargar |
|
83 |
* |
|
84 |
* Revision 1.3 2006/05/19 12:57:34 jorpiell |
|
85 |
* Ahora hereda de Extension |
|
86 |
* |
|
87 |
* Revision 1.1 2006/04/19 12:50:16 jorpiell |
|
88 |
* Primer commit de la aplicaci?n. Se puede hacer un getCapabilities y ver el mensaje de vienvenida del servidor |
|
89 |
* |
|
90 |
* |
|
91 |
*/ |
|
92 |
/** |
|
93 |
* @author Jorge Piera Llodr? (piera_jor@gva.es) |
|
94 |
*/ |
|
95 | 25 |
public class WFSClientExtension extends Extension{ |
96 | 26 |
|
97 | 27 |
public void initialize() { |
... | ... | |
109 | 39 |
wfsTabExtensionPoint.append("options", "", WFSOptionsPanel.class); |
110 | 40 |
// wfsTabExtensionPoint.append("filter", "", WFSFilterPanel.class); |
111 | 41 |
wfsTabExtensionPoint.append("area", "", WFSAreaPanel.class); |
112 |
|
|
113 |
//Adding forms to the generic vectorial properties |
|
114 |
/* |
|
115 |
* This was causing the WFS tab to appear in all vector layers. |
|
116 |
* We need another way to show the WFS layer properties |
|
117 |
* |
|
42 |
|
|
118 | 43 |
ThemeManagerWindow.addPage(WFSProperties.class); |
119 | 44 |
ThemeManagerWindow.setTabEnabledForLayer(WFSProperties.class, FLyrVect.class, true); |
120 |
*/ |
|
121 |
|
|
122 |
// Registers this class as a "PanelGroup" type |
|
123 |
PanelGroupManager.getManager().registerPanelGroup(WFSParamsPanel.class); |
|
45 |
|
|
46 |
// Registers this class as a "PanelGroup" type |
|
47 |
PanelGroupManager.getManager().registerPanelGroup(WFSParamsPanel.class); |
|
124 | 48 |
|
125 |
// Sets this class as the default "PanelGroup" type |
|
126 |
PanelGroupManager.getManager().setDefaultType(WFSParamsPanel.class); |
|
127 |
|
|
128 |
initilizeIcons();
|
|
49 |
// Sets this class as the default "PanelGroup" type
|
|
50 |
PanelGroupManager.getManager().setDefaultType(WFSParamsPanel.class);
|
|
51 |
|
|
52 |
initilizeIcons();
|
|
129 | 53 |
} |
130 | 54 |
|
131 | 55 |
/* |
Also available in: Unified diff