Revision 9515
org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.app/org.gvsig.online.app.mainplugin/src/main/assembly/gvsig-plugin-package.xml | ||
---|---|---|
44 | 44 |
<include>org.gvsig:org.gvsig.online.lib.impl</include> |
45 | 45 |
<include>org.gvsig:org.gvsig.online.swing.api</include> |
46 | 46 |
<include>org.gvsig:org.gvsig.online.swing.impl</include> |
47 |
|
|
48 |
<include>org.gvsig:org.gvsig.online.swing.scribejava</include> |
|
49 |
<include>com.github.scribejava:scribejava-apis</include> |
|
50 |
<include>com.github.scribejava:scribejava-core</include> |
|
51 |
<include>com.github.scribejava:scribejava-java8</include> |
|
52 |
<include>com.fasterxml.jackson.core:jackson-databind</include> |
|
53 |
<include>com.fasterxml.jackson.core:jackson-annotations</include> |
|
54 |
<include>com.fasterxml.jackson.core:jackson-core</include> |
|
55 |
|
|
56 |
|
|
47 | 57 |
</includes> |
48 | 58 |
</dependencySet> |
49 | 59 |
</dependencySets> |
org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.app/org.gvsig.online.app.mainplugin/src/main/java/org/gvsig/online/app/mainplugin/preferencespages/OnlinePageView.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.vcsgis/org.gvsig.vcsgis.app/org.gvsig.vcsgis.app.mainplugin/src/main/java/org/gvsig/vcsgis/app/preferencespages/VCSGisPageView.xml</at> |
|
28 |
<at name="rowspecs">CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE</at> |
|
29 |
<at name="colspecs">FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE</at> |
|
30 |
<at name="components"> |
|
31 |
<object classname="java.util.LinkedList"> |
|
32 |
<item > |
|
33 |
<at name="value"> |
|
34 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
35 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
36 |
<at name="cellconstraints"> |
|
37 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
38 |
<at name="column">2</at> |
|
39 |
<at name="row">2</at> |
|
40 |
<at name="colspan">1</at> |
|
41 |
<at name="rowspan">1</at> |
|
42 |
<at name="halign">default</at> |
|
43 |
<at name="valign">default</at> |
|
44 |
<at name="insets" object="insets">0,0,0,0</at> |
|
45 |
</object> |
|
46 |
</at> |
|
47 |
<at name="componentclass">com.jeta.forms.gui.form.FormContainerComponent</at> |
|
48 |
</super> |
|
49 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
50 |
<at name="beanclass">javax.swing.JTabbedPane</at> |
|
51 |
<at name="beanproperties"> |
|
52 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
53 |
<at name="classname">javax.swing.JTabbedPane</at> |
|
54 |
<at name="properties"> |
|
55 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
56 |
<at name="border"> |
|
57 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
58 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
59 |
<at name="name">border</at> |
|
60 |
</super> |
|
61 |
<at name="borders"> |
|
62 |
<object classname="java.util.LinkedList"> |
|
63 |
<item > |
|
64 |
<at name="value"> |
|
65 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
66 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
67 |
<at name="name">border</at> |
|
68 |
</super> |
|
69 |
</object> |
|
70 |
</at> |
|
71 |
</item> |
|
72 |
</object> |
|
73 |
</at> |
|
74 |
</object> |
|
75 |
</at> |
|
76 |
<at name="componentCount">2</at> |
|
77 |
<at name="name">tabPreferences</at> |
|
78 |
<at name="tabs"> |
|
79 |
<object classname="com.jeta.forms.store.properties.TabbedPaneProperties"> |
|
80 |
<at name="name">tabs</at> |
|
81 |
<at name="items"> |
|
82 |
<object classname="java.util.LinkedList"> |
|
83 |
<item > |
|
84 |
<at name="value"> |
|
85 |
<object classname="com.jeta.forms.store.properties.TabProperty"> |
|
86 |
<at name="name">tab</at> |
|
87 |
<at name="title">_General</at> |
|
88 |
<at name="icon"> |
|
89 |
<object classname="com.jeta.forms.store.properties.IconProperty"> |
|
90 |
<at name="embedded">false</at> |
|
91 |
<at name="width">0</at> |
|
92 |
<at name="height">0</at> |
|
93 |
</object> |
|
94 |
</at> |
|
95 |
<at name="form"> |
|
96 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
|
97 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
98 |
<at name="cellconstraints"> |
|
99 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
100 |
<at name="column">1</at> |
|
101 |
<at name="row">1</at> |
|
102 |
<at name="colspan">1</at> |
|
103 |
<at name="rowspan">1</at> |
|
104 |
<at name="halign">default</at> |
|
105 |
<at name="valign">default</at> |
|
106 |
<at name="insets" object="insets">0,0,0,0</at> |
|
107 |
</object> |
|
108 |
</at> |
|
109 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
|
110 |
</super> |
|
111 |
<at name="id">embedded.739377025</at> |
|
112 |
<at name="rowspecs">CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE</at> |
|
113 |
<at name="colspecs">FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE</at> |
|
114 |
<at name="components"> |
|
115 |
<object classname="java.util.LinkedList"> |
|
116 |
<item > |
|
117 |
<at name="value"> |
|
118 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
119 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
120 |
<at name="cellconstraints"> |
|
121 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
122 |
<at name="column">2</at> |
|
123 |
<at name="row">4</at> |
|
124 |
<at name="colspan">1</at> |
|
125 |
<at name="rowspan">1</at> |
|
126 |
<at name="halign">default</at> |
|
127 |
<at name="valign">default</at> |
|
128 |
<at name="insets" object="insets">0,0,0,0</at> |
|
129 |
</object> |
|
130 |
</at> |
|
131 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
132 |
</super> |
|
133 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
134 |
<at name="beanclass">javax.swing.JCheckBox</at> |
|
135 |
<at name="beanproperties"> |
|
136 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
137 |
<at name="classname">javax.swing.JCheckBox</at> |
|
138 |
<at name="properties"> |
|
139 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
140 |
<at name="border"> |
|
141 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
142 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
143 |
<at name="name">border</at> |
|
144 |
</super> |
|
145 |
<at name="borders"> |
|
146 |
<object classname="java.util.LinkedList"> |
|
147 |
<item > |
|
148 |
<at name="value"> |
|
149 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
150 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
151 |
<at name="name">border</at> |
|
152 |
</super> |
|
153 |
</object> |
|
154 |
</at> |
|
155 |
</item> |
|
156 |
</object> |
|
157 |
</at> |
|
158 |
</object> |
|
159 |
</at> |
|
160 |
<at name="actionCommand">_Use_of_empty_effective_date_is_allowed</at> |
|
161 |
<at name="name">chkEmptyEffectiveDateAllowedInCommitPanel</at> |
|
162 |
<at name="width">1072</at> |
|
163 |
<at name="text">_Use_of_empty_effective_date_is_allowed</at> |
|
164 |
<at name="height">22</at> |
|
165 |
</object> |
|
166 |
</at> |
|
167 |
</object> |
|
168 |
</at> |
|
169 |
</object> |
|
170 |
</at> |
|
171 |
</item> |
|
172 |
<item > |
|
173 |
<at name="value"> |
|
174 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
175 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
176 |
<at name="cellconstraints"> |
|
177 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
178 |
<at name="column">2</at> |
|
179 |
<at name="row">6</at> |
|
180 |
<at name="colspan">1</at> |
|
181 |
<at name="rowspan">1</at> |
|
182 |
<at name="halign">default</at> |
|
183 |
<at name="valign">default</at> |
|
184 |
<at name="insets" object="insets">0,0,0,0</at> |
|
185 |
</object> |
|
186 |
</at> |
|
187 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
188 |
</super> |
|
189 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
190 |
<at name="beanclass">javax.swing.JCheckBox</at> |
|
191 |
<at name="beanproperties"> |
|
192 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
193 |
<at name="classname">javax.swing.JCheckBox</at> |
|
194 |
<at name="properties"> |
|
195 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
196 |
<at name="border"> |
|
197 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
198 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
199 |
<at name="name">border</at> |
|
200 |
</super> |
|
201 |
<at name="borders"> |
|
202 |
<object classname="java.util.LinkedList"> |
|
203 |
<item > |
|
204 |
<at name="value"> |
|
205 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
206 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
207 |
<at name="name">border</at> |
|
208 |
</super> |
|
209 |
</object> |
|
210 |
</at> |
|
211 |
</item> |
|
212 |
</object> |
|
213 |
</at> |
|
214 |
</object> |
|
215 |
</at> |
|
216 |
<at name="actionCommand">_Use_current_date_as_effective_date_by_default</at> |
|
217 |
<at name="name">chkCurrentDateAsEffectiveDateByDefaultInCommitPanel</at> |
|
218 |
<at name="width">1072</at> |
|
219 |
<at name="text">_Use_current_date_as_effective_date_by_default</at> |
|
220 |
<at name="height">22</at> |
|
221 |
</object> |
|
222 |
</at> |
|
223 |
</object> |
|
224 |
</at> |
|
225 |
</object> |
|
226 |
</at> |
|
227 |
</item> |
|
228 |
<item > |
|
229 |
<at name="value"> |
|
230 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
231 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
232 |
<at name="cellconstraints"> |
|
233 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
234 |
<at name="column">2</at> |
|
235 |
<at name="row">2</at> |
|
236 |
<at name="colspan">1</at> |
|
237 |
<at name="rowspan">1</at> |
|
238 |
<at name="halign">default</at> |
|
239 |
<at name="valign">default</at> |
|
240 |
<at name="insets" object="insets">0,0,0,0</at> |
|
241 |
</object> |
|
242 |
</at> |
|
243 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
244 |
</super> |
|
245 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
246 |
<at name="beanclass">com.jeta.forms.components.separator.TitledSeparator</at> |
|
247 |
<at name="beanproperties"> |
|
248 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
249 |
<at name="classname">com.jeta.forms.components.separator.TitledSeparator</at> |
|
250 |
<at name="properties"> |
|
251 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
252 |
<at name="border"> |
|
253 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
254 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
255 |
<at name="name">border</at> |
|
256 |
</super> |
|
257 |
<at name="borders"> |
|
258 |
<object classname="java.util.LinkedList"> |
|
259 |
<item > |
|
260 |
<at name="value"> |
|
261 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
262 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
263 |
<at name="name">border</at> |
|
264 |
</super> |
|
265 |
</object> |
|
266 |
</at> |
|
267 |
</item> |
|
268 |
</object> |
|
269 |
</at> |
|
270 |
</object> |
|
271 |
</at> |
|
272 |
<at name="name">lblChangesPanel</at> |
|
273 |
<at name="width">1072</at> |
|
274 |
<at name="text">_Changes_panel</at> |
|
275 |
<at name="height">17</at> |
|
276 |
</object> |
|
277 |
</at> |
|
278 |
</object> |
|
279 |
</at> |
|
280 |
</object> |
|
281 |
</at> |
|
282 |
</item> |
|
283 |
<item > |
|
284 |
<at name="value"> |
|
285 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
286 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
287 |
<at name="cellconstraints"> |
|
288 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
289 |
<at name="column">2</at> |
|
290 |
<at name="row">8</at> |
|
291 |
<at name="colspan">1</at> |
|
292 |
<at name="rowspan">1</at> |
|
293 |
<at name="halign">default</at> |
|
294 |
<at name="valign">default</at> |
|
295 |
<at name="insets" object="insets">0,0,0,0</at> |
|
296 |
</object> |
|
297 |
</at> |
|
298 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
299 |
</super> |
|
300 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
301 |
<at name="beanclass">com.jeta.forms.components.separator.TitledSeparator</at> |
|
302 |
<at name="beanproperties"> |
|
303 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
304 |
<at name="classname">com.jeta.forms.components.separator.TitledSeparator</at> |
|
305 |
<at name="properties"> |
|
306 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
307 |
<at name="border"> |
|
308 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
309 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
310 |
<at name="name">border</at> |
|
311 |
</super> |
|
312 |
<at name="borders"> |
|
313 |
<object classname="java.util.LinkedList"> |
|
314 |
<item > |
|
315 |
<at name="value"> |
|
316 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
317 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
318 |
<at name="name">border</at> |
|
319 |
</super> |
|
320 |
</object> |
|
321 |
</at> |
|
322 |
</item> |
|
323 |
</object> |
|
324 |
</at> |
|
325 |
</object> |
|
326 |
</at> |
|
327 |
<at name="name">lblAdvanced</at> |
|
328 |
<at name="width">1072</at> |
|
329 |
<at name="text">_Advanced</at> |
|
330 |
<at name="height">17</at> |
|
331 |
</object> |
|
332 |
</at> |
|
333 |
</object> |
|
334 |
</at> |
|
335 |
</object> |
|
336 |
</at> |
|
337 |
</item> |
|
338 |
<item > |
|
339 |
<at name="value"> |
|
340 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
341 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
342 |
<at name="cellconstraints"> |
|
343 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
344 |
<at name="column">2</at> |
|
345 |
<at name="row">10</at> |
|
346 |
<at name="colspan">1</at> |
|
347 |
<at name="rowspan">1</at> |
|
348 |
<at name="halign">default</at> |
|
349 |
<at name="valign">default</at> |
|
350 |
<at name="insets" object="insets">0,0,0,0</at> |
|
351 |
</object> |
|
352 |
</at> |
|
353 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
354 |
</super> |
|
355 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
356 |
<at name="beanclass">com.jeta.forms.components.label.JETALabel</at> |
|
357 |
<at name="beanproperties"> |
|
358 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
359 |
<at name="classname">com.jeta.forms.components.label.JETALabel</at> |
|
360 |
<at name="properties"> |
|
361 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
362 |
<at name="border"> |
|
363 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
364 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
365 |
<at name="name">border</at> |
|
366 |
</super> |
|
367 |
<at name="borders"> |
|
368 |
<object classname="java.util.LinkedList"> |
|
369 |
<item > |
|
370 |
<at name="value"> |
|
371 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
372 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
373 |
<at name="name">border</at> |
|
374 |
</super> |
|
375 |
</object> |
|
376 |
</at> |
|
377 |
</item> |
|
378 |
</object> |
|
379 |
</at> |
|
380 |
</object> |
|
381 |
</at> |
|
382 |
<at name="name">lblRepositoryEntityFeatureTypeEditorMode</at> |
|
383 |
<at name="width">1072</at> |
|
384 |
<at name="text">_VCS_Repository_entity_feature_type_editor_mode</at> |
|
385 |
<at name="fill"> |
|
386 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
387 |
<at name="name">fill</at> |
|
388 |
</object> |
|
389 |
</at> |
|
390 |
<at name="height">17</at> |
|
391 |
</object> |
|
392 |
</at> |
|
393 |
</object> |
|
394 |
</at> |
|
395 |
</object> |
|
396 |
</at> |
|
397 |
</item> |
|
398 |
<item > |
|
399 |
<at name="value"> |
|
400 |
<object classname="com.jeta.forms.store.memento.BeanMemento"> |
|
401 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
402 |
<at name="cellconstraints"> |
|
403 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
404 |
<at name="column">2</at> |
|
405 |
<at name="row">12</at> |
|
406 |
<at name="colspan">1</at> |
|
407 |
<at name="rowspan">1</at> |
|
408 |
<at name="halign">default</at> |
|
409 |
<at name="valign">default</at> |
|
410 |
<at name="insets" object="insets">0,0,0,0</at> |
|
411 |
</object> |
|
412 |
</at> |
|
413 |
<at name="componentclass">com.jeta.forms.gui.form.StandardComponent</at> |
|
414 |
</super> |
|
415 |
<at name="jetabeanclass">com.jeta.forms.gui.beans.JETABean</at> |
|
416 |
<at name="beanclass">javax.swing.JComboBox</at> |
|
417 |
<at name="beanproperties"> |
|
418 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
419 |
<at name="classname">javax.swing.JComboBox</at> |
|
420 |
<at name="properties"> |
|
421 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
422 |
<at name="border"> |
|
423 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
424 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
425 |
<at name="name">border</at> |
|
426 |
</super> |
|
427 |
<at name="borders"> |
|
428 |
<object classname="java.util.LinkedList"> |
|
429 |
<item > |
|
430 |
<at name="value"> |
|
431 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
432 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
433 |
<at name="name">border</at> |
|
434 |
</super> |
|
435 |
</object> |
|
436 |
</at> |
|
437 |
</item> |
|
438 |
</object> |
|
439 |
</at> |
|
440 |
</object> |
|
441 |
</at> |
|
442 |
<at name="name">cboRepositoryEntityFeatureTypeEditorMode</at> |
|
443 |
<at name="width">1072</at> |
|
444 |
<at name="items"> |
|
445 |
<object classname="com.jeta.forms.store.properties.ItemsProperty"> |
|
446 |
<at name="name">items</at> |
|
447 |
</object> |
|
448 |
</at> |
|
449 |
<at name="height">23</at> |
|
450 |
</object> |
|
451 |
</at> |
|
452 |
</object> |
|
453 |
</at> |
|
454 |
</object> |
|
455 |
</at> |
|
456 |
</item> |
|
457 |
</object> |
|
458 |
</at> |
|
459 |
<at name="properties"> |
|
460 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
461 |
<at name="classname">com.jeta.forms.gui.form.GridView</at> |
|
462 |
<at name="properties"> |
|
463 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
464 |
<at name="border"> |
|
465 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
466 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
467 |
<at name="name">border</at> |
|
468 |
</super> |
|
469 |
<at name="borders"> |
|
470 |
<object classname="java.util.LinkedList"/> |
|
471 |
</at> |
|
472 |
</object> |
|
473 |
</at> |
|
474 |
<at name="name">tabPreferences</at> |
|
475 |
<at name="fill"> |
|
476 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
477 |
<at name="name">fill</at> |
|
478 |
</object> |
|
479 |
</at> |
|
480 |
<at name="scollBars"> |
|
481 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
482 |
<at name="name">scollBars</at> |
|
483 |
<at name="verticalpolicy">21</at> |
|
484 |
<at name="horizontalpolicy">31</at> |
|
485 |
<at name="border"> |
|
486 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
487 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
488 |
<at name="name">border</at> |
|
489 |
</super> |
|
490 |
<at name="borders"> |
|
491 |
<object classname="java.util.LinkedList"> |
|
492 |
<item > |
|
493 |
<at name="value"> |
|
494 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
495 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
496 |
<at name="name">border</at> |
|
497 |
</super> |
|
498 |
</object> |
|
499 |
</at> |
|
500 |
</item> |
|
501 |
</object> |
|
502 |
</at> |
|
503 |
</object> |
|
504 |
</at> |
|
505 |
</object> |
|
506 |
</at> |
|
507 |
</object> |
|
508 |
</at> |
|
509 |
</object> |
|
510 |
</at> |
|
511 |
<at name="cellpainters"> |
|
512 |
<object classname="com.jeta.forms.store.support.Matrix"> |
|
513 |
<at name="rows"> |
|
514 |
<object classname="[Ljava.lang.Object;" size="13"> |
|
515 |
<at name="item" index="0"> |
|
516 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
517 |
</at> |
|
518 |
<at name="item" index="1"> |
|
519 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
520 |
</at> |
|
521 |
<at name="item" index="2"> |
|
522 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
523 |
</at> |
|
524 |
<at name="item" index="3"> |
|
525 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
526 |
</at> |
|
527 |
<at name="item" index="4"> |
|
528 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
529 |
</at> |
|
530 |
<at name="item" index="5"> |
|
531 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
532 |
</at> |
|
533 |
<at name="item" index="6"> |
|
534 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
535 |
</at> |
|
536 |
<at name="item" index="7"> |
|
537 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
538 |
</at> |
|
539 |
<at name="item" index="8"> |
|
540 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
541 |
</at> |
|
542 |
<at name="item" index="9"> |
|
543 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
544 |
</at> |
|
545 |
<at name="item" index="10"> |
|
546 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
547 |
</at> |
|
548 |
<at name="item" index="11"> |
|
549 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
550 |
</at> |
|
551 |
<at name="item" index="12"> |
|
552 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
553 |
</at> |
|
554 |
</object> |
|
555 |
</at> |
|
556 |
</object> |
|
557 |
</at> |
|
558 |
<at name="rowgroups"> |
|
559 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
560 |
<at name="groups"> |
|
561 |
<object classname="java.util.HashMap"/> |
|
562 |
</at> |
|
563 |
</object> |
|
564 |
</at> |
|
565 |
<at name="colgroups"> |
|
566 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
567 |
<at name="groups"> |
|
568 |
<object classname="java.util.HashMap"/> |
|
569 |
</at> |
|
570 |
</object> |
|
571 |
</at> |
|
572 |
</object> |
|
573 |
</at> |
|
574 |
</object> |
|
575 |
</at> |
|
576 |
</item> |
|
577 |
<item > |
|
578 |
<at name="value"> |
|
579 |
<object classname="com.jeta.forms.store.properties.TabProperty"> |
|
580 |
<at name="name">tab</at> |
|
581 |
<at name="title">_Working_copies</at> |
|
582 |
<at name="icon"> |
|
583 |
<object classname="com.jeta.forms.store.properties.IconProperty"> |
|
584 |
<at name="embedded">false</at> |
|
585 |
<at name="width">0</at> |
|
586 |
<at name="height">0</at> |
|
587 |
</object> |
|
588 |
</at> |
|
589 |
<at name="form"> |
|
590 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
|
591 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
592 |
<at name="cellconstraints"> |
|
593 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
594 |
<at name="column">1</at> |
|
595 |
<at name="row">1</at> |
|
596 |
<at name="colspan">1</at> |
|
597 |
<at name="rowspan">1</at> |
|
598 |
<at name="halign">default</at> |
|
599 |
<at name="valign">default</at> |
|
600 |
<at name="insets" object="insets">0,0,0,0</at> |
|
601 |
</object> |
|
602 |
</at> |
|
603 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
|
604 |
</super> |
|
605 |
<at name="id">embedded.271909689</at> |
|
606 |
<at name="rowspecs">CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE</at> |
|
607 |
<at name="colspecs">FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE</at> |
|
608 |
<at name="components"> |
|
609 |
<object classname="java.util.LinkedList"> |
|
610 |
<item > |
|
611 |
<at name="value"> |
|
612 |
<object classname="com.jeta.forms.store.memento.FormMemento"> |
|
613 |
<super classname="com.jeta.forms.store.memento.ComponentMemento"> |
|
614 |
<at name="cellconstraints"> |
|
615 |
<object classname="com.jeta.forms.store.memento.CellConstraintsMemento"> |
|
616 |
<at name="column">2</at> |
|
617 |
<at name="row">2</at> |
|
618 |
<at name="colspan">1</at> |
|
619 |
<at name="rowspan">1</at> |
|
620 |
<at name="halign">default</at> |
|
621 |
<at name="valign">default</at> |
|
622 |
<at name="insets" object="insets">0,0,0,0</at> |
|
623 |
</object> |
|
624 |
</at> |
|
625 |
<at name="componentclass">com.jeta.forms.gui.form.FormComponent</at> |
|
626 |
</super> |
|
627 |
<at name="id">embedded.252062546</at> |
|
628 |
<at name="rowspecs">FILL:DEFAULT:GROW(1.0)</at> |
|
629 |
<at name="colspecs">FILL:DEFAULT:GROW(1.0)</at> |
|
630 |
<at name="components"> |
|
631 |
<object classname="java.util.LinkedList"/> |
|
632 |
</at> |
|
633 |
<at name="properties"> |
|
634 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
635 |
<at name="classname">com.jeta.forms.gui.form.GridView</at> |
|
636 |
<at name="properties"> |
|
637 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
638 |
<at name="border"> |
|
639 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
640 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
641 |
<at name="name">border</at> |
|
642 |
</super> |
|
643 |
<at name="borders"> |
|
644 |
<object classname="java.util.LinkedList"/> |
|
645 |
</at> |
|
646 |
</object> |
|
647 |
</at> |
|
648 |
<at name="name">gridWorkspaces</at> |
|
649 |
<at name="fill"> |
|
650 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
651 |
<at name="name">fill</at> |
|
652 |
</object> |
|
653 |
</at> |
|
654 |
<at name="scollBars"> |
|
655 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
656 |
<at name="name">scollBars</at> |
|
657 |
<at name="verticalpolicy">21</at> |
|
658 |
<at name="horizontalpolicy">31</at> |
|
659 |
<at name="border"> |
|
660 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
661 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
662 |
<at name="name">border</at> |
|
663 |
</super> |
|
664 |
<at name="borders"> |
|
665 |
<object classname="java.util.LinkedList"> |
|
666 |
<item > |
|
667 |
<at name="value"> |
|
668 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
669 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
670 |
<at name="name">border</at> |
|
671 |
</super> |
|
672 |
</object> |
|
673 |
</at> |
|
674 |
</item> |
|
675 |
</object> |
|
676 |
</at> |
|
677 |
</object> |
|
678 |
</at> |
|
679 |
</object> |
|
680 |
</at> |
|
681 |
</object> |
|
682 |
</at> |
|
683 |
</object> |
|
684 |
</at> |
|
685 |
<at name="cellpainters"> |
|
686 |
<object classname="com.jeta.forms.store.support.Matrix"> |
|
687 |
<at name="rows"> |
|
688 |
<object classname="[Ljava.lang.Object;" size="1"> |
|
689 |
<at name="item" index="0"> |
|
690 |
<object classname="[Ljava.lang.Object;" size="1"/> |
|
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 |
</object> |
|
714 |
</at> |
|
715 |
<at name="properties"> |
|
716 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
717 |
<at name="classname">com.jeta.forms.gui.form.GridView</at> |
|
718 |
<at name="properties"> |
|
719 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
720 |
<at name="border"> |
|
721 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
722 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
723 |
<at name="name">border</at> |
|
724 |
</super> |
|
725 |
<at name="borders"> |
|
726 |
<object classname="java.util.LinkedList"/> |
|
727 |
</at> |
|
728 |
</object> |
|
729 |
</at> |
|
730 |
<at name="name"/> |
|
731 |
<at name="fill"> |
|
732 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
733 |
<at name="name">fill</at> |
|
734 |
</object> |
|
735 |
</at> |
|
736 |
<at name="scollBars"> |
|
737 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
738 |
<at name="name">scollBars</at> |
|
739 |
<at name="verticalpolicy">21</at> |
|
740 |
<at name="horizontalpolicy">31</at> |
|
741 |
<at name="border"> |
|
742 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
743 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
744 |
<at name="name">border</at> |
|
745 |
</super> |
|
746 |
<at name="borders"> |
|
747 |
<object classname="java.util.LinkedList"> |
|
748 |
<item > |
|
749 |
<at name="value"> |
|
750 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
751 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
752 |
<at name="name">border</at> |
|
753 |
</super> |
|
754 |
</object> |
|
755 |
</at> |
|
756 |
</item> |
|
757 |
</object> |
|
758 |
</at> |
|
759 |
</object> |
|
760 |
</at> |
|
761 |
</object> |
|
762 |
</at> |
|
763 |
</object> |
|
764 |
</at> |
|
765 |
</object> |
|
766 |
</at> |
|
767 |
<at name="cellpainters"> |
|
768 |
<object classname="com.jeta.forms.store.support.Matrix"> |
|
769 |
<at name="rows"> |
|
770 |
<object classname="[Ljava.lang.Object;" size="3"> |
|
771 |
<at name="item" index="0"> |
|
772 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
773 |
</at> |
|
774 |
<at name="item" index="1"> |
|
775 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
776 |
</at> |
|
777 |
<at name="item" index="2"> |
|
778 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
779 |
</at> |
|
780 |
</object> |
|
781 |
</at> |
|
782 |
</object> |
|
783 |
</at> |
|
784 |
<at name="rowgroups"> |
|
785 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
786 |
<at name="groups"> |
|
787 |
<object classname="java.util.HashMap"/> |
|
788 |
</at> |
|
789 |
</object> |
|
790 |
</at> |
|
791 |
<at name="colgroups"> |
|
792 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
793 |
<at name="groups"> |
|
794 |
<object classname="java.util.HashMap"/> |
|
795 |
</at> |
|
796 |
</object> |
|
797 |
</at> |
|
798 |
</object> |
|
799 |
</at> |
|
800 |
</object> |
|
801 |
</at> |
|
802 |
</item> |
|
803 |
</object> |
|
804 |
</at> |
|
805 |
</object> |
|
806 |
</at> |
|
807 |
<at name="width">1118</at> |
|
808 |
<at name="tabCount">2</at> |
|
809 |
<at name="height">717</at> |
|
810 |
</object> |
|
811 |
</at> |
|
812 |
</object> |
|
813 |
</at> |
|
814 |
</object> |
|
815 |
</at> |
|
816 |
</item> |
|
817 |
</object> |
|
818 |
</at> |
|
819 |
<at name="properties"> |
|
820 |
<object classname="com.jeta.forms.store.memento.PropertiesMemento"> |
|
821 |
<at name="classname">com.jeta.forms.gui.form.GridView</at> |
|
822 |
<at name="properties"> |
|
823 |
<object classname="com.jeta.forms.store.support.PropertyMap"> |
|
824 |
<at name="border"> |
|
825 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
826 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
827 |
<at name="name">border</at> |
|
828 |
</super> |
|
829 |
<at name="borders"> |
|
830 |
<object classname="java.util.LinkedList"/> |
|
831 |
</at> |
|
832 |
</object> |
|
833 |
</at> |
|
834 |
<at name="name"/> |
|
835 |
<at name="fill"> |
|
836 |
<object classname="com.jeta.forms.store.properties.effects.PaintProperty"> |
|
837 |
<at name="name">fill</at> |
|
838 |
</object> |
|
839 |
</at> |
|
840 |
<at name="scollBars"> |
|
841 |
<object classname="com.jeta.forms.store.properties.ScrollBarsProperty"> |
|
842 |
<at name="name">scollBars</at> |
|
843 |
<at name="verticalpolicy">21</at> |
|
844 |
<at name="horizontalpolicy">31</at> |
|
845 |
<at name="border"> |
|
846 |
<object classname="com.jeta.forms.store.properties.CompoundBorderProperty"> |
|
847 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
848 |
<at name="name">border</at> |
|
849 |
</super> |
|
850 |
<at name="borders"> |
|
851 |
<object classname="java.util.LinkedList"> |
|
852 |
<item > |
|
853 |
<at name="value"> |
|
854 |
<object classname="com.jeta.forms.store.properties.DefaultBorderProperty"> |
|
855 |
<super classname="com.jeta.forms.store.properties.BorderProperty"> |
|
856 |
<at name="name">border</at> |
|
857 |
</super> |
|
858 |
</object> |
|
859 |
</at> |
|
860 |
</item> |
|
861 |
</object> |
|
862 |
</at> |
|
863 |
</object> |
|
864 |
</at> |
|
865 |
</object> |
|
866 |
</at> |
|
867 |
</object> |
|
868 |
</at> |
|
869 |
</object> |
|
870 |
</at> |
|
871 |
<at name="cellpainters"> |
|
872 |
<object classname="com.jeta.forms.store.support.Matrix"> |
|
873 |
<at name="rows"> |
|
874 |
<object classname="[Ljava.lang.Object;" size="3"> |
|
875 |
<at name="item" index="0"> |
|
876 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
877 |
</at> |
|
878 |
<at name="item" index="1"> |
|
879 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
880 |
</at> |
|
881 |
<at name="item" index="2"> |
|
882 |
<object classname="[Ljava.lang.Object;" size="3"/> |
|
883 |
</at> |
|
884 |
</object> |
|
885 |
</at> |
|
886 |
</object> |
|
887 |
</at> |
|
888 |
<at name="rowgroups"> |
|
889 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
890 |
<at name="groups"> |
|
891 |
<object classname="java.util.HashMap"/> |
|
892 |
</at> |
|
893 |
</object> |
|
894 |
</at> |
|
895 |
<at name="colgroups"> |
|
896 |
<object classname="com.jeta.forms.store.memento.FormGroupSet"> |
|
897 |
<at name="groups"> |
|
898 |
<object classname="java.util.HashMap"/> |
|
899 |
</at> |
|
900 |
</object> |
|
901 |
</at> |
|
902 |
</object> |
|
903 |
</at> |
|
904 |
</object> |
org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.app/org.gvsig.online.app.mainplugin/src/main/java/org/gvsig/online/app/mainplugin/preferencespages/OnlinePageView.java | ||
---|---|---|
1 |
package org.gvsig.online.app.mainplugin.preferencespages; |
|
2 |
|
|
3 |
import com.jeta.forms.components.separator.TitledSeparator; |
|
4 |
import com.jeta.open.i18n.I18NUtils; |
|
5 |
import com.jgoodies.forms.layout.CellConstraints; |
|
6 |
import com.jgoodies.forms.layout.FormLayout; |
|
7 |
import java.awt.BorderLayout; |
|
8 |
import java.awt.ComponentOrientation; |
|
9 |
import java.awt.Container; |
|
10 |
import java.awt.Dimension; |
|
11 |
import javax.swing.Box; |
|
12 |
import javax.swing.ImageIcon; |
|
13 |
import javax.swing.JCheckBox; |
|
14 |
import javax.swing.JComboBox; |
|
15 |
import javax.swing.JFrame; |
|
16 |
import javax.swing.JLabel; |
|
17 |
import javax.swing.JPanel; |
|
18 |
import javax.swing.JTabbedPane; |
|
19 |
import org.gvsig.andami.preferences.AbstractPreferencePage; |
|
20 |
|
|
21 |
|
|
22 |
public abstract class OnlinePageView extends AbstractPreferencePage |
|
23 |
{ |
|
24 |
JTabbedPane tabPreferences = new JTabbedPane(); |
|
25 |
JPanel tabPreferences1 = new JPanel(); |
|
26 |
JCheckBox chkEmptyEffectiveDateAllowedInCommitPanel = new JCheckBox(); |
|
27 |
JCheckBox chkCurrentDateAsEffectiveDateByDefaultInCommitPanel = new JCheckBox(); |
|
28 |
TitledSeparator lblChangesPanel = new TitledSeparator(); |
|
29 |
TitledSeparator lblAdvanced = new TitledSeparator(); |
|
30 |
JLabel lblRepositoryEntityFeatureTypeEditorMode = new JLabel(); |
|
31 |
JComboBox cboRepositoryEntityFeatureTypeEditorMode = new JComboBox(); |
|
32 |
JPanel gridWorkspaces = new JPanel(); |
|
33 |
|
|
34 |
/** |
|
35 |
* Default constructor |
|
36 |
*/ |
|
37 |
public OnlinePageView() |
|
38 |
{ |
|
39 |
initializePanel(); |
|
40 |
} |
|
41 |
|
|
42 |
/** |
|
43 |
* Adds fill components to empty cells in the first row and first column of the grid. |
|
44 |
* This ensures that the grid spacing will be the same as shown in the designer. |
|
45 |
* @param cols an array of column indices in the first row where fill components should be added. |
|
46 |
* @param rows an array of row indices in the first column where fill components should be added. |
|
47 |
*/ |
|
48 |
void addFillComponents( Container panel, int[] cols, int[] rows ) |
|
49 |
{ |
|
50 |
Dimension filler = new Dimension(10,10); |
|
51 |
|
|
52 |
boolean filled_cell_11 = false; |
|
53 |
CellConstraints cc = new CellConstraints(); |
|
54 |
if ( cols.length > 0 && rows.length > 0 ) |
|
55 |
{ |
|
56 |
if ( cols[0] == 1 && rows[0] == 1 ) |
|
57 |
{ |
|
58 |
/** add a rigid area */ |
|
59 |
panel.add( Box.createRigidArea( filler ), cc.xy(1,1) ); |
|
60 |
filled_cell_11 = true; |
|
61 |
} |
|
62 |
} |
|
63 |
|
|
64 |
for( int index = 0; index < cols.length; index++ ) |
|
65 |
{ |
|
66 |
if ( cols[index] == 1 && filled_cell_11 ) |
|
67 |
{ |
|
68 |
continue; |
|
69 |
} |
|
70 |
panel.add( Box.createRigidArea( filler ), cc.xy(cols[index],1) ); |
|
71 |
} |
|
72 |
|
|
73 |
for( int index = 0; index < rows.length; index++ ) |
|
74 |
{ |
|
75 |
if ( rows[index] == 1 && filled_cell_11 ) |
|
76 |
{ |
|
77 |
continue; |
|
78 |
} |
|
79 |
panel.add( Box.createRigidArea( filler ), cc.xy(1,rows[index]) ); |
|
80 |
} |
|
81 |
|
|
82 |
} |
|
83 |
|
|
84 |
/** |
|
85 |
* Helper method to load an image file from the CLASSPATH |
|
86 |
* @param imageName the package and name of the file to load relative to the CLASSPATH |
|
87 |
* @return an ImageIcon instance with the specified image file |
|
88 |
* @throws IllegalArgumentException if the image resource cannot be loaded. |
|
89 |
*/ |
|
90 |
public ImageIcon loadImage( String imageName ) |
|
91 |
{ |
|
92 |
try |
|
93 |
{ |
|
94 |
ClassLoader classloader = getClass().getClassLoader(); |
|
95 |
java.net.URL url = classloader.getResource( imageName ); |
|
96 |
if ( url != null ) |
|
97 |
{ |
|
98 |
ImageIcon icon = new ImageIcon( url ); |
|
99 |
return icon; |
|
100 |
} |
|
101 |
} |
|
102 |
catch( Exception e ) |
|
103 |
{ |
|
104 |
e.printStackTrace(); |
|
105 |
} |
|
106 |
throw new IllegalArgumentException( "Unable to load image: " + imageName ); |
|
107 |
} |
|
108 |
|
|
109 |
/** |
|
110 |
* Method for recalculating the component orientation for |
|
111 |
* right-to-left Locales. |
|
112 |
* @param orientation the component orientation to be applied |
|
113 |
*/ |
|
114 |
public void applyComponentOrientation( ComponentOrientation orientation ) |
|
115 |
{ |
|
116 |
// Not yet implemented... |
|
117 |
// I18NUtils.applyComponentOrientation(this, orientation); |
|
118 |
super.applyComponentOrientation(orientation); |
|
119 |
} |
|
120 |
|
|
121 |
public JPanel createPanel() |
|
122 |
{ |
|
123 |
JPanel jpanel1 = new JPanel(); |
|
124 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE"); |
|
125 |
CellConstraints cc = new CellConstraints(); |
|
126 |
jpanel1.setLayout(formlayout1); |
|
127 |
|
|
128 |
tabPreferences.setName("tabPreferences"); |
|
129 |
tabPreferences.addTab("_General",null,createtabPreferences()); |
|
130 |
tabPreferences.addTab("_Working_copies",null,createPanel1()); |
|
131 |
jpanel1.add(tabPreferences,cc.xy(2,2)); |
|
132 |
|
|
133 |
addFillComponents(jpanel1,new int[]{ 1,2,3 },new int[]{ 1,2,3 }); |
|
134 |
return jpanel1; |
|
135 |
} |
|
136 |
|
|
137 |
public JPanel createtabPreferences() |
|
138 |
{ |
|
139 |
tabPreferences1.setName("tabPreferences"); |
|
140 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:4DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE"); |
|
141 |
CellConstraints cc = new CellConstraints(); |
|
142 |
tabPreferences1.setLayout(formlayout1); |
|
143 |
|
|
144 |
chkEmptyEffectiveDateAllowedInCommitPanel.setActionCommand("_Use_of_empty_effective_date_is_allowed"); |
|
145 |
chkEmptyEffectiveDateAllowedInCommitPanel.setName("chkEmptyEffectiveDateAllowedInCommitPanel"); |
|
146 |
chkEmptyEffectiveDateAllowedInCommitPanel.setText("_Use_of_empty_effective_date_is_allowed"); |
|
147 |
tabPreferences1.add(chkEmptyEffectiveDateAllowedInCommitPanel,cc.xy(2,4)); |
|
148 |
|
|
149 |
chkCurrentDateAsEffectiveDateByDefaultInCommitPanel.setActionCommand("_Use_current_date_as_effective_date_by_default"); |
|
150 |
chkCurrentDateAsEffectiveDateByDefaultInCommitPanel.setName("chkCurrentDateAsEffectiveDateByDefaultInCommitPanel"); |
|
151 |
chkCurrentDateAsEffectiveDateByDefaultInCommitPanel.setText("_Use_current_date_as_effective_date_by_default"); |
|
152 |
tabPreferences1.add(chkCurrentDateAsEffectiveDateByDefaultInCommitPanel,cc.xy(2,6)); |
|
153 |
|
|
154 |
lblChangesPanel.setName("lblChangesPanel"); |
|
155 |
lblChangesPanel.setText("_Changes_panel"); |
|
156 |
tabPreferences1.add(lblChangesPanel,cc.xy(2,2)); |
|
157 |
|
|
158 |
lblAdvanced.setName("lblAdvanced"); |
|
159 |
lblAdvanced.setText("_Advanced"); |
|
160 |
tabPreferences1.add(lblAdvanced,cc.xy(2,8)); |
|
161 |
|
|
162 |
lblRepositoryEntityFeatureTypeEditorMode.setName("lblRepositoryEntityFeatureTypeEditorMode"); |
|
163 |
lblRepositoryEntityFeatureTypeEditorMode.setText("_VCS_Repository_entity_feature_type_editor_mode"); |
|
164 |
tabPreferences1.add(lblRepositoryEntityFeatureTypeEditorMode,cc.xy(2,10)); |
|
165 |
|
|
166 |
cboRepositoryEntityFeatureTypeEditorMode.setName("cboRepositoryEntityFeatureTypeEditorMode"); |
|
167 |
tabPreferences1.add(cboRepositoryEntityFeatureTypeEditorMode,cc.xy(2,12)); |
|
168 |
|
|
169 |
addFillComponents(tabPreferences1,new int[]{ 1,2,3 },new int[]{ 1,2,3,4,5,6,7,8,9,10,11,12,13 }); |
|
170 |
return tabPreferences1; |
|
171 |
} |
|
172 |
|
|
173 |
public JPanel createPanel1() |
|
174 |
{ |
|
175 |
JPanel jpanel1 = new JPanel(); |
|
176 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE","CENTER:2DLU:NONE,FILL:DEFAULT:GROW(1.0),CENTER:2DLU:NONE"); |
|
177 |
CellConstraints cc = new CellConstraints(); |
|
178 |
jpanel1.setLayout(formlayout1); |
|
179 |
|
|
180 |
jpanel1.add(creategridWorkspaces(),cc.xy(2,2)); |
|
181 |
addFillComponents(jpanel1,new int[]{ 1,2,3 },new int[]{ 1,2,3 }); |
|
182 |
return jpanel1; |
|
183 |
} |
|
184 |
|
|
185 |
public JPanel creategridWorkspaces() |
|
186 |
{ |
|
187 |
gridWorkspaces.setName("gridWorkspaces"); |
|
188 |
FormLayout formlayout1 = new FormLayout("FILL:DEFAULT:GROW(1.0)","FILL:DEFAULT:GROW(1.0)"); |
|
189 |
CellConstraints cc = new CellConstraints(); |
|
190 |
gridWorkspaces.setLayout(formlayout1); |
|
191 |
|
|
192 |
addFillComponents(gridWorkspaces,new int[]{ 1 },new int[]{ 1 }); |
|
193 |
return gridWorkspaces; |
|
194 |
} |
|
195 |
|
|
196 |
/** |
|
197 |
* Initializer |
|
198 |
*/ |
|
199 |
protected void initializePanel() |
|
200 |
{ |
|
201 |
setLayout(new BorderLayout()); |
|
202 |
add(createPanel(), BorderLayout.CENTER); |
|
203 |
} |
|
204 |
|
|
205 |
|
|
206 |
} |
org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.app/org.gvsig.online.app.mainplugin/src/main/java/org/gvsig/online/app/mainplugin/preferencespages/OnlinePage.java | ||
---|---|---|
1 |
/* |
|
2 |
* To change this license header, choose License Headers in Project Properties. |
|
3 |
* To change this template file, choose Tools | Templates |
|
4 |
* and open the template in the editor. |
|
5 |
*/ |
|
6 |
package org.gvsig.online.app.mainplugin.preferencespages; |
|
7 |
|
|
8 |
import com.jgoodies.forms.layout.CellConstraints; |
|
9 |
import javax.swing.DefaultComboBoxModel; |
|
10 |
import javax.swing.ImageIcon; |
|
11 |
import javax.swing.JPanel; |
|
12 |
import org.gvsig.andami.IconThemeHelper; |
|
13 |
import org.gvsig.andami.preferences.IPreference; |
|
14 |
import org.gvsig.andami.preferences.StoreException; |
|
15 |
import org.gvsig.fmap.dal.swing.featuretype.FeatureTypePanel; |
|
16 |
import org.gvsig.online.swing.api.OnlineJRegisterWorkspace; |
|
17 |
import org.gvsig.online.swing.api.OnlineSwingLocator; |
|
18 |
import org.gvsig.online.swing.api.OnlineSwingManager; |
|
19 |
import org.gvsig.tools.ToolsLocator; |
|
20 |
import org.gvsig.tools.i18n.I18nManager; |
|
21 |
import org.gvsig.tools.swing.api.ListElement; |
|
22 |
import org.gvsig.tools.swing.api.ToolsSwingLocator; |
|
23 |
import org.gvsig.tools.swing.api.ToolsSwingManager; |
|
24 |
import org.gvsig.tools.util.LabeledValue; |
|
25 |
import org.gvsig.tools.util.LabeledValueImpl; |
|
26 |
//import org.gvsig.vcsgis.swing.OnlineJRegisterWorkspace; |
|
27 |
//import org.gvsig.vcsgis.swing.OnlineSwingLocator; |
|
28 |
//import org.gvsig.vcsgis.swing.OnlineSwingManager; |
|
29 |
|
|
30 |
/** |
|
31 |
* |
|
32 |
* @author jjdelcerro |
|
33 |
*/ |
|
34 |
public class OnlinePage extends OnlinePageView implements IPreference { |
|
35 |
// |
|
36 |
// The class OnlinePage can extend from AbstractPreferencePage, not JPanel, |
|
37 |
// if recreate it from the GUI builder change te class declaration to: |
|
38 |
// public abstract class OnlinePageView extends AbstractPreferencePage |
|
39 |
|
|
40 |
private ImageIcon icon; |
|
41 |
public static String id = OnlinePage.class.getName(); |
|
42 |
|
|
43 |
public OnlinePage() { |
|
44 |
setParentID("org.gvsig.coreplugin.preferences.general.GeneralPage"); |
|
45 |
icon = IconThemeHelper.getImageIcon("vcsgis-preferences"); |
|
46 |
initComponents(); |
|
47 |
} |
|
48 |
|
|
49 |
private void initComponents() { |
|
50 |
OnlineSwingManager swingManager = OnlineSwingLocator.getOnlineSwingManager(); |
|
51 |
|
|
52 |
this.translateAll(); |
|
53 |
|
|
54 |
OnlineJRegisterWorkspace workspacesPanel = swingManager.createRegisterWorkspacePanel(); |
|
55 |
CellConstraints cc = new CellConstraints(); |
|
56 |
this.gridWorkspaces.add(workspacesPanel.asJComponent(),cc.xy(1,1)); |
|
57 |
DefaultComboBoxModel<LabeledValue<Integer>> model = new DefaultComboBoxModel(); |
|
58 |
model.addElement(new LabeledValueImpl<>("Edit only metadata", FeatureTypePanel.MODE_EDIT_ONLY_METADATA)); |
|
59 |
model.addElement(new LabeledValueImpl<>("Edit all", FeatureTypePanel.MODE_EDIT_ALL)); |
|
60 |
model.addElement(new LabeledValueImpl<>("Show only", FeatureTypePanel.MODE_SHOW_ONLY)); |
|
61 |
|
|
62 |
this.cboRepositoryEntityFeatureTypeEditorMode.setModel(model); |
|
63 |
|
|
64 |
} |
|
65 |
|
|
66 |
private void translateAll() { |
|
67 |
ToolsSwingManager manager = ToolsSwingLocator.getToolsSwingManager(); |
|
68 |
|
|
69 |
manager.translate(tabPreferences); |
|
70 |
manager.translate(chkCurrentDateAsEffectiveDateByDefaultInCommitPanel); |
|
71 |
manager.translate(chkEmptyEffectiveDateAllowedInCommitPanel); |
|
72 |
manager.translate(lblAdvanced); |
|
73 |
manager.translate(lblChangesPanel); |
|
74 |
manager.translate(lblRepositoryEntityFeatureTypeEditorMode); |
|
75 |
} |
|
76 |
|
|
77 |
@Override |
|
78 |
public void storeValues() throws StoreException { |
|
79 |
OnlineSwingManager swingManager = OnlineSwingLocator.getOnlineSwingManager(); |
|
80 |
// swingManager.setEmptyEffectiveDateAllowed(this.chkEmptyEffectiveDateAllowedInCommitPanel.isSelected()); |
|
81 |
// swingManager.setCurrentDateAsEffectiveDateByDefault(this.chkCurrentDateAsEffectiveDateByDefaultInCommitPanel.isSelected()); |
|
82 |
// LabeledValue<Integer> selectedMode = (LabeledValue<Integer>)this.cboRepositoryEntityFeatureTypeEditorMode.getSelectedItem(); |
|
83 |
// if(selectedMode != null){ |
|
84 |
// swingManager.setRepositoryEntityFeatureTypeEditorMode(selectedMode.getValue()); |
|
85 |
// |
|
86 |
// } |
|
87 |
} |
|
88 |
|
|
89 |
@Override |
|
90 |
public void setChangesApplied() { |
|
91 |
} |
|
92 |
|
|
93 |
@Override |
|
94 |
public String getID() { |
|
95 |
return id; |
|
96 |
} |
|
97 |
|
|
98 |
@Override |
|
99 |
public String getTitle() { |
|
100 |
I18nManager i18nManager = ToolsLocator.getI18nManager(); |
|
101 |
return i18nManager.getTranslation("_Online"); |
|
102 |
} |
|
103 |
|
|
104 |
@Override |
|
105 |
public JPanel getPanel() { |
|
106 |
return this; |
|
107 |
} |
|
108 |
|
|
109 |
@Override |
|
110 |
public void initializeValues() { |
|
111 |
OnlineSwingManager swingManager = OnlineSwingLocator.getOnlineSwingManager(); |
|
112 |
// this.chkEmptyEffectiveDateAllowedInCommitPanel.setSelected(swingManager.getEmptyEffectiveDateAllowed()); |
|
113 |
// this.chkCurrentDateAsEffectiveDateByDefaultInCommitPanel.setSelected(swingManager.getCurrentDateAsEffectiveDateByDefault()); |
|
114 |
// ListElement.setSelected(cboRepositoryEntityFeatureTypeEditorMode, swingManager.getRepositoryEntityFeatureTypeEditorMode()); |
|
115 |
} |
|
116 |
|
|
117 |
@Override |
|
118 |
public void initializeDefaults() { |
|
119 |
} |
|
120 |
|
|
121 |
@Override |
|
122 |
public ImageIcon getIcon() { |
|
123 |
return this.icon; |
|
124 |
} |
|
125 |
|
|
126 |
@Override |
|
127 |
public boolean isValueChanged() { |
|
128 |
return true; |
|
129 |
} |
|
130 |
|
|
131 |
@Override |
|
132 |
public boolean isResizeable() { |
|
133 |
return true; |
|
134 |
} |
|
135 |
} |
org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.app/org.gvsig.online.app.mainplugin/pom.xml | ||
---|---|---|
41 | 41 |
<dependency> |
42 | 42 |
<groupId>org.gvsig</groupId> |
43 | 43 |
<artifactId>org.gvsig.app.document.table.app.mainplugin</artifactId> |
44 |
<version>2.0.441-SNAPSHOT</version> |
|
45 |
<type>jar</type> |
|
44 |
<scope>compile</scope> |
|
46 | 45 |
</dependency> |
46 |
|
|
47 |
|
|
48 |
|
|
49 |
<dependency> |
|
50 |
<groupId>org.gvsig</groupId> |
|
51 |
<artifactId>org.gvsig.online.swing.scribejava</artifactId> |
|
52 |
<scope>runtime</scope> |
|
53 |
</dependency> |
|
54 |
<dependency> |
|
55 |
<groupId>com.github.scribejava</groupId> |
|
56 |
<artifactId>scribejava-core</artifactId> |
|
57 |
<scope>runtime</scope> |
|
58 |
</dependency> |
|
59 |
<dependency> |
|
60 |
<groupId>com.github.scribejava</groupId> |
|
61 |
<artifactId>scribejava-apis</artifactId> |
|
62 |
<scope>runtime</scope> |
|
63 |
</dependency> |
|
64 |
<dependency> |
|
65 |
<groupId>com.github.scribejava</groupId> |
|
66 |
<artifactId>scribejava-java8</artifactId> |
|
67 |
<scope>runtime</scope> |
|
68 |
</dependency> |
|
69 |
<dependency> |
|
70 |
<groupId>com.fasterxml.jackson.core</groupId> |
|
71 |
<artifactId>jackson-databind</artifactId> |
|
72 |
<scope>runtime</scope> |
|
73 |
</dependency> |
|
74 |
<dependency> |
|
75 |
<groupId>com.fasterxml.jackson.core</groupId> |
|
76 |
<artifactId>jackson-annotations</artifactId> |
|
77 |
<scope>runtime</scope> |
|
78 |
</dependency> |
|
79 |
<dependency> |
|
80 |
<groupId>com.fasterxml.jackson.core</groupId> |
|
81 |
<artifactId>jackson-core</artifactId> |
|
82 |
<scope>runtime</scope> |
|
83 |
</dependency> |
|
84 |
|
|
47 | 85 |
</dependencies> |
48 | 86 |
|
49 | 87 |
<properties> |
org.gvsig.online/trunk/org.gvsig.online/pom.xml | ||
---|---|---|
4 | 4 |
<parent> |
5 | 5 |
<groupId>org.gvsig</groupId> |
6 | 6 |
<artifactId>org.gvsig.desktop</artifactId> |
7 |
<version>2.0.444-SNAPSHOT</version>
|
|
7 |
<version>2.0.446-SNAPSHOT</version>
|
|
8 | 8 |
</parent> |
9 | 9 |
<artifactId>org.gvsig.online</artifactId> |
10 | 10 |
<version>1.0.1-SNAPSHOT</version> |
... | ... | |
54 | 54 |
<checksumPolicy>warn</checksumPolicy> |
55 | 55 |
</snapshots> |
56 | 56 |
</repository> |
57 |
<!-- <repository> |
|
57 |
<!-- <repository>
|
|
58 | 58 |
|
59 | 59 |
https://stackoverflow.com/questions/26993105/i-get-an-error-downloading-javax-media-jai-core1-1-3-from-maven-central |
60 | 60 |
|
... | ... | |
105 | 105 |
<artifactId>org.gvsig.online.swing.impl</artifactId> |
106 | 106 |
<version>1.0.1-SNAPSHOT</version> |
107 | 107 |
</dependency> |
108 |
|
|
109 |
<!-- <dependency> |
|
108 |
<dependency> |
|
110 | 109 |
<groupId>org.gvsig</groupId> |
111 |
<artifactId>org.gvsig.raster.osm.app.osmclient</artifactId>
|
|
112 |
<version>2.2.242-SNAPSHOT</version>
|
|
110 |
<artifactId>org.gvsig.online.swing.scribejava</artifactId>
|
|
111 |
<version>1.0.1-SNAPSHOT</version>
|
|
113 | 112 |
</dependency> |
114 | 113 |
<dependency> |
115 |
<groupId>org.gvsig</groupId> |
|
116 |
<artifactId>org.gvsig.raster.osm.io</artifactId> |
|
117 |
<version>2.2.242-SNAPSHOT</version> |
|
118 |
</dependency>--> |
|
119 |
|
|
114 |
<groupId>com.github.scribejava</groupId> |
|
115 |
<artifactId>scribejava-core</artifactId> |
|
116 |
<version>8.3.3</version> |
|
117 |
</dependency> |
|
118 |
<dependency> |
|
119 |
<groupId>com.github.scribejava</groupId> |
|
120 |
<artifactId>scribejava-apis</artifactId> |
|
121 |
<version>8.3.3</version> |
|
122 |
</dependency> |
|
123 |
<dependency> |
|
124 |
<groupId>com.github.scribejava</groupId> |
|
125 |
<artifactId>scribejava-java8</artifactId> |
|
126 |
<version>8.3.3</version> |
|
127 |
</dependency> |
|
128 |
<dependency> |
|
129 |
<groupId>com.fasterxml.jackson.core</groupId> |
|
130 |
<artifactId>jackson-databind</artifactId> |
|
131 |
<version>2.14.0</version> |
|
132 |
</dependency> |
|
133 |
<dependency> |
|
134 |
<groupId>com.fasterxml.jackson.core</groupId> |
|
135 |
<artifactId>jackson-annotations</artifactId> |
|
136 |
<version>2.14.0</version> |
|
137 |
</dependency> |
|
138 |
<dependency> |
|
139 |
<groupId>com.fasterxml.jackson.core</groupId> |
|
140 |
<artifactId>jackson-core</artifactId> |
|
141 |
<version>2.14.0</version> |
|
142 |
</dependency> |
|
143 |
<dependency> |
|
144 |
<groupId>org.apache.httpcomponents</groupId> |
|
145 |
<artifactId>httpclient</artifactId> |
|
146 |
<version>4.5.8</version> |
|
147 |
</dependency> |
|
148 |
|
|
120 | 149 |
</dependencies> |
121 | 150 |
</dependencyManagement> |
122 | 151 |
|
org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.lib/org.gvsig.online.lib.api/src/main/java/org/gvsig/online/lib/api/OnlineManager.java | ||
---|---|---|
27 | 27 |
import java.io.IOException; |
28 | 28 |
import java.net.URL; |
29 | 29 |
import java.util.Map; |
30 |
import javax.json.JsonObject; |
|
30 | 31 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
31 | 32 |
import org.gvsig.fmap.dal.store.jdbc.JDBCServerExplorerParameters; |
32 | 33 |
import org.gvsig.fmap.dal.store.jdbc2.JDBCServerExplorer; |
34 |
import org.gvsig.online.lib.api.OnlineUserIdentificationRequester.OnlineUserIdentificationRequesterConfig; |
|
35 |
import org.gvsig.online.lib.api.OnlineUserIdentificationRequester.OnlineUserIdentificationRequesterFactory; |
|
33 | 36 |
import org.gvsig.tools.task.SimpleTaskStatus; |
34 | 37 |
import org.gvsig.online.lib.api.workingcopy.OnlineWorkingcopy; |
35 | 38 |
import org.gvsig.online.lib.api.workingcopy.OnlineWorkingcopyDescriptor; |
... | ... | |
43 | 46 |
|
44 | 47 |
public static final int ONLINECODELEN = 60; |
45 | 48 |
|
49 |
public static final String AUTH_MODE_ONLINE = "gvSIG Online"; |
|
50 |
|
|
46 | 51 |
public static final String FEATURECODE_FIELD_NAME = "ogc_fid"; |
47 | 52 |
public static final String FEATUREMODIFIEDBY_FIELD_NAME = "modified_by"; |
48 | 53 |
public static final String FEATURELASTMODIFICATION_FIELD_NAME = "last_modification"; |
... | ... | |
146 | 151 |
|
147 | 152 |
public String getErrorMessage(int errcode); |
148 | 153 |
|
149 |
public void setUserIdentificationRequester(OnlineUserIdentificationRequester userIdentificationRequester);
|
|
154 |
public void addUserIdentificationRequester(OnlineUserIdentificationRequesterFactory factory);
|
|
150 | 155 |
|
151 |
public OnlineUserIdentificationRequester getUserIdentificationRequester();
|
|
156 |
public OnlineUserIdentificationRequesterFactory getUserIdentificationRequester(String mode);
|
|
152 | 157 |
|
158 |
public OnlineUserIdentificationRequesterConfig getUserIdentificationRequester(JsonObject uirc); |
|
159 |
|
|
160 |
public Iterable<OnlineUserIdentificationRequesterFactory> getUserIdentificationRequesters(); |
|
161 |
|
|
153 | 162 |
public OnlineWorkingcopyDescriptor getWorkingcopyDescriptor(String code); |
154 | 163 |
|
155 |
public OnlineSite connectSite(URL site) throws IOException; |
|
164 |
public OnlineSite connectSite(OnlineUserIdentificationRequesterConfig userIdentificationRequesterConfig, URL site) throws IOException;
|
|
156 | 165 |
|
157 | 166 |
/** |
158 | 167 |
* Initializes a workspace in the H2 database associated with the |
... | ... | |
198 | 207 |
void restoreWorkingcopy(Map<String, OnlineWorkingcopyDescriptor> descriptors); |
199 | 208 |
|
200 | 209 |
public void clean(); |
210 |
|
|
211 |
public String authenticate(String urlbase, String username, String password); |
|
212 |
|
|
201 | 213 |
|
202 | 214 |
public WorkingArea createWorkingArea(); |
215 |
|
|
203 | 216 |
} |
org.gvsig.online/trunk/org.gvsig.online/org.gvsig.online.lib/org.gvsig.online.lib.api/src/main/java/org/gvsig/online/lib/api/OnlineDownloader.java | ||
---|---|---|
15 | 15 |
* @author jjdelcerro |
16 | 16 |
*/ |
17 | 17 |
public interface OnlineDownloader { |
18 |
public interface OnlineAuthorizationRequester { |
|
19 |
public boolean requestAuthorization(); |
|
20 |
public String getAuthorization(); |
|
21 |
} |
|
18 |
// public interface OnlineAuthorizationRequester { |
|
19 |
// public boolean requestAuthorization(); |
|
20 |
// public String getAuthorization(); |
|
21 |
// } |
|
22 |
// |
|
23 |
// public void setAuthorizationRequester(OnlineAuthorizationRequester authorizationRequester); |
|
22 | 24 |
|
23 |
public void setAuthorizationRequester(OnlineAuthorizationRequester authorizationRequester); |
|
24 |
|
|
25 | 25 |
public File get(URL url) throws IOException; |
26 | 26 |
|
27 | 27 |
public File post_json(URL url, String json) throws IOException; |
28 | 28 |
|
29 | 29 |
public File post_form(URL url, Map<String,String>data) throws IOException; |
30 | 30 |
|
31 |
public String getAuthorization(); |
|
31 |
// public String getAuthorization(); |
Also available in: Unified diff