Revision 115
tags/org.gvsig.customize.app-1.2.12/org.gvsig.customize.app.mainplugin/buildNumber.properties | ||
---|---|---|
1 |
#Fri Jan 15 03:26:15 CET 2016 |
|
2 |
buildNumber=22 |
tags/org.gvsig.customize.app-1.2.12/org.gvsig.customize.app.mainplugin/src/main/resources-plugin/plugin-persistence.def | ||
---|---|---|
1 |
<?xml version="1.0"?> |
|
2 |
<!-- |
|
3 |
Definitions of plugin persistence org.gvsig.editing. |
|
4 |
--> |
|
5 |
<definitions> |
|
6 |
<version>1.0.0</version> |
|
7 |
<classes> |
|
8 |
<class name="org.gvsig.customize.app.mainplugin"> |
|
9 |
<description>Persistence for the customize plugin</description> |
|
10 |
<fields> |
|
11 |
<field name="configureLocale" Label="Apply locale" type="Boolean" defaultValue="true" mandatory="false" group="Apply options"> |
|
12 |
<description>Apply default locale in next startup</description> |
|
13 |
</field> |
|
14 |
<field name="configureProjection" Label="Apply projection" type="Boolean" defaultValue="true" mandatory="false" group="Apply options"> |
|
15 |
<description>Apply default proyection in next startup</description> |
|
16 |
</field> |
|
17 |
<field name="configureHTTPPproxy" Label="Apply proxy configuration" type="Boolean" defaultValue="true" mandatory="false" group="Apply options"> |
|
18 |
<description>Apply default proyection in next startup</description> |
|
19 |
</field> |
|
20 |
<field name="configureOGCServers_WMS" Label="Apply WMS servers" type="Boolean" defaultValue="true" mandatory="false" group="Apply options"> |
|
21 |
<description>Apply default WMS servers in next startup</description> |
|
22 |
</field> |
|
23 |
<field name="configureOGCServers_WMTS" Label="Apply WMTS servers" type="Boolean" defaultValue="true" mandatory="false" group="Apply options"> |
|
24 |
<description>Apply default WMTS servers in next startup</description> |
|
25 |
</field> |
|
26 |
<field name="configureOGCServers_WCS" Label="Apply WCS servers" type="Boolean" defaultValue="true" mandatory="false" group="Apply options"> |
|
27 |
<description>Apply default WCS servers in next startup</description> |
|
28 |
</field> |
|
29 |
<field name="configureOGCServers_WFS" Label="Apply WFS servers" type="Boolean" defaultValue="true" mandatory="false" group="Apply options"> |
|
30 |
<description>Apply default WFS servers in next startup</description> |
|
31 |
</field> |
|
32 |
<field name="installAdditionalComponents" Label="Install additional components" type="Boolean" defaultValue="true" mandatory="false" group="Apply options"> |
|
33 |
<description>Install additional components if required</description> |
|
34 |
</field> |
|
35 |
|
|
36 |
<field name="showCustomizeTools" Label="Show customize tools" type="Boolean" defaultValue="true" mandatory="false" group="Apply options"> |
|
37 |
<description>Show the tools to customize and create distributions</description> |
|
38 |
</field> |
|
39 |
|
|
40 |
<field name="distributionID" Label="Distribution identifier" type="String" defaultValue="" mandatory="false" group="Create distribution"> |
|
41 |
<description>Identifier to use to generate the distribution, only letters and numbers</description> |
|
42 |
</field> |
|
43 |
<field name="onlineInstaller" Label="Online installer" type="File" defaultValue="" mandatory="false" group="Create distribution"> |
|
44 |
<description>Last online installer used to generate the distribution</description> |
|
45 |
</field> |
|
46 |
<field name="packageSet" Label="Package set" type="File" defaultValue="" mandatory="false" group="Create distribution"> |
|
47 |
<description>Last package set used to generate the distribution</description> |
|
48 |
</field> |
|
49 |
<field name="WorkingFolder" Label="Working folder" type="File" defaultValue="" mandatory="false" group="Create distribution"> |
|
50 |
<description>Last working folder used to generate the distribution</description> |
|
51 |
</field> |
|
52 |
<field name="includeCustomizePlugin" Label="Include customize plugin" type="Boolean" defaultValue="true" mandatory="false" group="Create distribution"> |
|
53 |
<description>Last value used for the flag of include customize plugins used to generate the distribution</description> |
|
54 |
</field> |
|
55 |
</fields> |
|
56 |
</class> |
|
57 |
</classes> |
|
58 |
</definitions> |
tags/org.gvsig.customize.app-1.2.12/org.gvsig.customize.app.mainplugin/src/main/resources-plugin/i18n/text_en.properties | ||
---|---|---|
1 |
_Configuring_installation=Configuring installation |
|
2 |
_Close=Close |
|
3 |
_Terminating_installation=Terminating installation |
|
4 |
_Preparing_additional_components_installation=Preparing additional components installation |
|
5 |
_Searching_available_packages=Searching available packages |
|
6 |
_Installing_{0}=Installing {0} |
|
7 |
_Installation_terminated=Installation terminated |
|
8 |
_Additional_components_installed_succesfully_Restart_applicaction=Additional components installed succesfully. Restart_applicaction. |
|
9 |
_Additional_components_installed_succesfully=Additional components installed succesfully. |
|
10 |
_Problems_installing_additional_components=Problems installing additional components. |
|
11 |
_Installing_additional_components=Installing additional components |
tags/org.gvsig.customize.app-1.2.12/org.gvsig.customize.app.mainplugin/src/main/resources-plugin/i18n/text.properties | ||
---|---|---|
1 |
_Configuring_installation=Configurando la instalaci\u00f3n |
|
2 |
_Close=Cerrar |
|
3 |
_Terminating_installation=Terminando la instalaci\u00f3n |
|
4 |
_Preparing_additional_components_installation=Preparando la instalaci\u00f3n de componentes adicionales |
|
5 |
_Searching_available_packages=Buscando los paquetes disponibles |
|
6 |
_Installing_{0}=Instalando {0} |
|
7 |
_Installation_terminated=Instalaci\u00f3n terminada |
|
8 |
_Additional_components_installed_succesfully_Restart_applicaction=Componentes adicionales instalados correctamente. Reinicie la aplicaci\u00f3n. |
|
9 |
_Additional_components_installed_succesfully=Componentes adicionales instalados correctamente. |
|
10 |
_Problems_installing_additional_components=Han habido problemas instalando los componentes adicionales. |
|
11 |
_Installing_additional_components=Instalando componentes adicionales |
tags/org.gvsig.customize.app-1.2.12/org.gvsig.customize.app.mainplugin/src/main/resources-plugin/theme/andami-theme.xml | ||
---|---|---|
1 |
<!-- |
|
2 |
|
|
3 |
gvSIG. Desktop Geographic Information System. |
|
4 |
|
|
5 |
Copyright (C) 2007-2013 gvSIG Association. |
|
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
|
8 |
modify it under the terms of the GNU General Public License |
|
9 |
as published by the Free Software Foundation; either version 3 |
|
10 |
of the License, or (at your option) any later version. |
|
11 |
|
|
12 |
This program is distributed in the hope that it will be useful, |
|
13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 |
GNU General Public License for more details. |
|
16 |
|
|
17 |
You should have received a copy of the GNU General Public License |
|
18 |
along with this program; if not, write to the Free Software |
|
19 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
20 |
MA 02110-1301, USA. |
|
21 |
|
|
22 |
For any additional information, do not hesitate to contact us |
|
23 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
24 |
|
|
25 |
--> |
|
26 |
<AndamiProperties> |
|
27 |
<ApplicationImages> |
|
28 |
<SplashImages> |
|
29 |
<Splash |
|
30 |
path="splash.png" |
|
31 |
timer="10000" |
|
32 |
x="225" y="50" |
|
33 |
fontsize="16" color="80,170,240" |
|
34 |
version="${version}.${buildNumber} ${state}"/> |
|
35 |
</SplashImages> |
|
36 |
<!-- |
|
37 |
<BackgroundImage path="wallpaper.png"/> |
|
38 |
--> |
|
39 |
<!-- |
|
40 |
<BackgroundColor color="0,0,0"/> |
|
41 |
--> |
|
42 |
<WallpaperType value="CENTERED"/> |
|
43 |
<Icon path="icon16x16.png"/> |
|
44 |
</ApplicationImages> |
|
45 |
<ApplicationName value="gvSIG ${version}.${buildNumber} ${state}"/> |
|
46 |
<priority value="1000"/> |
|
47 |
</AndamiProperties> |
tags/org.gvsig.customize.app-1.2.12/org.gvsig.customize.app.mainplugin/src/main/resources-plugin/configure.form | ||
---|---|---|
1 |
<?xml version="1.0"?> |
|
2 |
<definitions> |
|
3 |
<version>1.0.0</version> |
|
4 |
<classes> |
|
5 |
|
|
6 |
<class name="ScriptAction"> |
|
7 |
<description></description> |
|
8 |
<fields> |
|
9 |
<field name="name" label="Name" type="String" defaultValue="" mandatory="false"> |
|
10 |
<description></description> |
|
11 |
</field> |
|
12 |
|
|
13 |
<field name="script" label="Script name" type="String" defaultValue="" mandatory="false"> |
|
14 |
<description></description> |
|
15 |
</field> |
|
16 |
|
|
17 |
<field name="label" label="Label" type="String" defaultValue="" mandatory="false"> |
|
18 |
<description></description> |
|
19 |
</field> |
|
20 |
|
|
21 |
<field name="icon" label="Icon name" type="String" defaultValue="" mandatory="false"> |
|
22 |
<description></description> |
|
23 |
</field> |
|
24 |
|
|
25 |
<field name="position" label="Position" type="long" defaultValue="0" mandatory="false"> |
|
26 |
<description></description> |
|
27 |
</field> |
|
28 |
|
|
29 |
<field name="tip" label="Tip" type="String" defaultValue="" mandatory="false"> |
|
30 |
<description></description> |
|
31 |
</field> |
|
32 |
|
|
33 |
</fields> |
|
34 |
</class> |
|
35 |
|
|
36 |
<class name="ViewTocAction"> |
|
37 |
<description></description> |
|
38 |
<fields> |
|
39 |
<field name="name" label="Action name" type="String" defaultValue="" mandatory="false"> |
|
40 |
<description></description> |
|
41 |
</field> |
|
42 |
|
|
43 |
<field name="group" label="Group" type="String" defaultValue="" mandatory="false"> |
|
44 |
<description></description> |
|
45 |
</field> |
|
46 |
|
|
47 |
<field name="grouporder" label="Group order" type="integer" defaultValue="0" mandatory="false"> |
|
48 |
<description></description> |
|
49 |
</field> |
|
50 |
|
|
51 |
</fields> |
|
52 |
</class> |
|
53 |
|
|
54 |
<class name="ToolAction"> |
|
55 |
<description></description> |
|
56 |
<fields> |
|
57 |
<field name="name" label="Action name" type="String" defaultValue="" mandatory="false"> |
|
58 |
<description></description> |
|
59 |
</field> |
|
60 |
|
|
61 |
<field name="toolbarName" label="Toolbar name" type="String" defaultValue="" mandatory="false"> |
|
62 |
<description></description> |
|
63 |
</field> |
|
64 |
|
|
65 |
</fields> |
|
66 |
</class> |
|
67 |
|
|
68 |
<class name="MenuAction"> |
|
69 |
<description></description> |
|
70 |
<fields> |
|
71 |
<field name="name" label="Action name" type="String" defaultValue="" mandatory="false"> |
|
72 |
<description></description> |
|
73 |
</field> |
|
74 |
|
|
75 |
<field name="text" label="Menu entry" type="String" defaultValue="" mandatory="false"> |
|
76 |
<description></description> |
|
77 |
</field> |
|
78 |
|
|
79 |
</fields> |
|
80 |
</class> |
|
81 |
|
|
82 |
<class name="ServerURL"> |
|
83 |
<description></description> |
|
84 |
<fields> |
|
85 |
<field name="remove" label="Remove" type="Boolean" defaultValue="false" mandatory="false"> |
|
86 |
<description></description> |
|
87 |
<tags> |
|
88 |
<value name="dynform.width" value="30" /> |
|
89 |
</tags> |
|
90 |
</field> |
|
91 |
|
|
92 |
<field name="url" label="URL" type="String" defaultValue="" mandatory="false"> |
|
93 |
<description></description> |
|
94 |
</field> |
|
95 |
|
|
96 |
</fields> |
|
97 |
</class> |
|
98 |
|
|
99 |
<class name="ProxyConfiguration"> |
|
100 |
<description></description> |
|
101 |
<fields> |
|
102 |
<field name="host" label="Host" type="String" defaultValue="" mandatory="false"> |
|
103 |
<description></description> |
|
104 |
</field> |
|
105 |
<field name="port" label="Port" type="String" defaultValue="" mandatory="false"> |
|
106 |
<description></description> |
|
107 |
</field> |
|
108 |
<field name="username" label="User name" type="String" defaultValue="" mandatory="false"> |
|
109 |
<description></description> |
|
110 |
</field> |
|
111 |
<field name="password" label="Password" type="String" defaultValue="" mandatory="false"> |
|
112 |
<description></description> |
|
113 |
</field> |
|
114 |
<field name="nonProxyHosts" label="Non proxy hosts" type="String" defaultValue="" mandatory="false"> |
|
115 |
<description></description> |
|
116 |
</field> |
|
117 |
<field name="promptUserAndPassword" label="Prompt user and password" type="boolean" defaultValue="false" mandatory="false"> |
|
118 |
<description></description> |
|
119 |
</field> |
|
120 |
<field name="enabled" label="Enabled" type="boolean" defaultValue="false" mandatory="false"> |
|
121 |
<description></description> |
|
122 |
</field> |
|
123 |
</fields> |
|
124 |
</class> |
|
125 |
|
|
126 |
<class name="CRSConfiguration"> |
|
127 |
<description></description> |
|
128 |
<fields> |
|
129 |
<field name="default_projection" label="Default projection" type="CRS" defaultValue="EPSG:4326" mandatory="false"> |
|
130 |
<description>Default projection to use in gvSIG</description> |
|
131 |
</field> |
|
132 |
<field name="recent11" label="Recent projection 1" type="Object" classOfValue="org.cresques.cts.IProjection" type="CRS" defaultValue="" mandatory="false"> |
|
133 |
<description>Projection to add to recent used projections</description> |
|
134 |
</field> |
|
135 |
<field name="recent2" label="Recent projection 2" type="CRS" defaultValue="" mandatory="false"> |
|
136 |
<description>Projection to add to recent used projections</description> |
|
137 |
</field> |
|
138 |
<field name="recent3" label="Recent projection 3" type="CRS" defaultValue="" mandatory="false"> |
|
139 |
<description>Projection to add to recent used projections</description> |
|
140 |
</field> |
|
141 |
<field name="recent4" label="Recent projection 4" type="CRS" defaultValue="" mandatory="false"> |
|
142 |
<description>Projection to add to recent used projections</description> |
|
143 |
</field> |
|
144 |
</fields> |
|
145 |
</class> |
|
146 |
|
|
147 |
<class name="ThemeConfiguration"> |
|
148 |
<description></description> |
|
149 |
<fields> |
|
150 |
<field name="applicationname" label="Application title" type="String" defaultValue="gvSIG ${version}.${buildNumber} ${state}" mandatory="false"> |
|
151 |
<description></description> |
|
152 |
</field> |
|
153 |
<field name="icon" label="Icon image" type="File" defaultValue="icon16x16.png" mandatory="false"> |
|
154 |
<description></description> |
|
155 |
</field> |
|
156 |
<field name="splash_image" label="Splash image" type="File" defaultValue="splash.png" mandatory="false"> |
|
157 |
<description></description> |
|
158 |
</field> |
|
159 |
<field name="splash_version" label="Version" type="String" defaultValue="${version}.${buildNumber} ${state}" mandatory="false"> |
|
160 |
<description></description> |
|
161 |
</field> |
|
162 |
<field name="splash_x" label="Version position X" type="Integer" defaultValue="225" mandatory="false"> |
|
163 |
<description></description> |
|
164 |
</field> |
|
165 |
<field name="splash_y" label="Version position Y" type="Integer" defaultValue="50" mandatory="false"> |
|
166 |
<description></description> |
|
167 |
</field> |
|
168 |
<field name="splash_font_size" label="Version font size" type="integer" defaultValue="16" mandatory="false"> |
|
169 |
<description></description> |
|
170 |
</field> |
|
171 |
<field name="splash_font_color" label="Version font color" type="String" defaultValue="80,170,240" mandatory="false"> |
|
172 |
<description></description> |
|
173 |
</field> |
|
174 |
|
|
175 |
<field name="wallpaper_image" label="Wallpaper image" type="File" defaultValue="" mandatory="false"> |
|
176 |
<description></description> |
|
177 |
</field> |
|
178 |
<field name="wallpaper_mode" label="Wallpaper mode" type="String" defaultValue="CENTERED" mandatory="false"> |
|
179 |
<description></description> |
|
180 |
<availableValues> |
|
181 |
<value label="Centered">CENTERED</value> |
|
182 |
<value label="Expand">EXPAND</value> |
|
183 |
<value label="Mosaic">MOSAIC</value> |
|
184 |
</availableValues> |
|
185 |
</field> |
|
186 |
<field name="background_color" label="Background color" type="String" defaultValue="" mandatory="false"> |
|
187 |
<description></description> |
|
188 |
</field> |
|
189 |
</fields> |
|
190 |
</class> |
|
191 |
|
|
192 |
<class name="Configuration"> |
|
193 |
<description>Customize plugin configuration</description> |
|
194 |
<fields> |
|
195 |
<field name="default_locale" label="Default locale" type="String" subtype="locale" defaultValue="" mandatory="false" group="Locale"> |
|
196 |
<description>Default locale to use in gvSIG</description> |
|
197 |
</field> |
|
198 |
|
|
199 |
<field name="crs" type="DynObject" classOfValue="CRSConfiguration" defaultValue="" mandatory="false" group="CRS"> |
|
200 |
<description></description> |
|
201 |
<tags> |
|
202 |
<value name="dynform.label.empty" value="true" /> |
|
203 |
</tags> |
|
204 |
</field> |
|
205 |
|
|
206 |
<field name="httpproxy" type="DynObject" classOfValue="ProxyConfiguration" defaultValue="" mandatory="false" group="Proxy"> |
|
207 |
<description></description> |
|
208 |
<tags> |
|
209 |
<value name="dynform.label.empty" value="true" /> |
|
210 |
</tags> |
|
211 |
</field> |
|
212 |
|
|
213 |
<field name="wmsUrls" label="WMS URLs" type="List" subtype="DynObject" typeOfItems="DynObject" classOfItems="ServerURL" defaultValue="" mandatory="false" group="WMS"> |
|
214 |
<description></description> |
|
215 |
<tags> |
|
216 |
<value name="dynform.height" value="300" /> |
|
217 |
<value name="ViewMode" value="SimpleTable" /> |
|
218 |
<value name="dynform.label.empty" value="true" /> |
|
219 |
</tags> |
|
220 |
</field> |
|
221 |
|
|
222 |
<field name="wmtsUrls" label="WMTS URLs" type="List" subtype="DynObject" typeOfItems="DynObject" classOfItems="ServerURL" defaultValue="" mandatory="false" group="WMTS"> |
|
223 |
<description></description> |
|
224 |
<tags> |
|
225 |
<value name="dynform.height" value="300" /> |
|
226 |
<value name="ViewMode" value="SimpleTable" /> |
|
227 |
<value name="dynform.label.empty" value="true" /> |
|
228 |
</tags> |
|
229 |
</field> |
|
230 |
|
|
231 |
<field name="wcsUrls" label="WCS URLs" type="List" subtype="DynObject" typeOfItems="DynObject" classOfItems="ServerURL" defaultValue="" mandatory="false" group="WCS"> |
|
232 |
<description></description> |
|
233 |
<tags> |
|
234 |
<value name="dynform.height" value="300" /> |
|
235 |
<value name="ViewMode" value="SimpleTable" /> |
|
236 |
<value name="dynform.label.empty" value="true" /> |
|
237 |
</tags> |
|
238 |
</field> |
|
239 |
|
|
240 |
<field name="wfsUrls" label="WFS URLs" type="List" subtype="DynObject" typeOfItems="DynObject" classOfItems="ServerURL" defaultValue="" mandatory="false" group="WFS"> |
|
241 |
<description></description> |
|
242 |
<tags> |
|
243 |
<value name="dynform.height" value="300" /> |
|
244 |
<value name="ViewMode" value="SimpleTable" /> |
|
245 |
<value name="dynform.label.empty" value="true" /> |
|
246 |
</tags> |
|
247 |
</field> |
|
248 |
|
|
249 |
<field name="theme" type="DynObject" classOfValue="ThemeConfiguration" defaultValue="" mandatory="false" group="Theme"> |
|
250 |
<description></description> |
|
251 |
<tags> |
|
252 |
<value name="dynform.label.empty" value="true" /> |
|
253 |
</tags> |
|
254 |
</field> |
|
255 |
|
|
256 |
<field name="scriptActions" type="List" subtype="DynObject" typeOfItems="DynObject" classOfItems="ScriptAction" |
|
257 |
mandatory="false" defaultValue="" group="Script actions"> |
|
258 |
<description></description> |
|
259 |
<tags> |
|
260 |
<value name="dynform.label.empty" value="true" /> |
|
261 |
<value name="dynform.border.empty" value="true" /> |
|
262 |
<value name="allowNew" value="true" /> |
|
263 |
<value name="allowDelete" value="true" /> |
|
264 |
<value name="allowUpdate" value="true" /> |
|
265 |
<value name="allowSearch" value="false" /> |
|
266 |
<value name="allowClose" value="false" /> |
|
267 |
</tags> |
|
268 |
</field> |
|
269 |
|
|
270 |
<field name="viewTocActions" type="List" subtype="DynObject" typeOfItems="DynObject" classOfItems="ViewTocAction" |
|
271 |
mandatory="false" defaultValue="" group="View TOC actions"> |
|
272 |
<description></description> |
|
273 |
<tags> |
|
274 |
<value name="dynform.label.empty" value="true" /> |
|
275 |
<value name="dynform.border.empty" value="true" /> |
|
276 |
<value name="allowNew" value="true" /> |
|
277 |
<value name="allowDelete" value="true" /> |
|
278 |
<value name="allowUpdate" value="true" /> |
|
279 |
<value name="allowSearch" value="false" /> |
|
280 |
<value name="allowClose" value="false" /> |
|
281 |
</tags> |
|
282 |
</field> |
|
283 |
|
|
284 |
<field name="toolActions" type="List" subtype="DynObject" typeOfItems="DynObject" classOfItems="ToolAction" |
|
285 |
mandatory="false" defaultValue="" group="Tool actions"> |
|
286 |
<description></description> |
|
287 |
<tags> |
|
288 |
<value name="dynform.label.empty" value="true" /> |
|
289 |
<value name="dynform.border.empty" value="true" /> |
|
290 |
<value name="allowNew" value="true" /> |
|
291 |
<value name="allowDelete" value="true" /> |
|
292 |
<value name="allowUpdate" value="true" /> |
|
293 |
<value name="allowSearch" value="false" /> |
|
294 |
<value name="allowClose" value="false" /> |
|
295 |
</tags> |
|
296 |
</field> |
|
297 |
|
|
298 |
<field name="menuActions" type="List" subtype="DynObject" typeOfItems="DynObject" classOfItems="MenuAction" |
|
299 |
mandatory="false" defaultValue="" group="Menu actions"> |
|
300 |
<description></description> |
|
301 |
<tags> |
|
302 |
<value name="dynform.label.empty" value="true" /> |
|
303 |
<value name="dynform.border.empty" value="true" /> |
|
304 |
<value name="dynform.action.new" value="true" /> |
|
305 |
<value name="allowNew" value="true" /> |
|
306 |
<value name="allowDelete" value="true" /> |
|
307 |
<value name="allowUpdate" value="true" /> |
|
308 |
<value name="allowSearch" value="false" /> |
|
309 |
<value name="allowClose" value="false" /> |
|
310 |
</tags> |
|
311 |
</field> |
|
312 |
|
|
313 |
</fields> |
|
314 |
</class> |
|
315 |
</classes> |
|
316 |
</definitions> |
tags/org.gvsig.customize.app-1.2.12/org.gvsig.customize.app.mainplugin/src/main/resources-plugin/config.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
<plugin-config> |
|
3 |
<libraries library-dir="lib/"/> |
|
4 |
<depends plugin-name="org.gvsig.app.mainplugin"/> |
|
5 |
<resourceBundle name="text"/> |
|
6 |
<extensions> |
|
7 |
|
|
8 |
<extension class-name="org.gvsig.customize.CustomizeExtension" active="true"> |
|
9 |
|
|
10 |
<action |
|
11 |
name="tools-customize-create-distribution" |
|
12 |
label="_Create_distribution" |
|
13 |
tooltip="_Create_distribution" |
|
14 |
action-command="tools-customize-create-distribution" |
|
15 |
icon="tools-customize-create-distribution" |
|
16 |
position="900400050" |
|
17 |
accelerator="" |
|
18 |
/> |
|
19 |
<action |
|
20 |
name="tools-customize-edit-configuration" |
|
21 |
label="_Edit_configuration" |
|
22 |
tooltip="_Edit_configuration" |
|
23 |
action-command="tools-customize-edit-configuration" |
|
24 |
icon="tools-customize-edit-configuration" |
|
25 |
position="900400060" |
|
26 |
accelerator="" |
|
27 |
/> |
|
28 |
<menu |
|
29 |
name="tools-customize-edit-configuration" |
|
30 |
text="tools/Customize/_Edit_configuration" |
|
31 |
/> |
|
32 |
<menu |
|
33 |
name="tools-customize-create-distribution" |
|
34 |
text="tools/Customize/_Create_distribution" |
|
35 |
/> |
|
36 |
</extension> |
|
37 |
</extensions> |
|
38 |
</plugin-config> |
|
39 |
|
tags/org.gvsig.customize.app-1.2.12/org.gvsig.customize.app.mainplugin/src/main/assembly/gvsig-plugin-package.xml | ||
---|---|---|
1 |
<!-- |
|
2 |
|
|
3 |
gvSIG. Desktop Geographic Information System. |
|
4 |
|
|
5 |
Copyright (C) 2007-2013 gvSIG Association. |
|
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
|
8 |
modify it under the terms of the GNU General Public License |
|
9 |
as published by the Free Software Foundation; either version 3 |
|
10 |
of the License, or (at your option) any later version. |
|
11 |
|
|
12 |
This program is distributed in the hope that it will be useful, |
|
13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15 |
GNU General Public License for more details. |
|
16 |
|
|
17 |
You should have received a copy of the GNU General Public License |
|
18 |
along with this program; if not, write to the Free Software |
|
19 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
20 |
MA 02110-1301, USA. |
|
21 |
|
|
22 |
For any additional information, do not hesitate to contact us |
|
23 |
at info AT gvsig.com, or visit our website www.gvsig.com. |
|
24 |
|
|
25 |
--> |
|
26 |
<assembly> |
|
27 |
<id>gvsig-plugin-package</id> |
|
28 |
<formats> |
|
29 |
<format>zip</format> |
|
30 |
</formats> |
|
31 |
<baseDirectory>${project.artifactId}</baseDirectory> |
|
32 |
<includeBaseDirectory>true</includeBaseDirectory> |
|
33 |
<files> |
|
34 |
<file> |
|
35 |
<source>target/${project.artifactId}-${project.version}.jar</source> |
|
36 |
<outputDirectory>lib</outputDirectory> |
|
37 |
</file> |
|
38 |
<file> |
|
39 |
<source>target/package.info</source> |
|
40 |
</file> |
|
41 |
</files> |
|
42 |
|
|
43 |
<fileSets> |
|
44 |
<fileSet> |
|
45 |
<directory>src/main/resources-plugin</directory> |
|
46 |
<outputDirectory>.</outputDirectory> |
|
47 |
</fileSet> |
|
48 |
</fileSets> |
|
49 |
|
|
50 |
|
|
51 |
<!-- |
|
52 |
Si le quito los comentarios y dejo la seccion includes vacia, me incluye |
|
53 |
si o si, todas depedencias, como si no hiciese caso del parametro |
|
54 |
useTransitiveDependencies |
|
55 |
<dependencySets> |
|
56 |
<dependencySet> |
|
57 |
<useProjectArtifact>false</useProjectArtifact> |
|
58 |
<useTransitiveDependencies>false</useTransitiveDependencies> |
|
59 |
<outputDirectory>lib</outputDirectory> |
|
60 |
<includes> |
|
61 |
</includes> |
|
62 |
</dependencySet> |
|
63 |
</dependencySets> |
|
64 |
--> |
|
65 |
|
|
66 |
</assembly> |
|
67 |
|
tags/org.gvsig.customize.app-1.2.12/org.gvsig.customize.app.mainplugin/src/main/java/org/gvsig/customize/HttpProxyLoginDialogLayout.form | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8" ?> |
|
2 |
|
|
3 |
<Form version="1.8" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JPanelFormInfo"> |
|
4 |
<Properties> |
|
5 |
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> |
|
6 |
<Border info="org.netbeans.modules.form.compat2.border.EmptyBorderInfo"> |
|
7 |
<EmptyBorder bottom="10" left="10" right="10" top="10"/> |
|
8 |
</Border> |
|
9 |
</Property> |
|
10 |
<Property name="alignmentX" type="float" value="1.0"/> |
|
11 |
<Property name="alignmentY" type="float" value="1.0"/> |
|
12 |
</Properties> |
|
13 |
<AuxValues> |
|
14 |
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> |
|
15 |
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> |
|
16 |
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> |
|
17 |
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> |
|
18 |
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> |
|
19 |
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> |
|
20 |
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> |
|
21 |
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> |
|
22 |
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="4"/> |
|
23 |
<AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,0,-87,0,0,1,-65"/> |
|
24 |
</AuxValues> |
|
25 |
<SubComponents> |
|
26 |
<Component class="javax.swing.JLabel" name="lblTitle"> |
|
27 |
<Properties> |
|
28 |
<Property name="text" type="java.lang.String" value="Identificacion de usuario para acceso a internet"/> |
|
29 |
</Properties> |
|
30 |
<Constraints> |
|
31 |
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> |
|
32 |
<GridBagConstraints gridX="2" gridY="2" gridWidth="1" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/> |
|
33 |
</Constraint> |
|
34 |
</Constraints> |
|
35 |
</Component> |
|
36 |
<Component class="javax.swing.JLabel" name="lblName"> |
|
37 |
<Properties> |
|
38 |
<Property name="text" type="java.lang.String" value="Nombre de usuario:"/> |
|
39 |
</Properties> |
|
40 |
<Constraints> |
|
41 |
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> |
|
42 |
<GridBagConstraints gridX="2" gridY="6" gridWidth="3" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/> |
|
43 |
</Constraint> |
|
44 |
</Constraints> |
|
45 |
</Component> |
|
46 |
<Component class="javax.swing.JTextField" name="txtName"> |
|
47 |
<Constraints> |
|
48 |
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> |
|
49 |
<GridBagConstraints gridX="2" gridY="8" gridWidth="3" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/> |
|
50 |
</Constraint> |
|
51 |
</Constraints> |
|
52 |
</Component> |
|
53 |
<Component class="javax.swing.JLabel" name="lblPassword"> |
|
54 |
<Properties> |
|
55 |
<Property name="text" type="java.lang.String" value="Clave:"/> |
|
56 |
</Properties> |
|
57 |
<Constraints> |
|
58 |
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> |
|
59 |
<GridBagConstraints gridX="2" gridY="12" gridWidth="3" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/> |
|
60 |
</Constraint> |
|
61 |
</Constraints> |
|
62 |
</Component> |
|
63 |
<Component class="javax.swing.JButton" name="botLogin"> |
|
64 |
<Properties> |
|
65 |
<Property name="text" type="java.lang.String" value="Aceptar"/> |
|
66 |
</Properties> |
|
67 |
<Constraints> |
|
68 |
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> |
|
69 |
<GridBagConstraints gridX="4" gridY="18" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="22" weightX="0.0" weightY="0.0"/> |
|
70 |
</Constraint> |
|
71 |
</Constraints> |
|
72 |
</Component> |
|
73 |
<Component class="javax.swing.JButton" name="botCancel"> |
|
74 |
<Properties> |
|
75 |
<Property name="text" type="java.lang.String" value="Cancelar"/> |
|
76 |
</Properties> |
|
77 |
<Constraints> |
|
78 |
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> |
|
79 |
<GridBagConstraints gridX="2" gridY="18" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="13" weightX="0.0" weightY="0.0"/> |
|
80 |
</Constraint> |
|
81 |
</Constraints> |
|
82 |
</Component> |
|
83 |
<Component class="javax.swing.JPasswordField" name="txtPassword"> |
|
84 |
<Constraints> |
|
85 |
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription"> |
|
86 |
<GridBagConstraints gridX="2" gridY="14" gridWidth="3" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/> |
|
87 |
</Constraint> |
|
88 |
</Constraints> |
|
89 |
</Component> |
|
90 |
</SubComponents> |
|
91 |
<LayoutCode> |
|
92 |
<CodeStatement> |
|
93 |
<CodeExpression id="1_layout"> |
|
94 |
<CodeVariable name="layout" type="4096" declaredType="java.awt.GridBagLayout"/> |
|
95 |
<ExpressionOrigin> |
|
96 |
<ExpressionProvider type="CodeConstructor"> |
|
97 |
<CodeConstructor class="java.awt.GridBagLayout" parameterTypes=""/> |
|
98 |
</ExpressionProvider> |
|
99 |
</ExpressionOrigin> |
|
100 |
</CodeExpression> |
|
101 |
<StatementProvider type="CodeExpression"> |
|
102 |
<CodeExpression id="1_layout"/> |
|
103 |
</StatementProvider> |
|
104 |
</CodeStatement> |
|
105 |
<CodeStatement> |
|
106 |
<CodeExpression id="1_layout"/> |
|
107 |
<StatementProvider type="CodeField"> |
|
108 |
<CodeField name="columnWidths" class="java.awt.GridBagLayout"/> |
|
109 |
</StatementProvider> |
|
110 |
<Parameters> |
|
111 |
<CodeExpression id="2"> |
|
112 |
<ExpressionOrigin> |
|
113 |
<Value type="[I" editor="org.netbeans.modules.form.layoutsupport.delegates.GridBagLayoutSupport$IntArrayPropertyEditor"> |
|
114 |
<PropertyValue value="[0, 5, 0, 5, 0, 5, 0]"/> |
|
115 |
</Value> |
|
116 |
</ExpressionOrigin> |
|
117 |
</CodeExpression> |
|
118 |
</Parameters> |
|
119 |
</CodeStatement> |
|
120 |
<CodeStatement> |
|
121 |
<CodeExpression id="1_layout"/> |
|
122 |
<StatementProvider type="CodeField"> |
|
123 |
<CodeField name="rowHeights" class="java.awt.GridBagLayout"/> |
|
124 |
</StatementProvider> |
|
125 |
<Parameters> |
|
126 |
<CodeExpression id="3"> |
|
127 |
<ExpressionOrigin> |
|
128 |
<Value type="[I" editor="org.netbeans.modules.form.layoutsupport.delegates.GridBagLayoutSupport$IntArrayPropertyEditor"> |
|
129 |
<PropertyValue value="[0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0, 5, 0]"/> |
|
130 |
</Value> |
|
131 |
</ExpressionOrigin> |
|
132 |
</CodeExpression> |
|
133 |
</Parameters> |
|
134 |
</CodeStatement> |
|
135 |
<CodeStatement> |
|
136 |
<CodeExpression id="4"> |
|
137 |
<ExpressionOrigin> |
|
138 |
<ExpressionProvider type="ComponentRef"> |
|
139 |
<ComponentRef name="."/> |
|
140 |
</ExpressionProvider> |
|
141 |
</ExpressionOrigin> |
|
142 |
</CodeExpression> |
|
143 |
<StatementProvider type="CodeMethod"> |
|
144 |
<CodeMethod name="setLayout" class="java.awt.Container" parameterTypes="java.awt.LayoutManager"/> |
|
145 |
</StatementProvider> |
|
146 |
<Parameters> |
|
147 |
<CodeExpression id="1_layout"/> |
|
148 |
</Parameters> |
|
149 |
</CodeStatement> |
|
150 |
<CodeStatement> |
|
151 |
<CodeExpression id="5_gridBagConstraints"> |
|
152 |
<CodeVariable name="gridBagConstraints" type="20480" declaredType="java.awt.GridBagConstraints"/> |
|
153 |
<ExpressionOrigin> |
|
154 |
<ExpressionProvider type="CodeConstructor"> |
|
155 |
<CodeConstructor class="java.awt.GridBagConstraints" parameterTypes=""/> |
|
156 |
</ExpressionProvider> |
|
157 |
</ExpressionOrigin> |
|
158 |
</CodeExpression> |
|
159 |
<StatementProvider type="CodeExpression"> |
|
160 |
<CodeExpression id="5_gridBagConstraints"/> |
|
161 |
</StatementProvider> |
|
162 |
</CodeStatement> |
|
163 |
<CodeStatement> |
|
164 |
<CodeExpression id="5_gridBagConstraints"/> |
|
165 |
<StatementProvider type="CodeField"> |
|
166 |
<CodeField name="gridx" class="java.awt.GridBagConstraints"/> |
|
167 |
</StatementProvider> |
|
168 |
<Parameters> |
|
169 |
<CodeExpression id="6"> |
|
170 |
<ExpressionOrigin> |
|
171 |
<Value type="int" value="2"/> |
|
172 |
</ExpressionOrigin> |
|
173 |
</CodeExpression> |
|
174 |
</Parameters> |
|
175 |
</CodeStatement> |
|
176 |
<CodeStatement> |
|
177 |
<CodeExpression id="5_gridBagConstraints"/> |
|
178 |
<StatementProvider type="CodeField"> |
|
179 |
<CodeField name="gridy" class="java.awt.GridBagConstraints"/> |
|
180 |
</StatementProvider> |
|
181 |
<Parameters> |
|
182 |
<CodeExpression id="7"> |
|
183 |
<ExpressionOrigin> |
|
184 |
<Value type="int" value="2"/> |
|
185 |
</ExpressionOrigin> |
|
186 |
</CodeExpression> |
|
187 |
</Parameters> |
|
188 |
</CodeStatement> |
|
189 |
<CodeStatement> |
|
190 |
<CodeExpression id="5_gridBagConstraints"/> |
|
191 |
<StatementProvider type="CodeField"> |
|
192 |
<CodeField name="fill" class="java.awt.GridBagConstraints"/> |
|
193 |
</StatementProvider> |
|
194 |
<Parameters> |
|
195 |
<CodeExpression id="8"> |
|
196 |
<ExpressionOrigin> |
|
197 |
<Value type="int" value="1"/> |
|
198 |
</ExpressionOrigin> |
|
199 |
</CodeExpression> |
|
200 |
</Parameters> |
|
201 |
</CodeStatement> |
|
202 |
<CodeStatement> |
|
203 |
<CodeExpression id="4"/> |
|
204 |
<StatementProvider type="CodeMethod"> |
|
205 |
<CodeMethod name="add" class="java.awt.Container" parameterTypes="java.awt.Component, java.lang.Object"/> |
|
206 |
</StatementProvider> |
|
207 |
<Parameters> |
|
208 |
<CodeExpression id="9_lblTitle"> |
|
209 |
<CodeVariable name="lblTitle" type="8196" declaredType="javax.swing.JLabel"/> |
|
210 |
<ExpressionOrigin> |
|
211 |
<ExpressionProvider type="ComponentRef"> |
|
212 |
<ComponentRef name="lblTitle"/> |
|
213 |
</ExpressionProvider> |
|
214 |
</ExpressionOrigin> |
|
215 |
</CodeExpression> |
|
216 |
<CodeExpression id="5_gridBagConstraints"/> |
|
217 |
</Parameters> |
|
218 |
</CodeStatement> |
|
219 |
<CodeStatement> |
|
220 |
<CodeExpression id="10_gridBagConstraints"> |
|
221 |
<CodeVariable name="gridBagConstraints"/> |
|
222 |
<ExpressionOrigin> |
|
223 |
<ExpressionProvider type="CodeConstructor"> |
|
224 |
<CodeConstructor class="java.awt.GridBagConstraints" parameterTypes=""/> |
|
225 |
</ExpressionProvider> |
|
226 |
</ExpressionOrigin> |
|
227 |
</CodeExpression> |
|
228 |
<StatementProvider type="CodeExpression"> |
|
229 |
<CodeExpression id="10_gridBagConstraints"/> |
|
230 |
</StatementProvider> |
|
231 |
</CodeStatement> |
|
232 |
<CodeStatement> |
|
233 |
<CodeExpression id="10_gridBagConstraints"/> |
|
234 |
<StatementProvider type="CodeField"> |
|
235 |
<CodeField name="gridx" class="java.awt.GridBagConstraints"/> |
|
236 |
</StatementProvider> |
|
237 |
<Parameters> |
|
238 |
<CodeExpression id="11"> |
|
239 |
<ExpressionOrigin> |
|
240 |
<Value type="int" value="2"/> |
|
241 |
</ExpressionOrigin> |
|
242 |
</CodeExpression> |
|
243 |
</Parameters> |
|
244 |
</CodeStatement> |
|
245 |
<CodeStatement> |
|
246 |
<CodeExpression id="10_gridBagConstraints"/> |
|
247 |
<StatementProvider type="CodeField"> |
|
248 |
<CodeField name="gridy" class="java.awt.GridBagConstraints"/> |
|
249 |
</StatementProvider> |
|
250 |
<Parameters> |
|
251 |
<CodeExpression id="12"> |
|
252 |
<ExpressionOrigin> |
|
253 |
<Value type="int" value="6"/> |
|
254 |
</ExpressionOrigin> |
|
255 |
</CodeExpression> |
|
256 |
</Parameters> |
|
257 |
</CodeStatement> |
|
258 |
<CodeStatement> |
|
259 |
<CodeExpression id="10_gridBagConstraints"/> |
|
260 |
<StatementProvider type="CodeField"> |
|
261 |
<CodeField name="gridwidth" class="java.awt.GridBagConstraints"/> |
|
262 |
</StatementProvider> |
|
263 |
<Parameters> |
|
264 |
<CodeExpression id="13"> |
|
265 |
<ExpressionOrigin> |
|
266 |
<Value type="int" value="3"/> |
|
267 |
</ExpressionOrigin> |
|
268 |
</CodeExpression> |
|
269 |
</Parameters> |
|
270 |
</CodeStatement> |
|
271 |
<CodeStatement> |
|
272 |
<CodeExpression id="10_gridBagConstraints"/> |
|
273 |
<StatementProvider type="CodeField"> |
|
274 |
<CodeField name="fill" class="java.awt.GridBagConstraints"/> |
|
275 |
</StatementProvider> |
|
276 |
<Parameters> |
|
277 |
<CodeExpression id="14"> |
|
278 |
<ExpressionOrigin> |
|
279 |
<Value type="int" value="2"/> |
|
280 |
</ExpressionOrigin> |
|
281 |
</CodeExpression> |
|
282 |
</Parameters> |
|
283 |
</CodeStatement> |
|
284 |
<CodeStatement> |
|
285 |
<CodeExpression id="4"/> |
|
286 |
<StatementProvider type="CodeMethod"> |
|
287 |
<CodeMethod name="add" class="java.awt.Container" parameterTypes="java.awt.Component, java.lang.Object"/> |
|
288 |
</StatementProvider> |
|
289 |
<Parameters> |
|
290 |
<CodeExpression id="15_lblName"> |
|
291 |
<CodeVariable name="lblName" type="8196" declaredType="javax.swing.JLabel"/> |
|
292 |
<ExpressionOrigin> |
|
293 |
<ExpressionProvider type="ComponentRef"> |
|
294 |
<ComponentRef name="lblName"/> |
|
295 |
</ExpressionProvider> |
|
296 |
</ExpressionOrigin> |
|
297 |
</CodeExpression> |
|
298 |
<CodeExpression id="10_gridBagConstraints"/> |
|
299 |
</Parameters> |
|
300 |
</CodeStatement> |
|
301 |
<CodeStatement> |
|
302 |
<CodeExpression id="16_gridBagConstraints"> |
|
303 |
<CodeVariable name="gridBagConstraints"/> |
|
304 |
<ExpressionOrigin> |
|
305 |
<ExpressionProvider type="CodeConstructor"> |
|
306 |
<CodeConstructor class="java.awt.GridBagConstraints" parameterTypes=""/> |
|
307 |
</ExpressionProvider> |
|
308 |
</ExpressionOrigin> |
|
309 |
</CodeExpression> |
|
310 |
<StatementProvider type="CodeExpression"> |
|
311 |
<CodeExpression id="16_gridBagConstraints"/> |
|
312 |
</StatementProvider> |
|
313 |
</CodeStatement> |
|
314 |
<CodeStatement> |
|
315 |
<CodeExpression id="16_gridBagConstraints"/> |
|
316 |
<StatementProvider type="CodeField"> |
|
317 |
<CodeField name="gridx" class="java.awt.GridBagConstraints"/> |
|
318 |
</StatementProvider> |
|
319 |
<Parameters> |
|
320 |
<CodeExpression id="17"> |
|
321 |
<ExpressionOrigin> |
|
322 |
<Value type="int" value="2"/> |
|
323 |
</ExpressionOrigin> |
|
324 |
</CodeExpression> |
|
325 |
</Parameters> |
|
326 |
</CodeStatement> |
|
327 |
<CodeStatement> |
|
328 |
<CodeExpression id="16_gridBagConstraints"/> |
|
329 |
<StatementProvider type="CodeField"> |
|
330 |
<CodeField name="gridy" class="java.awt.GridBagConstraints"/> |
|
331 |
</StatementProvider> |
|
332 |
<Parameters> |
|
333 |
<CodeExpression id="18"> |
|
334 |
<ExpressionOrigin> |
|
335 |
<Value type="int" value="8"/> |
|
336 |
</ExpressionOrigin> |
|
337 |
</CodeExpression> |
|
338 |
</Parameters> |
|
339 |
</CodeStatement> |
|
340 |
<CodeStatement> |
|
341 |
<CodeExpression id="16_gridBagConstraints"/> |
|
342 |
<StatementProvider type="CodeField"> |
|
343 |
<CodeField name="gridwidth" class="java.awt.GridBagConstraints"/> |
|
344 |
</StatementProvider> |
|
345 |
<Parameters> |
|
346 |
<CodeExpression id="19"> |
|
347 |
<ExpressionOrigin> |
|
348 |
<Value type="int" value="3"/> |
|
349 |
</ExpressionOrigin> |
|
350 |
</CodeExpression> |
|
351 |
</Parameters> |
|
352 |
</CodeStatement> |
|
353 |
<CodeStatement> |
|
354 |
<CodeExpression id="16_gridBagConstraints"/> |
|
355 |
<StatementProvider type="CodeField"> |
|
356 |
<CodeField name="fill" class="java.awt.GridBagConstraints"/> |
|
357 |
</StatementProvider> |
|
358 |
<Parameters> |
|
359 |
<CodeExpression id="20"> |
|
360 |
<ExpressionOrigin> |
|
361 |
<Value type="int" value="2"/> |
|
362 |
</ExpressionOrigin> |
|
363 |
</CodeExpression> |
|
364 |
</Parameters> |
|
365 |
</CodeStatement> |
|
366 |
<CodeStatement> |
|
367 |
<CodeExpression id="4"/> |
|
368 |
<StatementProvider type="CodeMethod"> |
|
369 |
<CodeMethod name="add" class="java.awt.Container" parameterTypes="java.awt.Component, java.lang.Object"/> |
|
370 |
</StatementProvider> |
|
371 |
<Parameters> |
|
372 |
<CodeExpression id="21_txtName"> |
|
373 |
<CodeVariable name="txtName" type="8196" declaredType="javax.swing.JTextField"/> |
|
374 |
<ExpressionOrigin> |
|
375 |
<ExpressionProvider type="ComponentRef"> |
|
376 |
<ComponentRef name="txtName"/> |
|
377 |
</ExpressionProvider> |
|
378 |
</ExpressionOrigin> |
|
379 |
</CodeExpression> |
|
380 |
<CodeExpression id="16_gridBagConstraints"/> |
|
381 |
</Parameters> |
|
382 |
</CodeStatement> |
|
383 |
<CodeStatement> |
|
384 |
<CodeExpression id="22_gridBagConstraints"> |
|
385 |
<CodeVariable name="gridBagConstraints"/> |
|
386 |
<ExpressionOrigin> |
|
387 |
<ExpressionProvider type="CodeConstructor"> |
|
388 |
<CodeConstructor class="java.awt.GridBagConstraints" parameterTypes=""/> |
|
389 |
</ExpressionProvider> |
|
390 |
</ExpressionOrigin> |
|
391 |
</CodeExpression> |
|
392 |
<StatementProvider type="CodeExpression"> |
|
393 |
<CodeExpression id="22_gridBagConstraints"/> |
|
394 |
</StatementProvider> |
|
395 |
</CodeStatement> |
|
396 |
<CodeStatement> |
|
397 |
<CodeExpression id="22_gridBagConstraints"/> |
|
398 |
<StatementProvider type="CodeField"> |
|
399 |
<CodeField name="gridx" class="java.awt.GridBagConstraints"/> |
|
400 |
</StatementProvider> |
|
401 |
<Parameters> |
|
402 |
<CodeExpression id="23"> |
|
403 |
<ExpressionOrigin> |
|
404 |
<Value type="int" value="2"/> |
|
405 |
</ExpressionOrigin> |
|
406 |
</CodeExpression> |
|
407 |
</Parameters> |
|
408 |
</CodeStatement> |
|
409 |
<CodeStatement> |
|
410 |
<CodeExpression id="22_gridBagConstraints"/> |
|
411 |
<StatementProvider type="CodeField"> |
|
412 |
<CodeField name="gridy" class="java.awt.GridBagConstraints"/> |
|
413 |
</StatementProvider> |
|
414 |
<Parameters> |
|
415 |
<CodeExpression id="24"> |
|
416 |
<ExpressionOrigin> |
|
417 |
<Value type="int" value="12"/> |
|
418 |
</ExpressionOrigin> |
|
419 |
</CodeExpression> |
|
420 |
</Parameters> |
|
421 |
</CodeStatement> |
|
422 |
<CodeStatement> |
|
423 |
<CodeExpression id="22_gridBagConstraints"/> |
|
424 |
<StatementProvider type="CodeField"> |
|
425 |
<CodeField name="gridwidth" class="java.awt.GridBagConstraints"/> |
|
426 |
</StatementProvider> |
|
427 |
<Parameters> |
|
428 |
<CodeExpression id="25"> |
|
429 |
<ExpressionOrigin> |
|
430 |
<Value type="int" value="3"/> |
|
431 |
</ExpressionOrigin> |
|
432 |
</CodeExpression> |
|
433 |
</Parameters> |
|
434 |
</CodeStatement> |
|
435 |
<CodeStatement> |
|
436 |
<CodeExpression id="22_gridBagConstraints"/> |
|
437 |
<StatementProvider type="CodeField"> |
|
438 |
<CodeField name="fill" class="java.awt.GridBagConstraints"/> |
|
439 |
</StatementProvider> |
|
440 |
<Parameters> |
|
441 |
<CodeExpression id="26"> |
|
442 |
<ExpressionOrigin> |
|
443 |
<Value type="int" value="2"/> |
|
444 |
</ExpressionOrigin> |
|
445 |
</CodeExpression> |
|
446 |
</Parameters> |
|
447 |
</CodeStatement> |
|
448 |
<CodeStatement> |
|
449 |
<CodeExpression id="4"/> |
|
450 |
<StatementProvider type="CodeMethod"> |
|
451 |
<CodeMethod name="add" class="java.awt.Container" parameterTypes="java.awt.Component, java.lang.Object"/> |
|
452 |
</StatementProvider> |
|
453 |
<Parameters> |
|
454 |
<CodeExpression id="27_lblPassword"> |
|
455 |
<CodeVariable name="lblPassword" type="8196" declaredType="javax.swing.JLabel"/> |
|
456 |
<ExpressionOrigin> |
|
457 |
<ExpressionProvider type="ComponentRef"> |
|
458 |
<ComponentRef name="lblPassword"/> |
|
459 |
</ExpressionProvider> |
|
460 |
</ExpressionOrigin> |
|
461 |
</CodeExpression> |
|
462 |
<CodeExpression id="22_gridBagConstraints"/> |
|
463 |
</Parameters> |
|
464 |
</CodeStatement> |
|
465 |
<CodeStatement> |
|
466 |
<CodeExpression id="28_gridBagConstraints"> |
|
467 |
<CodeVariable name="gridBagConstraints"/> |
|
468 |
<ExpressionOrigin> |
|
469 |
<ExpressionProvider type="CodeConstructor"> |
|
470 |
<CodeConstructor class="java.awt.GridBagConstraints" parameterTypes=""/> |
|
471 |
</ExpressionProvider> |
|
472 |
</ExpressionOrigin> |
|
473 |
</CodeExpression> |
|
474 |
<StatementProvider type="CodeExpression"> |
|
475 |
<CodeExpression id="28_gridBagConstraints"/> |
|
476 |
</StatementProvider> |
|
477 |
</CodeStatement> |
|
478 |
<CodeStatement> |
|
479 |
<CodeExpression id="28_gridBagConstraints"/> |
|
480 |
<StatementProvider type="CodeField"> |
|
481 |
<CodeField name="gridx" class="java.awt.GridBagConstraints"/> |
|
482 |
</StatementProvider> |
|
483 |
<Parameters> |
|
484 |
<CodeExpression id="29"> |
|
485 |
<ExpressionOrigin> |
|
486 |
<Value type="int" value="4"/> |
|
487 |
</ExpressionOrigin> |
|
488 |
</CodeExpression> |
|
489 |
</Parameters> |
|
490 |
</CodeStatement> |
|
491 |
<CodeStatement> |
|
492 |
<CodeExpression id="28_gridBagConstraints"/> |
|
493 |
<StatementProvider type="CodeField"> |
|
494 |
<CodeField name="gridy" class="java.awt.GridBagConstraints"/> |
|
495 |
</StatementProvider> |
|
496 |
<Parameters> |
|
497 |
<CodeExpression id="30"> |
|
498 |
<ExpressionOrigin> |
|
499 |
<Value type="int" value="18"/> |
|
500 |
</ExpressionOrigin> |
|
501 |
</CodeExpression> |
|
502 |
</Parameters> |
|
503 |
</CodeStatement> |
|
504 |
<CodeStatement> |
|
505 |
<CodeExpression id="28_gridBagConstraints"/> |
|
506 |
<StatementProvider type="CodeField"> |
|
507 |
<CodeField name="anchor" class="java.awt.GridBagConstraints"/> |
|
508 |
</StatementProvider> |
|
509 |
<Parameters> |
|
510 |
<CodeExpression id="31"> |
|
511 |
<ExpressionOrigin> |
|
512 |
<Value type="int" value="22"/> |
|
513 |
</ExpressionOrigin> |
|
514 |
</CodeExpression> |
|
515 |
</Parameters> |
|
516 |
</CodeStatement> |
|
517 |
<CodeStatement> |
|
518 |
<CodeExpression id="4"/> |
|
519 |
<StatementProvider type="CodeMethod"> |
|
520 |
<CodeMethod name="add" class="java.awt.Container" parameterTypes="java.awt.Component, java.lang.Object"/> |
|
521 |
</StatementProvider> |
|
522 |
<Parameters> |
|
523 |
<CodeExpression id="32_botLogin"> |
|
524 |
<CodeVariable name="botLogin" type="8196" declaredType="javax.swing.JButton"/> |
|
525 |
<ExpressionOrigin> |
|
526 |
<ExpressionProvider type="ComponentRef"> |
|
527 |
<ComponentRef name="botLogin"/> |
|
528 |
</ExpressionProvider> |
|
529 |
</ExpressionOrigin> |
|
530 |
</CodeExpression> |
|
531 |
<CodeExpression id="28_gridBagConstraints"/> |
|
532 |
</Parameters> |
|
533 |
</CodeStatement> |
|
534 |
<CodeStatement> |
|
535 |
<CodeExpression id="33_gridBagConstraints"> |
|
536 |
<CodeVariable name="gridBagConstraints"/> |
|
537 |
<ExpressionOrigin> |
|
538 |
<ExpressionProvider type="CodeConstructor"> |
|
539 |
<CodeConstructor class="java.awt.GridBagConstraints" parameterTypes=""/> |
|
540 |
</ExpressionProvider> |
|
541 |
</ExpressionOrigin> |
|
542 |
</CodeExpression> |
|
543 |
<StatementProvider type="CodeExpression"> |
|
544 |
<CodeExpression id="33_gridBagConstraints"/> |
|
545 |
</StatementProvider> |
|
546 |
</CodeStatement> |
|
547 |
<CodeStatement> |
|
548 |
<CodeExpression id="33_gridBagConstraints"/> |
|
549 |
<StatementProvider type="CodeField"> |
|
550 |
<CodeField name="gridx" class="java.awt.GridBagConstraints"/> |
|
551 |
</StatementProvider> |
|
552 |
<Parameters> |
|
553 |
<CodeExpression id="34"> |
|
554 |
<ExpressionOrigin> |
|
555 |
<Value type="int" value="2"/> |
|
556 |
</ExpressionOrigin> |
|
557 |
</CodeExpression> |
|
558 |
</Parameters> |
|
559 |
</CodeStatement> |
|
560 |
<CodeStatement> |
|
561 |
<CodeExpression id="33_gridBagConstraints"/> |
|
562 |
<StatementProvider type="CodeField"> |
|
563 |
<CodeField name="gridy" class="java.awt.GridBagConstraints"/> |
|
564 |
</StatementProvider> |
|
565 |
<Parameters> |
|
566 |
<CodeExpression id="35"> |
|
567 |
<ExpressionOrigin> |
|
568 |
<Value type="int" value="18"/> |
|
569 |
</ExpressionOrigin> |
|
570 |
</CodeExpression> |
|
571 |
</Parameters> |
|
572 |
</CodeStatement> |
|
573 |
<CodeStatement> |
|
574 |
<CodeExpression id="33_gridBagConstraints"/> |
|
575 |
<StatementProvider type="CodeField"> |
|
576 |
<CodeField name="anchor" class="java.awt.GridBagConstraints"/> |
|
577 |
</StatementProvider> |
|
578 |
<Parameters> |
|
579 |
<CodeExpression id="36"> |
|
580 |
<ExpressionOrigin> |
|
581 |
<Value type="int" value="13"/> |
|
582 |
</ExpressionOrigin> |
|
583 |
</CodeExpression> |
|
584 |
</Parameters> |
|
585 |
</CodeStatement> |
|
586 |
<CodeStatement> |
|
587 |
<CodeExpression id="4"/> |
|
588 |
<StatementProvider type="CodeMethod"> |
|
589 |
<CodeMethod name="add" class="java.awt.Container" parameterTypes="java.awt.Component, java.lang.Object"/> |
|
590 |
</StatementProvider> |
|
591 |
<Parameters> |
|
592 |
<CodeExpression id="37_botCancel"> |
|
593 |
<CodeVariable name="botCancel" type="8196" declaredType="javax.swing.JButton"/> |
|
594 |
<ExpressionOrigin> |
|
595 |
<ExpressionProvider type="ComponentRef"> |
|
596 |
<ComponentRef name="botCancel"/> |
|
597 |
</ExpressionProvider> |
|
598 |
</ExpressionOrigin> |
|
599 |
</CodeExpression> |
|
600 |
<CodeExpression id="33_gridBagConstraints"/> |
|
601 |
</Parameters> |
|
602 |
</CodeStatement> |
|
603 |
<CodeStatement> |
|
604 |
<CodeExpression id="38_gridBagConstraints"> |
|
605 |
<CodeVariable name="gridBagConstraints"/> |
|
606 |
<ExpressionOrigin> |
|
607 |
<ExpressionProvider type="CodeConstructor"> |
|
608 |
<CodeConstructor class="java.awt.GridBagConstraints" parameterTypes=""/> |
|
609 |
</ExpressionProvider> |
|
610 |
</ExpressionOrigin> |
|
611 |
</CodeExpression> |
|
612 |
<StatementProvider type="CodeExpression"> |
|
613 |
<CodeExpression id="38_gridBagConstraints"/> |
|
614 |
</StatementProvider> |
|
615 |
</CodeStatement> |
|
616 |
<CodeStatement> |
|
617 |
<CodeExpression id="38_gridBagConstraints"/> |
|
618 |
<StatementProvider type="CodeField"> |
|
619 |
<CodeField name="gridx" class="java.awt.GridBagConstraints"/> |
|
620 |
</StatementProvider> |
|
621 |
<Parameters> |
|
622 |
<CodeExpression id="39"> |
|
623 |
<ExpressionOrigin> |
|
624 |
<Value type="int" value="2"/> |
|
625 |
</ExpressionOrigin> |
|
626 |
</CodeExpression> |
|
627 |
</Parameters> |
|
628 |
</CodeStatement> |
|
629 |
<CodeStatement> |
|
630 |
<CodeExpression id="38_gridBagConstraints"/> |
|
631 |
<StatementProvider type="CodeField"> |
|
632 |
<CodeField name="gridy" class="java.awt.GridBagConstraints"/> |
|
633 |
</StatementProvider> |
|
634 |
<Parameters> |
|
635 |
<CodeExpression id="40"> |
|
636 |
<ExpressionOrigin> |
|
637 |
<Value type="int" value="14"/> |
|
638 |
</ExpressionOrigin> |
|
639 |
</CodeExpression> |
|
640 |
</Parameters> |
|
641 |
</CodeStatement> |
|
642 |
<CodeStatement> |
|
643 |
<CodeExpression id="38_gridBagConstraints"/> |
|
644 |
<StatementProvider type="CodeField"> |
|
645 |
<CodeField name="gridwidth" class="java.awt.GridBagConstraints"/> |
|
646 |
</StatementProvider> |
|
647 |
<Parameters> |
|
648 |
<CodeExpression id="41"> |
|
649 |
<ExpressionOrigin> |
|
650 |
<Value type="int" value="3"/> |
|
651 |
</ExpressionOrigin> |
|
652 |
</CodeExpression> |
|
653 |
</Parameters> |
|
654 |
</CodeStatement> |
|
655 |
<CodeStatement> |
|
656 |
<CodeExpression id="38_gridBagConstraints"/> |
|
657 |
<StatementProvider type="CodeField"> |
|
658 |
<CodeField name="fill" class="java.awt.GridBagConstraints"/> |
|
659 |
</StatementProvider> |
|
660 |
<Parameters> |
|
661 |
<CodeExpression id="42"> |
|
662 |
<ExpressionOrigin> |
|
663 |
<Value type="int" value="2"/> |
|
664 |
</ExpressionOrigin> |
|
665 |
</CodeExpression> |
|
666 |
</Parameters> |
|
667 |
</CodeStatement> |
|
668 |
<CodeStatement> |
|
669 |
<CodeExpression id="4"/> |
|
670 |
<StatementProvider type="CodeMethod"> |
|
671 |
<CodeMethod name="add" class="java.awt.Container" parameterTypes="java.awt.Component, java.lang.Object"/> |
|
672 |
</StatementProvider> |
|
673 |
<Parameters> |
|
674 |
<CodeExpression id="43_txtPassword"> |
|
675 |
<CodeVariable name="txtPassword" type="8196" declaredType="javax.swing.JPasswordField"/> |
|
676 |
<ExpressionOrigin> |
|
677 |
<ExpressionProvider type="ComponentRef"> |
|
678 |
<ComponentRef name="txtPassword"/> |
|
679 |
</ExpressionProvider> |
|
680 |
</ExpressionOrigin> |
|
681 |
</CodeExpression> |
|
682 |
<CodeExpression id="38_gridBagConstraints"/> |
|
683 |
</Parameters> |
|
684 |
</CodeStatement> |
|
685 |
</LayoutCode> |
|
686 |
</Form> |
tags/org.gvsig.customize.app-1.2.12/org.gvsig.customize.app.mainplugin/src/main/java/org/gvsig/customize/CustomizeExtension.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.customize; |
|
7 |
|
|
8 |
import java.awt.event.ActionEvent; |
|
9 |
import java.awt.event.ActionListener; |
|
10 |
import javax.swing.JOptionPane; |
|
11 |
import org.gvsig.andami.PluginsLocator; |
|
12 |
import org.gvsig.andami.PluginsManager; |
|
13 |
import org.gvsig.andami.plugins.Extension; |
|
14 |
import org.gvsig.app.ApplicationLocator; |
|
15 |
import org.gvsig.app.ApplicationManager; |
|
16 |
import org.gvsig.customize.locale.JDynFormFieldLocaleFactory; |
|
17 |
import org.gvsig.tools.ToolsLocator; |
|
18 |
import org.gvsig.tools.dynform.spi.DynFormSPILocator; |
|
19 |
import org.gvsig.tools.dynform.spi.DynFormSPIManager; |
|
20 |
import org.gvsig.tools.packageutils.PackageManager; |
|
21 |
import org.gvsig.tools.swing.api.ToolsSwingLocator; |
|
22 |
import org.gvsig.tools.swing.api.windowmanager.WindowManager; |
|
23 |
import org.slf4j.Logger; |
|
24 |
import org.slf4j.LoggerFactory; |
|
25 |
|
|
26 |
/** |
|
27 |
* |
|
28 |
* @author usuario |
|
29 |
*/ |
|
30 |
public class CustomizeExtension extends Extension { |
|
31 |
|
|
32 |
private final static Logger logger = LoggerFactory.getLogger(CustomizeExtension.class); |
|
33 |
|
|
34 |
@Override |
|
35 |
public void initialize() { |
|
36 |
PluginsManager pluginsManager = PluginsLocator.getManager(); |
|
37 |
pluginsManager.addStartupTask("Customize", new CustomizeTask(), false, 2000); |
|
38 |
DynFormSPIManager manager = DynFormSPILocator.getDynFormSPIManager(); |
|
39 |
if( manager != null ) { |
|
40 |
manager.addServiceFactory(new JDynFormFieldLocaleFactory()); |
|
41 |
} |
|
42 |
} |
|
43 |
|
|
44 |
@Override |
|
45 |
public void execute(String actionCommand) { |
|
46 |
if ("tools-customize-create-distribution".equalsIgnoreCase(actionCommand)) { |
|
47 |
final DistributionParametersPanel panel = new DistributionParametersPanel(); |
|
48 |
panel.setCloseAndCreateVisible(true); |
|
49 |
panel.addActionListener(new ActionListener() { |
|
50 |
@Override |
|
51 |
public void actionPerformed(ActionEvent ae) { |
|
52 |
doCreateDistributionTask(panel); |
|
53 |
} |
|
54 |
}); |
|
55 |
WindowManager windowManager = ToolsSwingLocator.getWindowManager(); |
|
56 |
windowManager.showWindow(panel, "Create distribution", WindowManager.MODE.WINDOW); |
|
57 |
} else if ("tools-customize-edit-configuration".equalsIgnoreCase(actionCommand)) { |
|
58 |
Configuration config = new Configuration(); |
|
59 |
config.edit(); |
|
60 |
} |
|
61 |
} |
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
private void doCreateDistributionTask(final DistributionParametersPanel panel) { |
|
66 |
ApplicationManager application = ApplicationLocator.getManager(); |
|
67 |
|
|
68 |
if( panel.getOnlineInstaller()==null ) { |
|
69 |
application.messageDialog( |
|
70 |
"Shall specify the online installer to use", |
|
71 |
"Parameter required", |
|
72 |
JOptionPane.WARNING_MESSAGE); |
|
73 |
return; |
|
74 |
} |
|
75 |
if( panel.getWorkingFolder()==null ) { |
|
76 |
application.messageDialog( |
|
77 |
"Shall specify the working folder to use", |
|
78 |
"Parameter required", |
|
79 |
JOptionPane.WARNING_MESSAGE); |
|
80 |
return; |
|
81 |
} |
|
82 |
// if( panel.getPackageSet()==null ) { |
|
83 |
// application.messageDialog( |
|
84 |
// "Shall specify the package set to use", |
|
85 |
// "Parameter required", |
|
86 |
// JOptionPane.WARNING_MESSAGE); |
|
87 |
// return; |
|
88 |
// } |
|
89 |
if( panel.getDistributionId()==null ) { |
|
90 |
application.messageDialog( |
|
91 |
"Shall specify the identifier of the new distribution", |
|
92 |
"Parameter required", |
|
93 |
JOptionPane.WARNING_MESSAGE); |
|
94 |
return; |
|
95 |
} |
|
96 |
|
|
97 |
panel.setCloseAndCreateEnabled(false); |
|
98 |
|
|
99 |
final DistributionBuilder builder = new DistributionBuilder(panel); |
|
100 |
builder.setDistributionId(panel.getDistributionId()); |
|
101 |
builder.setOnlineInstaller(panel.getOnlineInstaller()); |
|
102 |
builder.setPackageSet(panel.getPackageSetFolder()); |
|
103 |
builder.setWorkingFolder(panel.getWorkingFolder()); |
|
104 |
builder.setIncludeCustomizePlugin(panel.getIncludeCustomizePlugin()); |
|
105 |
|
|
106 |
Thread task = new Thread(new Runnable() { |
|
107 |
@Override |
|
108 |
public void run() { |
|
109 |
try { |
|
110 |
builder.build(); |
|
111 |
} finally { |
|
112 |
panel.setCloseAndCreateEnabled(true); |
|
113 |
} |
|
114 |
} |
|
115 |
}); |
|
116 |
task.start(); |
|
117 |
} |
|
118 |
|
|
119 |
public boolean isEnabled() { |
|
120 |
return true; |
|
121 |
} |
|
122 |
|
|
123 |
public boolean isVisible() { |
|
124 |
return true; |
|
125 |
} |
|
126 |
} |
tags/org.gvsig.customize.app-1.2.12/org.gvsig.customize.app.mainplugin/src/main/java/org/gvsig/customize/locale/JDynFormFieldLocale.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.customize.locale; |
|
25 |
|
|
26 |
import java.util.Locale; |
|
27 |
import java.util.Set; |
|
28 |
import javax.swing.JComboBox; |
|
29 |
import org.apache.commons.lang3.StringUtils; |
|
30 |
import org.gvsig.andami.LocaleManager; |
|
31 |
import org.gvsig.andami.PluginsLocator; |
|
32 |
import org.gvsig.tools.dynform.spi.dynformfield.AbstractJDynFormFieldWithValueList; |
|
33 |
import org.gvsig.tools.dynobject.DynObject; |
|
34 |
import org.gvsig.tools.dynobject.DynObjectValueItem; |
|
35 |
import org.gvsig.tools.service.spi.ServiceManager; |
|
36 |
|
|
37 |
public class JDynFormFieldLocale extends AbstractJDynFormFieldWithValueList { |
|
38 |
|
|
39 |
public JDynFormFieldLocale(DynObject parameters, |
|
40 |
ServiceManager serviceManager) { |
|
41 |
super(parameters, serviceManager); |
|
42 |
} |
|
43 |
|
|
44 |
protected String getDefaultValue(){ |
|
45 |
return ""; |
|
46 |
} |
|
47 |
|
|
48 |
public Object getValue() { |
|
49 |
Object value = null; |
|
50 |
String s = this.getValueFromJComponent(); |
|
51 |
if( StringUtils.isBlank(s) ) { |
Also available in: Unified diff