Revision 9539
org.gvsig.republicadominicana.catastro/trunk/org.gvsig.republicadominicana.catastro/org.gvsig.republicadominicana.catastro.swing/org.gvsig.republicadominicana.catastro.swing.impl/src/main/java/org/gvsig/republicadominicana/catastro/swing/impl/RDCatastroSwingManagerImpl.java | ||
---|---|---|
1 |
|
|
2 |
package org.gvsig.republicadominicana.catastro.swing.impl; |
|
3 |
|
|
4 |
import java.net.URL; |
|
5 |
import javax.swing.ImageIcon; |
|
6 |
import org.apache.commons.io.FilenameUtils; |
|
7 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
|
8 |
import org.gvsig.republicadominicana.catastro.swing.api.RDCatastroJSearchByCadastralReference; |
|
9 |
import org.gvsig.republicadominicana.catastro.swing.api.RDCatastroSwingManager; |
|
10 |
import org.gvsig.republicadominicana.catastro.swing.impl.cadastralsearch.RDCatastroJSearchByCadastralReferenceImpl; |
|
11 |
import org.gvsig.tools.arguments.Arguments; |
|
12 |
import org.gvsig.tools.swing.api.ToolsSwingLocator; |
|
13 |
import org.gvsig.tools.swing.icontheme.IconTheme; |
|
14 |
|
|
15 |
|
|
16 |
/** |
|
17 |
* |
|
18 |
* @author jjdelcerro |
|
19 |
*/ |
|
20 |
public class RDCatastroSwingManagerImpl implements RDCatastroSwingManager { |
|
21 |
|
|
22 |
public static final String ICON_COMMON_GROUP_NAME = "common"; |
|
23 |
public static final String ICON_GROUP_NAME = "rdcatastro"; |
|
24 |
public static final String ICON_PROVIDER_NAME = "RDCatastro"; |
|
25 |
|
|
26 |
// private OnlineSwingServices services; |
|
27 |
|
|
28 |
public RDCatastroSwingManagerImpl() { |
|
29 |
} |
|
30 |
|
|
31 |
// @Override |
|
32 |
// public void setDefaultServices(OnlineSwingServices services) { |
|
33 |
// this.services = services; |
|
34 |
// } |
|
35 |
// |
|
36 |
// @Override |
|
37 |
// public OnlineSwingServices getDefaultServices() { |
|
38 |
// return this.services; |
|
39 |
// } |
|
40 |
|
|
41 |
public static ImageIcon loadImage(String imageName) { |
|
42 |
String name = FilenameUtils.getBaseName(imageName); |
|
43 |
IconTheme theme = ToolsSwingLocator.getIconThemeManager().getDefault(); |
|
44 |
if (theme.exists(name)) { |
|
45 |
return theme.get(name); |
|
46 |
} |
|
47 |
URL url = RDCatastroSwingManagerImpl.class.getResource("images/"+name + ".png"); |
|
48 |
if (url == null) { |
|
49 |
return null; |
|
50 |
} |
|
51 |
return new ImageIcon(url); |
|
52 |
} |
|
53 |
|
|
54 |
@Override |
|
55 |
public RDCatastroJSearchByCadastralReference createSearchByCadastralReferencePanel(FeatureStore store, Arguments arguments) { |
|
56 |
return new RDCatastroJSearchByCadastralReferenceImpl(store, arguments); |
|
57 |
} |
|
58 |
|
|
59 |
} |
org.gvsig.republicadominicana.catastro/trunk/org.gvsig.republicadominicana.catastro/org.gvsig.republicadominicana.catastro.swing/org.gvsig.republicadominicana.catastro.swing.impl/src/main/java/org/gvsig/republicadominicana/catastro/swing/impl/cadastralsearch/RDCatastroJSearchByCadastralReferenceView.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
|
|
3 |
<object classname="com.jeta.forms.store.memento.FormPackage"> |
|
4 |
<at name="fileversion"> |
|
5 |
<object classname="com.jeta.forms.store.memento.FormsVersion2"> |
|
6 |
<at name="major">2</at> |
|
7 |
<at name="minor">0</at> |
|
8 |
<at name="sub">0</at> |
|
9 |
</object> |
|
10 |
</at> |
|
11 |
<at name="form"> |
|
12 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
|
13 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
14 |
<at name="cellconstraints"> |
|
15 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
16 |
<at name="column">1</at> |
|
17 |
<at name="row">1</at> |
|
18 |
<at name="colspan">1</at> |
|
19 |
<at name="rowspan">1</at> |
|
20 |
<at name="halign">default</at> |
|
21 |
<at name="valign">default</at> |
|
22 |
<at name="insets" object="insets">0,0,0,0</at> |
|
23 |
</object> |
|
24 |
</at> |
|
25 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
|
26 |
</super> |
|
27 |
<at name="id">/home/fdiaz/projects/gvSIG/org.gvsig.online/org.gvsig.online.swing/org.gvsig.online.swing.impl/src/main/java/org/gvsig/republicadominicana/catastro/swing/impl/cadastralsearch/RDCatastroJSearchByCadastralReference.xml</at> |
|
28 |
<at name="path">org.gvsig.online/org.gvsig.online.swing/org.gvsig.online.swing.impl/src/main/java/org/gvsig/republicadominicana/catastro/swing/impl/cadastralsearch/RDCatastroJSearchByCadastralReference.xml</at> |
|
29 |
<at name="rowspecs">CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE</at> |
|
30 |
<at name="colspecs">FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE</at> |
|
31 |
<at name="components"> |
|
32 |
<object classname="java.util.LinkedList"> |
|
33 |
<item > |
|
34 |
<at name="value"> |
|
35 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
|
36 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
37 |
<at name="cellconstraints"> |
|
38 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
39 |
<at name="column">2</at> |
|
40 |
<at name="row">5</at> |
|
41 |
<at name="colspan">1</at> |
|
42 |
<at name="rowspan">1</at> |
|
43 |
<at name="halign">default</at> |
|
44 |
<at name="valign">default</at> |
|
45 |
<at name="insets" object="insets">0,0,0,0</at> |
|
46 |
</object> |
|
47 |
</at> |
|
48 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
|
49 |
</super> |
|
50 |
<at name="id">embedded.1307892817</at> |
|
51 |
<at name="rowspecs">CENTER:DEFAULT:NONE</at> |
|
52 |
<at name="colspecs">FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE</at> |
|
53 |
<at name="components"> |
|
54 |
<object classname="java.util.LinkedList"> |
|
55 |
<item > |
|
56 |
<at name="value"> |
|
57 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
58 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
59 |
<at name="cellconstraints"> |
|
60 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
61 |
<at name="column">4</at> |
|
62 |
<at name="row">1</at> |
|
63 |
<at name="colspan">1</at> |
|
64 |
<at name="rowspan">1</at> |
|
65 |
<at name="halign">default</at> |
|
66 |
<at name="valign">default</at> |
|
67 |
<at name="insets" object="insets">0,0,0,0</at> |
|
68 |
</object> |
|
69 |
</at> |
|
70 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
71 |
</super> |
|
72 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
73 |
<at name="beanclass">javax.swing.JButton</at> |
|
74 |
<at name="beanproperties"> |
|
75 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
76 |
<at name="classname">javax.swing.JButton</at> |
|
77 |
<at name="properties"> |
|
78 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
79 |
<at name="border"> |
|
80 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
81 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
82 |
<at name="name">border</at> |
|
83 |
</super> |
|
84 |
<at name="borders"> |
|
85 |
<object classname="java.util.LinkedList"> |
|
86 |
<item > |
|
87 |
<at name="value"> |
|
88 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
89 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
90 |
<at name="name">border</at> |
|
91 |
</super> |
|
92 |
</object> |
|
93 |
</at> |
|
94 |
</item> |
|
95 |
</object> |
|
96 |
</at> |
|
97 |
</object> |
|
98 |
</at> |
|
99 |
<at name="actionCommand">_Download_and_center</at> |
|
100 |
<at name="name">btnDownloadSelectAndZoom</at> |
|
101 |
<at name="width">196</at> |
|
102 |
<at name="text">_Download_select_and_zoom</at> |
|
103 |
<at name="height">22</at> |
|
104 |
</object> |
|
105 |
</at> |
|
106 |
</object> |
|
107 |
</at> |
|
108 |
</object> |
|
109 |
</at> |
|
110 |
</item> |
|
111 |
<item > |
|
112 |
<at name="value"> |
|
113 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
114 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
115 |
<at name="cellconstraints"> |
|
116 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
117 |
<at name="column">2</at> |
|
118 |
<at name="row">1</at> |
|
119 |
<at name="colspan">1</at> |
|
120 |
<at name="rowspan">1</at> |
|
121 |
<at name="halign">default</at> |
|
122 |
<at name="valign">default</at> |
|
123 |
<at name="insets" object="insets">0,0,0,0</at> |
|
124 |
</object> |
|
125 |
</at> |
|
126 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
127 |
</super> |
|
128 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
129 |
<at name="beanclass">javax.swing.JButton</at> |
|
130 |
<at name="beanproperties"> |
|
131 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
132 |
<at name="classname">javax.swing.JButton</at> |
|
133 |
<at name="properties"> |
|
134 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
135 |
<at name="border"> |
|
136 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
137 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
138 |
<at name="name">border</at> |
|
139 |
</super> |
|
140 |
<at name="borders"> |
|
141 |
<object classname="java.util.LinkedList"> |
|
142 |
<item > |
|
143 |
<at name="value"> |
|
144 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
145 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
146 |
<at name="name">border</at> |
|
147 |
</super> |
|
148 |
</object> |
|
149 |
</at> |
|
150 |
</item> |
|
151 |
</object> |
|
152 |
</at> |
|
153 |
</object> |
|
154 |
</at> |
|
155 |
<at name="actionCommand">_Download_and_center</at> |
|
156 |
<at name="name">btnSelectAndZoom</at> |
|
157 |
<at name="width">136</at> |
|
158 |
<at name="text">_Select_and_zoom</at> |
|
159 |
<at name="height">22</at> |
|
160 |
</object> |
|
161 |
</at> |
|
162 |
</object> |
|
163 |
</at> |
|
164 |
</object> |
|
165 |
</at> |
|
166 |
</item> |
|
167 |
</object> |
|
168 |
</at> |
|
169 |
<at name="properties"> |
|
170 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
171 |
<at name="classname">com.jeta.forms.gui.form.GridView</at> |
|
172 |
<at name="properties"> |
|
173 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
174 |
<at name="border"> |
|
175 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
176 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
177 |
<at name="name">border</at> |
|
178 |
</super> |
|
179 |
<at name="borders"> |
|
180 |
<object classname="java.util.LinkedList"/> |
|
181 |
</at> |
|
182 |
</object> |
|
183 |
</at> |
|
184 |
<at name="name"/> |
|
185 |
<at name="fill"> |
|
186 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
187 |
<at name="name">fill</at> |
|
188 |
</object> |
|
189 |
</at> |
|
190 |
<at name="scollBars"> |
|
191 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
192 |
<at name="name">scollBars</at> |
|
193 |
<at name="verticalpolicy">21</at> |
|
194 |
<at name="horizontalpolicy">31</at> |
|
195 |
<at name="border"> |
|
196 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
197 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
198 |
<at name="name">border</at> |
|
199 |
</super> |
|
200 |
<at name="borders"> |
|
201 |
<object classname="java.util.LinkedList"> |
|
202 |
<item > |
|
203 |
<at name="value"> |
|
204 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
205 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
206 |
<at name="name">border</at> |
|
207 |
</super> |
|
208 |
</object> |
|
209 |
</at> |
|
210 |
</item> |
|
211 |
</object> |
|
212 |
</at> |
|
213 |
</object> |
|
214 |
</at> |
|
215 |
</object> |
|
216 |
</at> |
|
217 |
</object> |
|
218 |
</at> |
|
219 |
</object> |
|
220 |
</at> |
|
221 |
<at name="cellpainters"> |
|
222 |
<object classname="com.jeta.forms.store.support.Matrix"> |
|
223 |
<at name="rows"> |
|
224 |
<object classname="[Ljava.lang.Object;" size="1"> |
|
225 |
<at name="item" index="0"> |
|
226 |
<object classname="[Ljava.lang.Object;" size="4"/> |
|
227 |
</at> |
|
228 |
</object> |
|
229 |
</at> |
|
230 |
</object> |
|
231 |
</at> |
|
232 |
<at name="rowgroups"> |
|
233 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
234 |
<at name="groups"> |
|
235 |
<object classname="java.util.HashMap"/> |
|
236 |
</at> |
|
237 |
</object> |
|
238 |
</at> |
|
239 |
<at name="colgroups"> |
|
240 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
241 |
<at name="groups"> |
|
242 |
<object classname="java.util.HashMap"/> |
|
243 |
</at> |
|
244 |
</object> |
|
245 |
</at> |
|
246 |
</object> |
|
247 |
</at> |
|
248 |
</item> |
|
249 |
<item > |
|
250 |
<at name="value"> |
|
251 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
|
252 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
253 |
<at name="cellconstraints"> |
|
254 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
255 |
<at name="column">2</at> |
|
256 |
<at name="row">7</at> |
|
257 |
<at name="colspan">1</at> |
|
258 |
<at name="rowspan">1</at> |
|
259 |
<at name="halign">default</at> |
|
260 |
<at name="valign">default</at> |
|
261 |
<at name="insets" object="insets">0,0,0,0</at> |
|
262 |
</object> |
|
263 |
</at> |
|
264 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
|
265 |
</super> |
|
266 |
<at name="id">embedded.1267132361</at> |
|
267 |
<at name="rowspecs">CENTER:MIN(16PX;DEFAULT):NONE,CENTER:MIN(16PX;DEFAULT):NONE,CENTER:MIN(16PX;DEFAULT):NONE</at> |
|
268 |
<at name="colspecs">FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE</at> |
|
269 |
<at name="components"> |
|
270 |
<object classname="java.util.LinkedList"> |
|
271 |
<item > |
|
272 |
<at name="value"> |
|
273 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
274 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
275 |
<at name="cellconstraints"> |
|
276 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
277 |
<at name="column">1</at> |
|
278 |
<at name="row">1</at> |
|
279 |
<at name="colspan">1</at> |
|
280 |
<at name="rowspan">1</at> |
|
281 |
<at name="halign">default</at> |
|
282 |
<at name="valign">default</at> |
|
283 |
<at name="insets" object="insets">0,0,0,0</at> |
|
284 |
</object> |
|
285 |
</at> |
|
286 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
287 |
</super> |
|
288 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
289 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
290 |
<at name="beanproperties"> |
|
291 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
292 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
293 |
<at name="properties"> |
|
294 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
295 |
<at name="border"> |
|
296 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
297 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
298 |
<at name="name">border</at> |
|
299 |
</super> |
|
300 |
<at name="borders"> |
|
301 |
<object classname="java.util.LinkedList"> |
|
302 |
<item > |
|
303 |
<at name="value"> |
|
304 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
305 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
306 |
<at name="name">border</at> |
|
307 |
</super> |
|
308 |
</object> |
|
309 |
</at> |
|
310 |
</item> |
|
311 |
</object> |
|
312 |
</at> |
|
313 |
</object> |
|
314 |
</at> |
|
315 |
<at name="name">lblStatusCaption</at> |
|
316 |
<at name="width">343</at> |
|
317 |
<at name="fill"> |
|
318 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
319 |
<at name="name">fill</at> |
|
320 |
</object> |
|
321 |
</at> |
|
322 |
<at name="height">12</at> |
|
323 |
</object> |
|
324 |
</at> |
|
325 |
</object> |
|
326 |
</at> |
|
327 |
</object> |
|
328 |
</at> |
|
329 |
</item> |
|
330 |
<item > |
|
331 |
<at name="value"> |
|
332 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
333 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
334 |
<at name="cellconstraints"> |
|
335 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
336 |
<at name="column">1</at> |
|
337 |
<at name="row">3</at> |
|
338 |
<at name="colspan">1</at> |
|
339 |
<at name="rowspan">1</at> |
|
340 |
<at name="halign">default</at> |
|
341 |
<at name="valign">default</at> |
|
342 |
<at name="insets" object="insets">0,0,0,0</at> |
|
343 |
</object> |
|
344 |
</at> |
|
345 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
346 |
</super> |
|
347 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
348 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
349 |
<at name="beanproperties"> |
|
350 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
351 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
352 |
<at name="properties"> |
|
353 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
354 |
<at name="border"> |
|
355 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
356 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
357 |
<at name="name">border</at> |
|
358 |
</super> |
|
359 |
<at name="borders"> |
|
360 |
<object classname="java.util.LinkedList"> |
|
361 |
<item > |
|
362 |
<at name="value"> |
|
363 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
364 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
365 |
<at name="name">border</at> |
|
366 |
</super> |
|
367 |
</object> |
|
368 |
</at> |
|
369 |
</item> |
|
370 |
</object> |
|
371 |
</at> |
|
372 |
</object> |
|
373 |
</at> |
|
374 |
<at name="name">lblStatusMessages</at> |
|
375 |
<at name="width">343</at> |
|
376 |
<at name="fill"> |
|
377 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
378 |
<at name="name">fill</at> |
|
379 |
</object> |
|
380 |
</at> |
|
381 |
<at name="height">12</at> |
|
382 |
</object> |
|
383 |
</at> |
|
384 |
</object> |
|
385 |
</at> |
|
386 |
</object> |
|
387 |
</at> |
|
388 |
</item> |
|
389 |
<item > |
|
390 |
<at name="value"> |
|
391 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
392 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
393 |
<at name="cellconstraints"> |
|
394 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
395 |
<at name="column">1</at> |
|
396 |
<at name="row">2</at> |
|
397 |
<at name="colspan">1</at> |
|
398 |
<at name="rowspan">1</at> |
|
399 |
<at name="halign">default</at> |
|
400 |
<at name="valign">default</at> |
|
401 |
<at name="insets" object="insets">0,0,0,0</at> |
|
402 |
</object> |
|
403 |
</at> |
|
404 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
405 |
</super> |
|
406 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
407 |
<at name="beanclass">javax.swing.JProgressBar</at> |
|
408 |
<at name="beanproperties"> |
|
409 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
410 |
<at name="classname">javax.swing.JProgressBar</at> |
|
411 |
<at name="properties"> |
|
412 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
413 |
<at name="border"> |
|
414 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
415 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
416 |
<at name="name">border</at> |
|
417 |
</super> |
|
418 |
<at name="borders"> |
|
419 |
<object classname="java.util.LinkedList"> |
|
420 |
<item > |
|
421 |
<at name="value"> |
|
422 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
423 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
424 |
<at name="name">border</at> |
|
425 |
</super> |
|
426 |
</object> |
|
427 |
</at> |
|
428 |
</item> |
|
429 |
</object> |
|
430 |
</at> |
|
431 |
</object> |
|
432 |
</at> |
|
433 |
<at name="name">pbStatus</at> |
|
434 |
<at name="width">343</at> |
|
435 |
<at name="percentComplete">0.25</at> |
|
436 |
<at name="value">25</at> |
|
437 |
<at name="height">12</at> |
|
438 |
</object> |
|
439 |
</at> |
|
440 |
</object> |
|
441 |
</at> |
|
442 |
</object> |
|
443 |
</at> |
|
444 |
</item> |
|
445 |
<item > |
|
446 |
<at name="value"> |
|
447 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
448 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
449 |
<at name="cellconstraints"> |
|
450 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
451 |
<at name="column">2</at> |
|
452 |
<at name="row">1</at> |
|
453 |
<at name="colspan">1</at> |
|
454 |
<at name="rowspan">1</at> |
|
455 |
<at name="halign">default</at> |
|
456 |
<at name="valign">default</at> |
|
457 |
<at name="insets" object="insets">0,0,0,0</at> |
|
458 |
</object> |
|
459 |
</at> |
|
460 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
461 |
</super> |
|
462 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
463 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
464 |
<at name="beanproperties"> |
|
465 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
466 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
467 |
<at name="properties"> |
|
468 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
469 |
<at name="border"> |
|
470 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
471 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
472 |
<at name="name">border</at> |
|
473 |
</super> |
|
474 |
<at name="borders"> |
|
475 |
<object classname="java.util.LinkedList"> |
|
476 |
<item > |
|
477 |
<at name="value"> |
|
478 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
479 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
480 |
<at name="name">border</at> |
|
481 |
</super> |
|
482 |
</object> |
|
483 |
</at> |
|
484 |
</item> |
|
485 |
</object> |
|
486 |
</at> |
|
487 |
</object> |
|
488 |
</at> |
|
489 |
<at name="width">12</at> |
|
490 |
<at name="name"/> |
|
491 |
<at name="text"> </at> |
|
492 |
<at name="fill"> |
|
493 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
494 |
<at name="name">fill</at> |
|
495 |
</object> |
|
496 |
</at> |
|
497 |
<at name="height">12</at> |
|
498 |
</object> |
|
499 |
</at> |
|
500 |
</object> |
|
501 |
</at> |
|
502 |
</object> |
|
503 |
</at> |
|
504 |
</item> |
|
505 |
<item > |
|
506 |
<at name="value"> |
|
507 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
508 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
509 |
<at name="cellconstraints"> |
|
510 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
511 |
<at name="column">2</at> |
|
512 |
<at name="row">3</at> |
|
513 |
<at name="colspan">1</at> |
|
514 |
<at name="rowspan">1</at> |
|
515 |
<at name="halign">default</at> |
|
516 |
<at name="valign">default</at> |
|
517 |
<at name="insets" object="insets">0,0,0,0</at> |
|
518 |
</object> |
|
519 |
</at> |
|
520 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
521 |
</super> |
|
522 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
523 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
524 |
<at name="beanproperties"> |
|
525 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
526 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
527 |
<at name="properties"> |
|
528 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
529 |
<at name="border"> |
|
530 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
531 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
532 |
<at name="name">border</at> |
|
533 |
</super> |
|
534 |
<at name="borders"> |
|
535 |
<object classname="java.util.LinkedList"> |
|
536 |
<item > |
|
537 |
<at name="value"> |
|
538 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
539 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
540 |
<at name="name">border</at> |
|
541 |
</super> |
|
542 |
</object> |
|
543 |
</at> |
|
544 |
</item> |
|
545 |
</object> |
|
546 |
</at> |
|
547 |
</object> |
|
548 |
</at> |
|
549 |
<at name="width">12</at> |
|
550 |
<at name="name"/> |
|
551 |
<at name="text"> </at> |
|
552 |
<at name="fill"> |
|
553 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
554 |
<at name="name">fill</at> |
|
555 |
</object> |
|
556 |
</at> |
|
557 |
<at name="height">12</at> |
|
558 |
</object> |
|
559 |
</at> |
|
560 |
</object> |
|
561 |
</at> |
|
562 |
</object> |
|
563 |
</at> |
|
564 |
</item> |
|
565 |
<item > |
|
566 |
<at name="value"> |
|
567 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
568 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
569 |
<at name="cellconstraints"> |
|
570 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
571 |
<at name="column">2</at> |
|
572 |
<at name="row">2</at> |
|
573 |
<at name="colspan">1</at> |
|
574 |
<at name="rowspan">1</at> |
|
575 |
<at name="halign">default</at> |
|
576 |
<at name="valign">default</at> |
|
577 |
<at name="insets" object="insets">0,0,0,0</at> |
|
578 |
</object> |
|
579 |
</at> |
|
580 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
581 |
</super> |
|
582 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
583 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
584 |
<at name="beanproperties"> |
|
585 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
586 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
587 |
<at name="properties"> |
|
588 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
589 |
<at name="border"> |
|
590 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
591 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
592 |
<at name="name">border</at> |
|
593 |
</super> |
|
594 |
<at name="borders"> |
|
595 |
<object classname="java.util.LinkedList"> |
|
596 |
<item > |
|
597 |
<at name="value"> |
|
598 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
599 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
600 |
<at name="name">border</at> |
|
601 |
</super> |
|
602 |
</object> |
|
603 |
</at> |
|
604 |
</item> |
|
605 |
</object> |
|
606 |
</at> |
|
607 |
</object> |
|
608 |
</at> |
|
609 |
<at name="width">12</at> |
|
610 |
<at name="name"/> |
|
611 |
<at name="text"> </at> |
|
612 |
<at name="fill"> |
|
613 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
614 |
<at name="name">fill</at> |
|
615 |
</object> |
|
616 |
</at> |
|
617 |
<at name="height">12</at> |
|
618 |
</object> |
|
619 |
</at> |
|
620 |
</object> |
|
621 |
</at> |
|
622 |
</object> |
|
623 |
</at> |
|
624 |
</item> |
|
625 |
</object> |
|
626 |
</at> |
|
627 |
<at name="properties"> |
|
628 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
629 |
<at name="classname">com.jeta.forms.gui.form.GridView</at> |
|
630 |
<at name="properties"> |
|
631 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
632 |
<at name="border"> |
|
633 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
634 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
635 |
<at name="name">border</at> |
|
636 |
</super> |
|
637 |
<at name="borders"> |
|
638 |
<object classname="java.util.LinkedList"/> |
|
639 |
</at> |
|
640 |
</object> |
|
641 |
</at> |
|
642 |
<at name="name"/> |
|
643 |
<at name="fill"> |
|
644 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
645 |
<at name="name">fill</at> |
|
646 |
</object> |
|
647 |
</at> |
|
648 |
<at name="scollBars"> |
|
649 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
650 |
<at name="name">scollBars</at> |
|
651 |
<at name="verticalpolicy">21</at> |
|
652 |
<at name="horizontalpolicy">31</at> |
|
653 |
<at name="border"> |
|
654 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
655 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
656 |
<at name="name">border</at> |
|
657 |
</super> |
|
658 |
<at name="borders"> |
|
659 |
<object classname="java.util.LinkedList"> |
|
660 |
<item > |
|
661 |
<at name="value"> |
|
662 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
663 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
664 |
<at name="name">border</at> |
|
665 |
</super> |
|
666 |
</object> |
|
667 |
</at> |
|
668 |
</item> |
|
669 |
</object> |
|
670 |
</at> |
|
671 |
</object> |
|
672 |
</at> |
|
673 |
</object> |
|
674 |
</at> |
|
675 |
</object> |
|
676 |
</at> |
|
677 |
</object> |
|
678 |
</at> |
|
679 |
<at name="cellpainters"> |
|
680 |
<object classname="com.jeta.forms.store.support.Matrix"> |
|
681 |
<at name="rows"> |
|
682 |
<object classname="[Ljava.lang.Object;" size="3"> |
|
683 |
<at name="item" index="0"> |
|
684 |
<object classname="[Ljava.lang.Object;" size="2"/> |
|
685 |
</at> |
|
686 |
<at name="item" index="1"> |
|
687 |
<object classname="[Ljava.lang.Object;" size="2"/> |
|
688 |
</at> |
|
689 |
<at name="item" index="2"> |
|
690 |
<object classname="[Ljava.lang.Object;" size="2"/> |
|
691 |
</at> |
|
692 |
</object> |
|
693 |
</at> |
|
694 |
</object> |
|
695 |
</at> |
|
696 |
<at name="rowgroups"> |
|
697 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
698 |
<at name="groups"> |
|
699 |
<object classname="java.util.HashMap"/> |
|
700 |
</at> |
|
701 |
</object> |
|
702 |
</at> |
|
703 |
<at name="colgroups"> |
|
704 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
705 |
<at name="groups"> |
|
706 |
<object classname="java.util.HashMap"/> |
|
707 |
</at> |
|
708 |
</object> |
|
709 |
</at> |
|
710 |
</object> |
|
711 |
</at> |
|
712 |
</item> |
|
713 |
<item > |
|
714 |
<at name="value"> |
|
715 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
716 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
717 |
<at name="cellconstraints"> |
|
718 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
719 |
<at name="column">2</at> |
|
720 |
<at name="row">2</at> |
|
721 |
<at name="colspan">1</at> |
|
722 |
<at name="rowspan">1</at> |
|
723 |
<at name="halign">default</at> |
|
724 |
<at name="valign">default</at> |
|
725 |
<at name="insets" object="insets">0,0,0,0</at> |
|
726 |
</object> |
|
727 |
</at> |
|
728 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
729 |
</super> |
|
730 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
731 |
<at name="beanclass">javax.swing.JTextField</at> |
|
732 |
<at name="beanproperties"> |
|
733 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
734 |
<at name="classname">javax.swing.JTextField</at> |
|
735 |
<at name="properties"> |
|
736 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
737 |
<at name="border"> |
|
738 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
739 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
740 |
<at name="name">border</at> |
|
741 |
</super> |
|
742 |
<at name="borders"> |
|
743 |
<object classname="java.util.LinkedList"> |
|
744 |
<item > |
|
745 |
<at name="value"> |
|
746 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
747 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
748 |
<at name="name">border</at> |
|
749 |
</super> |
|
750 |
</object> |
|
751 |
</at> |
|
752 |
</item> |
|
753 |
</object> |
|
754 |
</at> |
|
755 |
</object> |
|
756 |
</at> |
|
757 |
<at name="name">txtCadastralReference</at> |
|
758 |
<at name="width">364</at> |
|
759 |
<at name="height">20</at> |
|
760 |
</object> |
|
761 |
</at> |
|
762 |
</object> |
|
763 |
</at> |
|
764 |
</object> |
|
765 |
</at> |
|
766 |
</item> |
|
767 |
</object> |
|
768 |
</at> |
|
769 |
<at name="properties"> |
|
770 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
771 |
<at name="classname">com.jeta.forms.gui.form.GridView</at> |
|
772 |
<at name="properties"> |
|
773 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
774 |
<at name="border"> |
|
775 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
776 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
777 |
<at name="name">border</at> |
|
778 |
</super> |
|
779 |
<at name="borders"> |
|
780 |
<object classname="java.util.LinkedList"/> |
|
781 |
</at> |
|
782 |
</object> |
|
783 |
</at> |
|
784 |
<at name="name"/> |
|
785 |
<at name="fill"> |
|
786 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
787 |
<at name="name">fill</at> |
|
788 |
</object> |
|
789 |
</at> |
|
790 |
<at name="scollBars"> |
|
791 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
792 |
<at name="name">scollBars</at> |
|
793 |
<at name="verticalpolicy">21</at> |
|
794 |
<at name="horizontalpolicy">31</at> |
|
795 |
<at name="border"> |
|
796 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
797 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
798 |
<at name="name">border</at> |
|
799 |
</super> |
|
800 |
<at name="borders"> |
|
801 |
<object classname="java.util.LinkedList"> |
|
802 |
<item > |
|
803 |
<at name="value"> |
|
804 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
805 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
806 |
<at name="name">border</at> |
|
807 |
</super> |
|
808 |
</object> |
|
809 |
</at> |
|
810 |
</item> |
|
811 |
</object> |
|
812 |
</at> |
|
813 |
</object> |
|
814 |
</at> |
|
815 |
</object> |
|
816 |
</at> |
|
817 |
</object> |
|
818 |
</at> |
|
819 |
</object> |
|
820 |
</at> |
|
821 |
<at name="cellpainters"> |
|
822 |
<object classname="com.jeta.forms.store.support.Matrix"> |
|
823 |
<at name="rows"> |
|
824 |
<object classname="[Ljava.lang.Object;" size="8"> |
|
825 |
<at name="item" index="0"> |
|
826 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
827 |
</at> |
|
828 |
<at name="item" index="1"> |
|
829 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
830 |
</at> |
|
831 |
<at name="item" index="2"> |
|
832 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
833 |
</at> |
|
834 |
<at name="item" index="3"> |
|
835 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
836 |
</at> |
|
837 |
<at name="item" index="4"> |
|
838 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
839 |
</at> |
|
840 |
<at name="item" index="5"> |
|
841 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
842 |
</at> |
|
843 |
<at name="item" index="6"> |
|
844 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
845 |
</at> |
|
846 |
<at name="item" index="7"> |
|
847 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
848 |
</at> |
|
849 |
</object> |
|
850 |
</at> |
|
851 |
</object> |
|
852 |
</at> |
|
853 |
<at name="rowgroups"> |
|
854 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
855 |
<at name="groups"> |
|
856 |
<object classname="java.util.HashMap"/> |
|
857 |
</at> |
|
858 |
</object> |
|
859 |
</at> |
|
860 |
<at name="colgroups"> |
|
861 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
862 |
<at name="groups"> |
|
863 |
<object classname="java.util.HashMap"/> |
|
864 |
</at> |
|
865 |
</object> |
|
866 |
</at> |
|
867 |
</object> |
|
868 |
</at> |
|
869 |
</object> |
org.gvsig.republicadominicana.catastro/trunk/org.gvsig.republicadominicana.catastro/org.gvsig.republicadominicana.catastro.swing/org.gvsig.republicadominicana.catastro.swing.impl/src/main/java/org/gvsig/republicadominicana/catastro/swing/impl/cadastralsearch/RDCatastroJSearchByCadastralReferenceView.java | ||
---|---|---|
1 |
package org.gvsig.republicadominicana.catastro.swing.impl.cadastralsearch; |
|
2 |
|
|
3 |
import com.jeta.open.i18n.I18NUtils; |
|
4 |
import com.jgoodies.forms.layout.CellConstraints; |
|
5 |
import com.jgoodies.forms.layout.FormLayout; |
|
6 |
import java.awt.BorderLayout; |
|
7 |
import java.awt.ComponentOrientation; |
|
8 |
import java.awt.Container; |
|
9 |
import java.awt.Dimension; |
|
10 |
import javax.swing.Box; |
|
11 |
import javax.swing.ImageIcon; |
|
12 |
import javax.swing.JButton; |
|
13 |
import javax.swing.JFrame; |
|
14 |
import javax.swing.JLabel; |
|
15 |
import javax.swing.JPanel; |
|
16 |
import javax.swing.JProgressBar; |
|
17 |
import javax.swing.JTextField; |
|
18 |
|
|
19 |
|
|
20 |
public class RDCatastroJSearchByCadastralReferenceView extends JPanel |
|
21 |
{ |
|
22 |
JButton btnDownloadSelectAndZoom = new JButton(); |
|
23 |
JButton btnSelectAndZoom = new JButton(); |
|
24 |
JLabel lblStatusCaption = new JLabel(); |
|
25 |
JLabel lblStatusMessages = new JLabel(); |
|
26 |
JProgressBar pbStatus = new JProgressBar(); |
|
27 |
JTextField txtCadastralReference = new JTextField(); |
|
28 |
|
|
29 |
/** |
|
30 |
* Default constructor |
|
31 |
*/ |
|
32 |
public RDCatastroJSearchByCadastralReferenceView() |
|
33 |
{ |
|
34 |
initializePanel(); |
|
35 |
} |
|
36 |
|
|
37 |
/** |
|
38 |
* Adds fill components to empty cells in the first row and first column of the grid. |
|
39 |
* This ensures that the grid spacing will be the same as shown in the designer. |
|
40 |
* @param cols an array of column indices in the first row where fill components should be added. |
|
41 |
* @param rows an array of row indices in the first column where fill components should be added. |
|
42 |
*/ |
|
43 |
void addFillComponents( Container panel, int[] cols, int[] rows ) |
|
44 |
{ |
|
45 |
Dimension filler = new Dimension(10,10); |
|
46 |
|
|
47 |
boolean filled_cell_11 = false; |
|
48 |
CellConstraints cc = new CellConstraints(); |
|
49 |
if ( cols.length > 0 && rows.length > 0 ) |
|
50 |
{ |
|
51 |
if ( cols[0] == 1 && rows[0] == 1 ) |
|
52 |
{ |
|
53 |
/** add a rigid area */ |
|
54 |
panel.add( Box.createRigidArea( filler ), cc.xy(1,1) ); |
|
55 |
filled_cell_11 = true; |
|
56 |
} |
|
57 |
} |
|
58 |
|
|
59 |
for( int index = 0; index < cols.length; index++ ) |
|
60 |
{ |
|
61 |
if ( cols[index] == 1 && filled_cell_11 ) |
|
62 |
{ |
|
63 |
continue; |
|
64 |
} |
|
65 |
panel.add( Box.createRigidArea( filler ), cc.xy(cols[index],1) ); |
|
66 |
} |
|
67 |
|
|
68 |
for( int index = 0; index < rows.length; index++ ) |
|
69 |
{ |
|
70 |
if ( rows[index] == 1 && filled_cell_11 ) |
|
71 |
{ |
|
72 |
continue; |
|
73 |
} |
|
74 |
panel.add( Box.createRigidArea( filler ), cc.xy(1,rows[index]) ); |
|
75 |
} |
|
76 |
|
|
77 |
} |
|
78 |
|
|
79 |
/** |
|
80 |
* Helper method to load an image file from the CLASSPATH |
|
81 |
* @param imageName the package and name of the file to load relative to the CLASSPATH |
|
82 |
* @return an ImageIcon instance with the specified image file |
|
83 |
* @throws IllegalArgumentException if the image resource cannot be loaded. |
|
84 |
*/ |
|
85 |
public ImageIcon loadImage( String imageName ) |
|
86 |
{ |
|
87 |
try |
|
88 |
{ |
|
89 |
ClassLoader classloader = getClass().getClassLoader(); |
|
90 |
java.net.URL url = classloader.getResource( imageName ); |
|
91 |
if ( url != null ) |
|
92 |
{ |
|
93 |
ImageIcon icon = new ImageIcon( url ); |
|
94 |
return icon; |
|
95 |
} |
|
96 |
} |
|
97 |
catch( Exception e ) |
|
98 |
{ |
|
99 |
e.printStackTrace(); |
|
100 |
} |
|
101 |
throw new IllegalArgumentException( "Unable to load image: " + imageName ); |
|
102 |
} |
|
103 |
|
|
104 |
/** |
|
105 |
* Method for recalculating the component orientation for |
|
106 |
* right-to-left Locales. |
|
107 |
* @param orientation the component orientation to be applied |
|
108 |
*/ |
|
109 |
public void applyComponentOrientation( ComponentOrientation orientation ) |
|
110 |
{ |
|
111 |
// Not yet implemented... |
|
112 |
// I18NUtils.applyComponentOrientation(this, orientation); |
|
113 |
super.applyComponentOrientation(orientation); |
|
114 |
} |
|
115 |
|
|
116 |
public JPanel createPanel() |
|
117 |
{ |
|
118 |
JPanel jpanel1 = new JPanel(); |
|
119 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE"); |
|
120 |
CellConstraints cc = new CellConstraints(); |
|
121 |
jpanel1.setLayout(formlayout1); |
|
122 |
|
|
123 |
jpanel1.add(createPanel1(),cc.xy(2,5)); |
|
124 |
jpanel1.add(createPanel2(),cc.xy(2,7)); |
|
125 |
txtCadastralReference.setName("txtCadastralReference"); |
|
126 |
jpanel1.add(txtCadastralReference,cc.xy(2,2)); |
|
127 |
|
|
128 |
addFillComponents(jpanel1,new int[]{ 1,2,3 },new int[]{ 1,2,3,4,5,6,7,8 }); |
|
129 |
return jpanel1; |
|
130 |
} |
|
131 |
|
|
132 |
public JPanel createPanel1() |
|
133 |
{ |
|
134 |
JPanel jpanel1 = new JPanel(); |
|
135 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE","CENTER:DEFAULT:NONE"); |
|
136 |
CellConstraints cc = new CellConstraints(); |
|
137 |
jpanel1.setLayout(formlayout1); |
|
138 |
|
|
139 |
btnDownloadSelectAndZoom.setActionCommand("_Download_and_center"); |
|
140 |
btnDownloadSelectAndZoom.setName("btnDownloadSelectAndZoom"); |
|
141 |
btnDownloadSelectAndZoom.setText("_Download_select_and_zoom"); |
|
142 |
jpanel1.add(btnDownloadSelectAndZoom,cc.xy(4,1)); |
|
143 |
|
|
144 |
btnSelectAndZoom.setActionCommand("_Download_and_center"); |
|
145 |
btnSelectAndZoom.setName("btnSelectAndZoom"); |
|
146 |
btnSelectAndZoom.setText("_Select_and_zoom"); |
|
147 |
jpanel1.add(btnSelectAndZoom,cc.xy(2,1)); |
|
148 |
|
|
149 |
addFillComponents(jpanel1,new int[]{ 1,3 },new int[]{ 1 }); |
|
150 |
return jpanel1; |
|
151 |
} |
|
152 |
|
|
153 |
public JPanel createPanel2() |
|
154 |
{ |
|
155 |
JPanel jpanel1 = new JPanel(); |
|
156 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0),FILL:DEFAULT:NONE","CENTER:MIN(16PX;DEFAULT):NONE,CENTER:MIN(16PX;DEFAULT):NONE,CENTER:MIN(16PX;DEFAULT):NONE"); |
|
157 |
CellConstraints cc = new CellConstraints(); |
|
158 |
jpanel1.setLayout(formlayout1); |
|
159 |
|
|
160 |
lblStatusCaption.setName("lblStatusCaption"); |
|
161 |
jpanel1.add(lblStatusCaption,cc.xy(1,1)); |
|
162 |
|
|
163 |
lblStatusMessages.setName("lblStatusMessages"); |
|
164 |
jpanel1.add(lblStatusMessages,cc.xy(1,3)); |
|
165 |
|
|
166 |
pbStatus.setName("pbStatus"); |
|
167 |
pbStatus.setValue(25); |
|
168 |
jpanel1.add(pbStatus,cc.xy(1,2)); |
|
169 |
|
|
170 |
JLabel jlabel1 = new JLabel(); |
|
171 |
jlabel1.setText(" "); |
|
172 |
jpanel1.add(jlabel1,cc.xy(2,1)); |
|
173 |
|
|
174 |
JLabel jlabel2 = new JLabel(); |
|
175 |
jlabel2.setText(" "); |
|
176 |
jpanel1.add(jlabel2,cc.xy(2,3)); |
|
177 |
|
|
178 |
JLabel jlabel3 = new JLabel(); |
|
179 |
jlabel3.setText(" "); |
|
180 |
jpanel1.add(jlabel3,cc.xy(2,2)); |
|
181 |
|
|
182 |
addFillComponents(jpanel1,new int[0],new int[0]); |
|
183 |
return jpanel1; |
|
184 |
} |
|
185 |
|
|
186 |
/** |
|
187 |
* Initializer |
|
188 |
*/ |
|
189 |
protected void initializePanel() |
|
190 |
{ |
|
191 |
setLayout(new BorderLayout()); |
|
192 |
add(createPanel(), BorderLayout.CENTER); |
|
193 |
} |
|
194 |
|
|
195 |
|
|
196 |
} |
org.gvsig.republicadominicana.catastro/trunk/org.gvsig.republicadominicana.catastro/org.gvsig.republicadominicana.catastro.swing/org.gvsig.republicadominicana.catastro.swing.impl/src/main/java/org/gvsig/republicadominicana/catastro/swing/impl/cadastralsearch/RDCatastroJSearchByCadastralReferenceImpl.java | ||
---|---|---|
1 |
package org.gvsig.republicadominicana.catastro.swing.impl.cadastralsearch; |
|
2 |
|
|
3 |
import java.awt.event.ActionEvent; |
|
4 |
import javax.swing.JComponent; |
|
5 |
import javax.swing.SwingUtilities; |
|
6 |
import javax.swing.event.DocumentEvent; |
|
7 |
import javax.swing.event.DocumentListener; |
|
8 |
import org.apache.commons.lang3.mutable.MutableObject; |
|
9 |
import org.gvsig.expressionevaluator.Expression; |
|
10 |
import org.gvsig.expressionevaluator.ExpressionUtils; |
|
11 |
import org.gvsig.expressionevaluator.swing.ExpressionEvaluatorSwingLocator; |
|
12 |
import org.gvsig.expressionevaluator.swing.ExpressionEvaluatorSwingManager; |
|
13 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
|
14 |
import org.gvsig.fmap.dal.swing.DALSwingLocator; |
|
15 |
import org.gvsig.fmap.dal.swing.DataSwingManager; |
|
16 |
import org.gvsig.online.swing.api.MessageStatus; |
|
17 |
import org.gvsig.online.swing.api.OnlineSwingLocator; |
|
18 |
import org.gvsig.online.swing.api.SimpleSearch; |
|
19 |
import org.gvsig.republicadominicana.catastro.swing.api.RDCatastroJSearchByCadastralReference; |
|
20 |
import org.gvsig.tools.arguments.Arguments; |
|
21 |
import org.gvsig.tools.swing.api.ToolsSwingLocator; |
|
22 |
import org.gvsig.tools.swing.api.ToolsSwingManager; |
|
23 |
import org.gvsig.tools.swing.api.ToolsSwingUtils; |
|
24 |
import org.gvsig.tools.swing.api.windowmanager.Dialog; |
|
25 |
import org.slf4j.LoggerFactory; |
|
26 |
|
|
27 |
/** |
|
28 |
* |
|
29 |
* @author fdiaz |
|
30 |
*/ |
|
31 |
public class RDCatastroJSearchByCadastralReferenceImpl extends RDCatastroJSearchByCadastralReferenceView implements RDCatastroJSearchByCadastralReference { |
|
32 |
|
|
33 |
public static final org.slf4j.Logger LOGGER = LoggerFactory.getLogger(RDCatastroJSearchByCadastralReferenceImpl.class); |
|
34 |
|
|
35 |
private Dialog dialog; |
|
36 |
private final SimpleSearch simpleSearch; |
|
37 |
private MessageStatus message; |
|
38 |
|
|
39 |
|
|
40 |
public RDCatastroJSearchByCadastralReferenceImpl(FeatureStore store, Arguments arguments) { |
|
41 |
this.simpleSearch = OnlineSwingLocator.getOnlineSwingManager().createSimpleSearch(store, this); |
|
42 |
initComponents(); |
|
43 |
} |
|
44 |
|
|
45 |
private void initComponents() { |
|
46 |
this.message = OnlineSwingLocator.getOnlineSwingManager().createMessageStatus(lblStatusCaption, pbStatus, lblStatusMessages); |
|
47 |
translate(); |
|
48 |
|
|
49 |
DataSwingManager dataSwingManager = DALSwingLocator.getDataSwingManager(); |
|
50 |
ExpressionEvaluatorSwingManager expressionSwingManager = ExpressionEvaluatorSwingLocator.getManager(); |
|
51 |
|
|
52 |
this.txtCadastralReference.getDocument().addDocumentListener(new DocumentListener() { |
|
53 |
@Override |
|
54 |
public void insertUpdate(DocumentEvent e) { |
|
55 |
doBuildFilter(); |
|
56 |
doUpdateComponents(); |
|
57 |
} |
|
58 |
|
|
59 |
@Override |
|
60 |
public void removeUpdate(DocumentEvent e) { |
|
61 |
doBuildFilter(); |
|
62 |
doUpdateComponents(); |
|
63 |
} |
|
64 |
|
|
65 |
@Override |
|
66 |
public void changedUpdate(DocumentEvent e) { |
|
67 |
doBuildFilter(); |
|
68 |
doUpdateComponents(); |
|
69 |
} |
|
70 |
}); |
|
71 |
|
|
72 |
|
|
73 |
this.btnDownloadSelectAndZoom.addActionListener((ActionEvent e) -> { |
|
74 |
doDownloadAndZoom(); |
|
75 |
}); |
|
76 |
|
|
77 |
this.btnSelectAndZoom.addActionListener((ActionEvent e) -> { |
|
78 |
doSelectAndZoom(); |
|
79 |
}); |
|
80 |
|
|
81 |
doUpdateComponents(); |
|
82 |
|
|
83 |
SwingUtilities.invokeLater(() -> { message.clear(); }); |
|
84 |
ToolsSwingUtils.ensureRowsCols(this, 15, 40, 25, 100); |
|
85 |
} |
|
86 |
|
|
87 |
private void doBuildFilter() { |
|
88 |
String refCat = txtCadastralReference.getText(); |
|
89 |
Expression filter = ExpressionUtils.createExpression(); |
|
90 |
filter.setPhrase("refcat= '"+refCat+"'"); |
|
91 |
this.simpleSearch.setFilter(filter); |
|
92 |
} |
|
93 |
|
|
94 |
private void doUpdateComponents() { |
|
95 |
if(this.simpleSearch.isEmpty() || this.simpleSearch.isProcessing()) { |
|
96 |
this.txtCadastralReference.setEnabled(false); |
|
97 |
this.btnSelectAndZoom.setEnabled(false); |
|
98 |
this.btnDownloadSelectAndZoom.setEnabled(false); |
|
99 |
return; |
|
100 |
} |
|
101 |
this.txtCadastralReference.setEnabled(true); |
|
102 |
// FIXME: Comprobar que la expression construida es v?lida ?c?mo? |
|
103 |
if(this.txtCadastralReference.getText().isEmpty() ) {//|| !this.pickerFilter.isValid()) { // |
|
104 |
this.btnSelectAndZoom.setEnabled(false); |
|
105 |
this.btnDownloadSelectAndZoom.setEnabled(false); |
|
106 |
return; |
|
107 |
} |
|
108 |
|
|
109 |
this.btnSelectAndZoom.setEnabled(true); |
|
110 |
MutableObject<String> msg = new MutableObject<>(); |
|
111 |
if (!this.simpleSearch.canDownload(msg)) { |
|
112 |
this.btnDownloadSelectAndZoom.setEnabled(false); |
|
113 |
this.message.alert(msg.getValue()); |
|
114 |
return; |
|
115 |
} |
|
116 |
this.btnDownloadSelectAndZoom.setEnabled(true); |
|
117 |
|
|
118 |
} |
|
119 |
|
|
120 |
@Override |
|
121 |
public boolean isProcessing() { |
|
122 |
return this.simpleSearch.isProcessing(); |
|
123 |
} |
|
124 |
|
|
125 |
@Override |
|
126 |
public void setDialog(Dialog dialog) { |
|
127 |
this.dialog = dialog; |
|
128 |
} |
|
129 |
|
|
130 |
@Override |
|
131 |
public JComponent asJComponent() { |
|
132 |
return this; |
|
133 |
} |
|
134 |
|
|
135 |
private void doDownloadAndZoom() { |
|
136 |
this.simpleSearch.runDownloadTask( |
|
137 |
()->{ this.simpleSearch.zoom(); }, |
|
138 |
this.message |
|
139 |
); |
|
140 |
} |
|
141 |
|
|
142 |
private void doSelectAndZoom() { |
|
143 |
this.simpleSearch.runCalculateEnvelopeTask( |
|
144 |
() -> { |
|
145 |
this.simpleSearch.setSelection(); |
|
146 |
this.simpleSearch.zoom(); |
|
147 |
}, |
|
148 |
this.message |
|
149 |
); |
|
150 |
} |
|
151 |
|
|
152 |
private void translate() { |
|
153 |
ToolsSwingManager swingManager = ToolsSwingLocator.getToolsSwingManager(); |
|
154 |
swingManager.translate(this.btnDownloadSelectAndZoom); |
|
155 |
swingManager.translate(this.btnSelectAndZoom); |
|
156 |
} |
|
157 |
|
|
158 |
|
|
159 |
} |
org.gvsig.republicadominicana.catastro/trunk/org.gvsig.republicadominicana.catastro/org.gvsig.republicadominicana.catastro.swing/org.gvsig.republicadominicana.catastro.swing.impl/src/main/java/org/gvsig/republicadominicana/catastro/swing/impl/RDCatastroSwingLibraryImpl.java | ||
---|---|---|
1 |
/** |
|
2 |
* gvSIG. Desktop Geographic Information System. |
|
3 |
* |
|
4 |
* Copyright (C) 2007-2013 gvSIG Association. |
|
5 |
* |
|
6 |
* This program is free software; you can redistribute it and/or |
|
7 |
* modify it under the terms of the GNU General Public License |
|
8 |
* as published by the Free Software Foundation; either version 3 |
|
9 |
* of the License, or (at your option) any later version. |
|
10 |
* |
|
11 |
* This program is distributed in the hope that it will be useful, |
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 |
* GNU General Public License for more details. |
|
15 |
* |
|
16 |
* You should have received a copy of the GNU General Public License |
|
17 |
* along with this program; if not, write to the Free Software |
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
19 |
* MA 02110-1301, USA. |
|
20 |
* |
|
21 |
* For any additional information, do not hesitate to contact us |
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
23 |
*/ |
|
24 |
package org.gvsig.republicadominicana.catastro.swing.impl; |
|
25 |
|
|
26 |
import org.gvsig.republicadominicana.catastro.lib.api.RDCatastroLibrary; |
|
27 |
import org.gvsig.republicadominicana.catastro.swing.api.RDCatastroSwingLibrary; |
|
28 |
import org.gvsig.republicadominicana.catastro.swing.api.RDCatastroSwingLocator; |
|
29 |
import org.gvsig.tools.library.AbstractLibrary; |
|
30 |
import org.gvsig.tools.library.LibraryException; |
|
31 |
|
|
32 |
/** |
|
33 |
* |
|
34 |
* @author jjdelcerro |
|
35 |
*/ |
|
36 |
public class RDCatastroSwingLibraryImpl extends AbstractLibrary { |
|
37 |
|
|
38 |
@Override |
|
39 |
public void doRegistration() { |
|
40 |
super.doRegistration(); |
|
41 |
registerAsImplementationOf(RDCatastroSwingLibrary.class); |
|
42 |
this.require(RDCatastroLibrary.class); |
|
43 |
} |
|
44 |
|
|
45 |
@Override |
|
46 |
protected void doInitialize() throws LibraryException { |
|
47 |
RDCatastroSwingLocator.registerDefaultRDCatastroSwingManager(RDCatastroSwingManagerImpl.class); |
|
48 |
|
|
49 |
} |
|
50 |
|
|
51 |
@Override |
|
52 |
protected void doPostInitialize() throws LibraryException { |
|
53 |
|
|
54 |
// ToolsSwingUtils.registerIcons(RDCatastroSwingLibraryImpl.class, |
|
55 |
// "/org/gvsig/republicadominicaba/catastro/swing/impl/images", |
|
56 |
// ICON_PROVIDER_NAME, |
|
57 |
// new String[]{ ICON_GROUP_NAME, "online-common-init-workspace", "online-common"}, |
|
58 |
// new String[]{ ICON_GROUP_NAME, "online-common-download", "online-common"} |
|
59 |
// ); |
|
60 |
|
|
61 |
// ToolsSwingUtils.registerSubgroupIconScreenshot( |
|
62 |
// this.getClass(), |
|
63 |
// "online", |
|
64 |
// "online-common", |
|
65 |
// "/org/gvsig/online/swing/impl/screenshots/online-addlayer.png" |
|
66 |
// ); |
|
67 |
} |
|
68 |
|
|
69 |
// public static void OnlineJChangesImpl_selfRegister() { |
|
70 |
|
|
71 |
// ToolsSwingUtils.registerIcons(RDCatastroSwingLibraryImpl.class, |
|
72 |
// "/org/gvsig/online/swing/impl/images", |
|
73 |
// ICON_PROVIDER_NAME, |
|
74 |
// new String[]{ ICON_GROUP_NAME, "online-upload-all", "online-changes"}, |
|
75 |
// new String[]{ ICON_GROUP_NAME, "online-revert", "online-changes"}, |
|
76 |
// new String[]{ ICON_GROUP_NAME, "online-show-local-changes", "online-changes"}, |
|
77 |
// new String[]{ ICON_GROUP_NAME, "online-download-overwrite", "online-changes"}, |
|
78 |
// |
|
79 |
// new String[]{ ICON_GROUP_NAME, "online-remotechanges-clear", "online-changes"}, |
|
80 |
// new String[]{ ICON_GROUP_NAME, "online-remotechanges-download", "online-changes"}, |
|
81 |
// new String[]{ ICON_GROUP_NAME, "online-remotechanges-reload", "online-changes"}, |
|
82 |
// new String[]{ ICON_GROUP_NAME, "online-highlight-context", "online-changes"}, |
|
83 |
// |
|
84 |
// new String[]{ ICON_GROUP_NAME, "online-update-all", "online-changes"}, |
|
85 |
// new String[]{ ICON_GROUP_NAME, "online-merge", "online-changes"}, |
|
86 |
// new String[]{ ICON_GROUP_NAME, "online-show-remote-changes", "online-changes"}, |
|
87 |
// new String[]{ ICON_GROUP_NAME, "online-center-context", "online-changes"}, |
|
88 |
// new String[]{ ICON_GROUP_NAME, "online-zoom-context", "online-changes"}, |
|
89 |
// new String[]{ ICON_GROUP_NAME, "online-clean-highlighted", "online-changes"} |
|
90 |
// |
|
91 |
// ); |
|
92 |
// ToolsSwingUtils.registerSubgroupIconScreenshot( |
|
93 |
// RDCatastroSwingLibraryImpl.class, |
|
94 |
// "online", |
|
95 |
// "online-changes", |
|
96 |
// "/org/gvsig/online/swing/impl/screenshots/online-changes-local.png" |
|
97 |
// ); |
|
98 |
// ToolsSwingUtils.registerSubgroupIconScreenshot( |
|
99 |
// RDCatastroSwingLibraryImpl.class, |
|
100 |
// "online", |
|
101 |
// "online-changes", |
|
102 |
// "/org/gvsig/online/swing/impl/screenshots/online-changes-remote.png" |
|
103 |
// ); |
|
104 |
|
|
105 |
// } |
|
106 |
} |
org.gvsig.republicadominicana.catastro/trunk/org.gvsig.republicadominicana.catastro/org.gvsig.republicadominicana.catastro.swing/org.gvsig.republicadominicana.catastro.swing.impl/src/main/resources/META-INF/services/org.gvsig.tools.library.Library | ||
---|---|---|
1 |
org.gvsig.republicadominicana.catastro.swing.impl.RDCatastroSwingLibraryImpl |
org.gvsig.republicadominicana.catastro/trunk/org.gvsig.republicadominicana.catastro/org.gvsig.republicadominicana.catastro.swing/org.gvsig.republicadominicana.catastro.swing.impl/pom.xml | ||
---|---|---|
1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
2 |
<modelVersion>4.0.0</modelVersion> |
|
3 |
<parent> |
|
4 |
<groupId>org.gvsig</groupId> |
|
5 |
<artifactId>org.gvsig.republicadominicana.catastro.swing</artifactId> |
|
6 |
<version>1.0.0-SNAPSHOT</version> |
|
7 |
</parent> |
|
8 |
<artifactId>org.gvsig.republicadominicana.catastro.swing.impl</artifactId> |
|
9 |
<name>${project.artifactId}</name> |
|
10 |
<dependencies> |
|
11 |
<dependency> |
|
12 |
<groupId>org.gvsig</groupId> |
|
13 |
<artifactId>org.gvsig.republicadominicana.catastro.lib.api</artifactId> |
|
14 |
<scope>compile</scope> |
|
15 |
</dependency> |
|
16 |
<dependency> |
|
17 |
<groupId>org.gvsig</groupId> |
|
18 |
<artifactId>org.gvsig.republicadominicana.catastro.swing.api</artifactId> |
|
19 |
<scope>compile</scope> |
|
20 |
</dependency> |
|
21 |
<dependency> |
|
22 |
<groupId>com.jeta</groupId> |
|
23 |
<artifactId>formsrt</artifactId> |
|
24 |
<scope>compile</scope> |
|
25 |
</dependency> |
|
26 |
<dependency> |
|
27 |
<groupId>com.jgoodies</groupId> |
|
28 |
<artifactId>jgoodies-forms</artifactId> |
|
29 |
<scope>compile</scope> |
|
30 |
</dependency> |
|
31 |
<dependency> |
|
32 |
<groupId>org.gvsig</groupId> |
|
33 |
<artifactId>org.gvsig.fmap.dal.swing.api</artifactId> |
|
34 |
<scope>compile</scope> |
|
35 |
</dependency> |
|
36 |
<dependency> |
|
37 |
<groupId>org.gvsig</groupId> |
|
38 |
<artifactId>org.gvsig.online.swing.api</artifactId> |
|
39 |
<version>1.0.1-SNAPSHOT</version> |
|
40 |
<type>jar</type> |
|
41 |
</dependency> |
|
42 |
</dependencies> |
|
43 |
</project> |
org.gvsig.republicadominicana.catastro/trunk/org.gvsig.republicadominicana.catastro/org.gvsig.republicadominicana.catastro.swing/org.gvsig.republicadominicana.catastro.swing.api/src/main/java/org/gvsig/republicadominicana/catastro/swing/api/RDCatastroJSearchByCadastralReference.java | ||
---|---|---|
1 |
/* |
|
2 |
* gvSIG. Desktop Geographic Information System. |
|
3 |
* |
|
4 |
* Copyright (C) 2007-2020 gvSIG Association. |
|
5 |
* |
|
6 |
* This program is free software; you can redistribute it and/or |
|
7 |
* modify it under the terms of the GNU General Public License |
|
8 |
* as published by the Free Software Foundation; either version 3 |
|
9 |
* of the License, or (at your option) any later version. |
|
10 |
* |
|
11 |
* This program is distributed in the hope that it will be useful, |
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 |
* GNU General Public License for more details. |
|
15 |
* |
|
16 |
* You should have received a copy of the GNU General Public License |
|
17 |
* along with this program. If not, see <https://www.gnu.org/licenses/>. |
|
18 |
* |
|
19 |
* For any additional information, do not hesitate to contact us |
|
20 |
* at info AT gvsig.com, or visit our website www.gvsig.com. |
|
21 |
*/ |
|
22 |
package org.gvsig.republicadominicana.catastro.swing.api; |
|
23 |
|
|
24 |
/** |
|
25 |
* |
|
26 |
* @author jjdelcerro |
|
27 |
*/ |
|
28 |
public interface RDCatastroJSearchByCadastralReference extends RDCatastroPanel { |
Also available in: Unified diff