svn-gvsig-desktop / tags / v1_9_Build_1227 / docs / Andami / TemplateLayout.html
History | View | Annotate | Download (71.8 KB)
1 | 1935 | vcaballero | <html xmlns:v="urn:schemas-microsoft-com:vml" |
---|---|---|---|
2 | xmlns:o="urn:schemas-microsoft-com:office:office" |
||
3 | xmlns:w="urn:schemas-microsoft-com:office:word" |
||
4 | xmlns:st1="urn:schemas-microsoft-com:office:smarttags" |
||
5 | xmlns="http://www.w3.org/TR/REC-html40"> |
||
6 | |||
7 | <head>
|
||
8 | <meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"> |
||
9 | <meta name=ProgId content=Word.Document> |
||
10 | <meta name=Generator content="Microsoft Word 11"> |
||
11 | <meta name=Originator content="Microsoft Word 11"> |
||
12 | <link rel=File-List href="../eclipse3/workspace/TemplateLayout/docs/TemplateLayout_archivos/filelist.xml"> |
||
13 | <link rel=Edit-Time-Data href="../eclipse3/workspace/TemplateLayout/docs/TemplateLayout_archivos/editdata.mso"> |
||
14 | <!--[if !mso]>
|
||
15 | <style>
|
||
16 | v\:* {behavior:url(#default#VML);}
|
||
17 | o\:* {behavior:url(#default#VML);}
|
||
18 | w\:* {behavior:url(#default#VML);}
|
||
19 | .shape {behavior:url(#default#VML);}
|
||
20 | </style>
|
||
21 | <![endif]-->
|
||
22 | <o:SmartTagType
|
||
23 | namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/> |
||
24 | <!--[if gte mso 9]><xml>
|
||
25 | <o:DocumentProperties>
|
||
26 | <o:Author>VCN</o:Author>
|
||
27 | <o:LastAuthor>VCN</o:LastAuthor>
|
||
28 | <o:Revision>5</o:Revision>
|
||
29 | <o:TotalTime>172</o:TotalTime>
|
||
30 | <o:Created>2005-03-07T16:46:00Z</o:Created>
|
||
31 | <o:LastSaved>2005-03-08T08:50:00Z</o:LastSaved>
|
||
32 | <o:Pages>1</o:Pages>
|
||
33 | <o:Words>1576</o:Words>
|
||
34 | <o:Characters>8669</o:Characters>
|
||
35 | <o:Company>IVER</o:Company>
|
||
36 | <o:Lines>72</o:Lines>
|
||
37 | <o:Paragraphs>20</o:Paragraphs>
|
||
38 | <o:CharactersWithSpaces>10225</o:CharactersWithSpaces>
|
||
39 | <o:Version>11.5606</o:Version>
|
||
40 | </o:DocumentProperties>
|
||
41 | </xml><![endif]-->
|
||
42 | <!--[if gte mso 9]><xml>
|
||
43 | <w:WordDocument>
|
||
44 | <w:SpellingState>Clean</w:SpellingState>
|
||
45 | <w:GrammarState>Clean</w:GrammarState>
|
||
46 | <w:HyphenationZone>21</w:HyphenationZone>
|
||
47 | <w:PunctuationKerning/>
|
||
48 | <w:ValidateAgainstSchemas/>
|
||
49 | <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
|
||
50 | <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
|
||
51 | <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
|
||
52 | <w:Compatibility>
|
||
53 | <w:BreakWrappedTables/>
|
||
54 | <w:SnapToGridInCell/>
|
||
55 | <w:WrapTextWithPunct/>
|
||
56 | <w:UseAsianBreakRules/>
|
||
57 | <w:DontGrowAutofit/>
|
||
58 | </w:Compatibility>
|
||
59 | <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
|
||
60 | </w:WordDocument>
|
||
61 | </xml><![endif]-->
|
||
62 | <!--[if gte mso 9]><xml>
|
||
63 | <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
|
||
64 | </w:LatentStyles>
|
||
65 | </xml><![endif]-->
|
||
66 | <!--[if !mso]><object
|
||
67 | classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui></object>
|
||
68 | <style>
|
||
69 | st1\:*{behavior:url(#ieooui) }
|
||
70 | </style>
|
||
71 | <![endif]-->
|
||
72 | <style>
|
||
73 | <!--
|
||
74 | /* Font Definitions */
|
||
75 | @font-face
|
||
76 | {font-family:Verdana;
|
||
77 | panose-1:2 11 6 4 3 5 4 4 2 4;
|
||
78 | mso-font-charset:0;
|
||
79 | mso-generic-font-family:swiss;
|
||
80 | mso-font-pitch:variable;
|
||
81 | mso-font-signature:536871559 0 0 0 415 0;}
|
||
82 | /* Style Definitions */
|
||
83 | p.MsoNormal, li.MsoNormal, div.MsoNormal
|
||
84 | {mso-style-parent:"";
|
||
85 | margin:0cm;
|
||
86 | margin-bottom:.0001pt;
|
||
87 | text-align:left;
|
||
88 | mso-pagination:widow-orphan;
|
||
89 | font-size:12.0pt;
|
||
90 | font-family:"Times New Roman";
|
||
91 | mso-fareast-font-family:"Times New Roman";}
|
||
92 | h1
|
||
93 | {mso-style-next:Normal;
|
||
94 | margin-top:12.0pt;
|
||
95 | margin-right:0cm;
|
||
96 | margin-bottom:3.0pt;
|
||
97 | margin-left:0cm;
|
||
98 | text-align:left;
|
||
99 | mso-pagination:widow-orphan;
|
||
100 | page-break-after:avoid;
|
||
101 | mso-outline-level:1;
|
||
102 | mso-font-kerning:16.0pt;
|
||
103 | font-weight:bold;}
|
||
104 | h2
|
||
105 | {mso-style-next:Normal;
|
||
106 | margin-top:12.0pt;
|
||
107 | margin-right:0cm;
|
||
108 | margin-bottom:3.0pt;
|
||
109 | margin-left:0cm;
|
||
110 | text-align:left;
|
||
111 | mso-pagination:widow-orphan;
|
||
112 | page-break-after:avoid;
|
||
113 | mso-outline-level:2;
|
||
114 | font-weight:bold;
|
||
115 | font-style:italic;}
|
||
116 | h3
|
||
117 | {mso-style-next:Normal;
|
||
118 | margin-top:12.0pt;
|
||
119 | margin-right:0cm;
|
||
120 | margin-bottom:3.0pt;
|
||
121 | margin-left:0cm;
|
||
122 | text-align:left;
|
||
123 | mso-pagination:widow-orphan;
|
||
124 | page-break-after:avoid;
|
||
125 | mso-outline-level:3;
|
||
126 | font-weight:bold;}
|
||
127 | a:link, span.MsoHyperlink
|
||
128 | {mso-ansi-font-size:9.0pt;
|
||
129 | mso-bidi-font-size:9.0pt;
|
||
130 | font-family:Verdana;
|
||
131 | mso-ascii-font-family:Verdana;
|
||
132 | mso-hansi-font-family:Verdana;
|
||
133 | color:#E86D26;
|
||
134 | font-style:normal;
|
||
135 | text-decoration:underline;
|
||
136 | text-underline:single;}
|
||
137 | a:visited, span.MsoHyperlinkFollowed
|
||
138 | {mso-ansi-font-size:9.0pt;
|
||
139 | mso-bidi-font-size:9.0pt;
|
||
140 | font-family:Verdana;
|
||
141 | mso-ascii-font-family:Verdana;
|
||
142 | mso-hansi-font-family:Verdana;
|
||
143 | color:#AD4D12;
|
||
144 | font-style:normal;
|
||
145 | text-decoration:underline;
|
||
146 | text-underline:single;}
|
||
147 | p
|
||
148 | {mso-margin-top-alt:auto;
|
||
149 | margin-right:0cm;
|
||
150 | mso-margin-bottom-alt:auto;
|
||
151 | margin-left:0cm;
|
||
152 | mso-pagination:widow-orphan;
|
||
153 | font-size:9.0pt;
|
||
154 | mso-fareast-font-family:"Times New Roman";
|
||
155 | mso-bidi-font-family:"Times New Roman";}
|
||
156 | p.pequenya, li.pequenya, div.pequenya
|
||
157 | {mso-style-name:pequenya;
|
||
158 | mso-margin-top-alt:auto;
|
||
159 | margin-right:0cm;
|
||
160 | mso-margin-bottom-alt:auto;
|
||
161 | margin-left:0cm;
|
||
162 | mso-pagination:widow-orphan;
|
||
163 | font-size:8.0pt;
|
||
164 | mso-fareast-font-family:"Times New Roman";
|
||
165 | mso-bidi-font-family:"Times New Roman";}
|
||
166 | p.nivel3, li.nivel3, div.nivel3
|
||
167 | {mso-style-name:nivel3;
|
||
168 | mso-margin-top-alt:auto;
|
||
169 | margin-right:0cm;
|
||
170 | mso-margin-bottom-alt:auto;
|
||
171 | margin-left:0cm;
|
||
172 | mso-pagination:widow-orphan;
|
||
173 | background:#999999;
|
||
174 | font-size:9.0pt;
|
||
175 | mso-fareast-font-family:"Times New Roman";
|
||
176 | mso-bidi-font-family:"Times New Roman";
|
||
177 | font-weight:bold;}
|
||
178 | p.nivel2, li.nivel2, div.nivel2
|
||
179 | {mso-style-name:nivel2;
|
||
180 | mso-margin-top-alt:auto;
|
||
181 | margin-right:0cm;
|
||
182 | mso-margin-bottom-alt:auto;
|
||
183 | margin-left:0cm;
|
||
184 | mso-pagination:widow-orphan;
|
||
185 | background:#E86D26;
|
||
186 | font-size:9.0pt;
|
||
187 | mso-fareast-font-family:"Times New Roman";
|
||
188 | mso-bidi-font-family:"Times New Roman";
|
||
189 | font-weight:bold;}
|
||
190 | p.pequenyacursiva, li.pequenyacursiva, div.pequenyacursiva
|
||
191 | {mso-style-name:pequenyacursiva;
|
||
192 | mso-margin-top-alt:auto;
|
||
193 | margin-right:0cm;
|
||
194 | mso-margin-bottom-alt:auto;
|
||
195 | margin-left:0cm;
|
||
196 | mso-pagination:widow-orphan;
|
||
197 | font-size:8.0pt;
|
||
198 | mso-fareast-font-family:"Times New Roman";
|
||
199 | mso-bidi-font-family:"Times New Roman";
|
||
200 | font-style:italic;}
|
||
201 | p.justificado, li.justificado, div.justificado
|
||
202 | {mso-style-name:justificado;
|
||
203 | mso-margin-top-alt:auto;
|
||
204 | margin-right:0cm;
|
||
205 | mso-margin-bottom-alt:auto;
|
||
206 | margin-left:0cm;
|
||
207 | mso-pagination:widow-orphan;
|
||
208 | font-size:8.0pt;
|
||
209 | mso-fareast-font-family:"Times New Roman";
|
||
210 | mso-bidi-font-family:"Times New Roman";}
|
||
211 | p.muypequenyacursiva, li.muypequenyacursiva, div.muypequenyacursiva
|
||
212 | {mso-style-name:muypequenyacursiva;
|
||
213 | mso-margin-top-alt:auto;
|
||
214 | margin-right:0cm;
|
||
215 | mso-margin-bottom-alt:auto;
|
||
216 | margin-left:0cm;
|
||
217 | mso-pagination:widow-orphan;
|
||
218 | font-size:7.0pt;
|
||
219 | mso-fareast-font-family:"Times New Roman";
|
||
220 | mso-bidi-font-family:"Times New Roman";
|
||
221 | font-style:italic;}
|
||
222 | span.SpellE
|
||
223 | {mso-style-name:"";
|
||
224 | mso-spl-e:yes;}
|
||
225 | span.GramE
|
||
226 | {mso-style-name:"";
|
||
227 | mso-gram-e:yes;}
|
||
228 | @page Section1
|
||
229 | {size:595.3pt 841.9pt;
|
||
230 | margin:70.85pt 3.0cm 70.85pt 3.0cm;
|
||
231 | mso-header-margin:35.4pt;
|
||
232 | mso-footer-margin:35.4pt;
|
||
233 | mso-paper-source:0;}
|
||
234 | div.Section1
|
||
235 | {page:Section1;}
|
||
236 | .style3 {font-style: italic}
|
||
237 | -->
|
||
238 | </style>
|
||
239 | <!--[if gte mso 10]>
|
||
240 | <style>
|
||
241 | /* Style Definitions */
|
||
242 | table.MsoNormalTable
|
||
243 | {mso-style-name:"Tabla normal";
|
||
244 | mso-tstyle-rowband-size:0;
|
||
245 | mso-tstyle-colband-size:0;
|
||
246 | mso-style-noshow:yes;
|
||
247 | mso-style-parent:"";
|
||
248 | mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
|
||
249 | mso-para-margin:0cm;
|
||
250 | mso-para-margin-bottom:.0001pt;
|
||
251 | mso-pagination:widow-orphan;
|
||
252 | font-size:10.0pt;
|
||
253 | font-family:"Times New Roman";
|
||
254 | color:windowtext;
|
||
255 | mso-ansi-language:#0400;
|
||
256 | mso-fareast-language:#0400;
|
||
257 | mso-bidi-language:#0400;}
|
||
258 | </style>
|
||
259 | <![endif]--><!--[if gte mso 9]><xml> |
||
260 | <o:shapedefaults v:ext="edit" spidmax="2050"/>
|
||
261 | </xml><![endif]--><!--[if gte mso 9]><xml> |
||
262 | <o:shapelayout v:ext="edit">
|
||
263 | <o:idmap v:ext="edit" data="1"/>
|
||
264 | </o:shapelayout></xml><![endif]-->
|
||
265 | <title>Extensión para crear fichas sobre el Layout</title> |
||
266 | <link href="../style.css" rel="stylesheet" type="text/css"> |
||
267 | </head>
|
||
268 | |||
269 | <body lang=ES link="#E86D26" vlink="#AD4D12" style='tab-interval:35.4pt'> |
||
270 | |||
271 | <div>
|
||
272 | |||
273 | <p> </p> |
||
274 | |||
275 | <table width="90%" border="0"> |
||
276 | <tr>
|
||
277 | <td class="Nivel2"><a href="#Introduccion"><strong><font color="#FFFFFF">Introducción</font></strong></a></td> |
||
278 | </tr>
|
||
279 | <tr>
|
||
280 | <td class="Nivel2"><a href="#arbol"><font color="#FFFFFF">ÁRBOL DEL TEMPLATELAYOUT </font></a></td> |
||
281 | </tr>
|
||
282 | <tr>
|
||
283 | <td class="Nivel2"><a href="#ficheros"><strong><font color="#FFFFFF">FICHEROS Y CLASES</font></strong></a></td> |
||
284 | </tr>
|
||
285 | </table>
|
||
286 | <table width="90%" border="0"> |
||
287 | <tr>
|
||
288 | <td><strong> <a |
||
289 | href="#templateextension">TemplateExtension.java</a></strong></td> |
||
290 | </tr>
|
||
291 | </table>
|
||
292 | <table width="90%" border="0"> |
||
293 | <tr>
|
||
294 | <td> <a href="#metodosinterfaz">Métodos de la interfaz </a></td> |
||
295 | </tr>
|
||
296 | </table>
|
||
297 | <table width="90%" border="0"> |
||
298 | <tr>
|
||
299 | <td> <em> </em><a href="#inicializar"><em>inicializar()</em></a></td> |
||
300 | </tr>
|
||
301 | </table>
|
||
302 | <table width="90%" border="0"> |
||
303 | <tr>
|
||
304 | <td> <a href="#execute"><em>execute(String ActionCommand)</em></a></td> |
||
305 | </tr>
|
||
306 | </table>
|
||
307 | <table width="90%" border="0"> |
||
308 | <tr>
|
||
309 | <td> <a href="#isenabled"><em>isEnabled()</em></a></td> |
||
310 | </tr>
|
||
311 | </table>
|
||
312 | <table width="90%" border="0"> |
||
313 | <tr>
|
||
314 | <td> <a href="#isvisible"><em>isVisible()</em></a></td> |
||
315 | </tr>
|
||
316 | </table>
|
||
317 | <table width="90%" border="0"> |
||
318 | <tr>
|
||
319 | <td> <a href="#metodospropios">Métodos propios de la extensión TemplateLayout </a></td> |
||
320 | </tr>
|
||
321 | </table>
|
||
322 | <table width="90%" border="0"> |
||
323 | <tr>
|
||
324 | <td> <a href="#initfframetext"><em>initFFrameText()</em></a></td> |
||
325 | </tr>
|
||
326 | </table>
|
||
327 | <table width="90%" border="0"> |
||
328 | <tr>
|
||
329 | <td> <a href="#inittemplates"><em><span class=SpellE><span class=GramE>initTemplates</span></span><span |
||
330 | class=GramE>(</span><span class=SpellE>FFrameView</span> <span class=SpellE>fframeview</span>)</em></a></td> |
||
331 | </tr>
|
||
332 | </table>
|
||
333 | <table width="90%" border="0"> |
||
334 | <tr>
|
||
335 | <td> <a href="#initfframetext"><em><span class=SpellE><span class=GramE>initFFrameText(FFrameText fframetext)<o:p></o:p></span></span></em></a></td> |
||
336 | </tr>
|
||
337 | </table>
|
||
338 | <table width="90%" border="0"> |
||
339 | <tr>
|
||
340 | <td> <a href="#endfframetext"><em><span class=SpellE><span class=GramE>endFFrameText()<o:p></o:p></span></span></em></a></td> |
||
341 | </tr>
|
||
342 | </table>
|
||
343 | <table width="90%" border="0"> |
||
344 | <tr>
|
||
345 | <td> <a href="#askall"><em><span class=SpellE><span class=GramE>askAll()</span></span></em></a></td> |
||
346 | </tr>
|
||
347 | </table>
|
||
348 | <table width="90%" border="0"> |
||
349 | <tr>
|
||
350 | <td> <a href="#askone"><em><span class=SpellE><span class=GramE>askOne()</span></span></em></a></td> |
||
351 | </tr>
|
||
352 | </table>
|
||
353 | <table width="90%" border="0"> |
||
354 | <tr>
|
||
355 | <td> <a href="#askonejava"><strong>askOne.java</strong></a></td> |
||
356 | </tr>
|
||
357 | </table>
|
||
358 | <table width="90%" border="0"> |
||
359 | <tr>
|
||
360 | <td> <a href="#askalljava"><span class=SpellE><strong>askAll.java</strong></span></a></td> |
||
361 | </tr>
|
||
362 | </table>
|
||
363 | <table width="90%" border="0"> |
||
364 | <tr>
|
||
365 | <td> <a href="#iverutiles"><strong><span class=SpellE>Iver</span>-<span class=SpellE>utilies.jar</span><span |
||
366 | style='mso-tab-count:1'> </span></strong></a></td> |
||
367 | </tr>
|
||
368 | </table>
|
||
369 | <table width="90%" border="0"> |
||
370 | <tr>
|
||
371 | <td> <a href="#gdbms"><span class=SpellE><strong>gdbms.jar</strong></span></a></td> |
||
372 | </tr>
|
||
373 | </table>
|
||
374 | <table width="90%" border="0"> |
||
375 | <tr>
|
||
376 | <td> <a href="#config"><span class=SpellE><strong>config.xml</strong></span></a></td> |
||
377 | </tr>
|
||
378 | </table>
|
||
379 | <table width="90%" border="0"> |
||
380 | <tr>
|
||
381 | <td> <a href="#images"><span class=SpellE><strong>Directorio images</strong></span></a></td> |
||
382 | </tr>
|
||
383 | </table>
|
||
384 | <table width="90%" border="0"> |
||
385 | <tr>
|
||
386 | <td> <a href="#lib"><span class=SpellE><strong>Directorio lib</strong></span></a></td> |
||
387 | </tr>
|
||
388 | </table>
|
||
389 | <table width="90%" border="0"> |
||
390 | <tr>
|
||
391 | <td> <a href="#build"><span class=SpellE><strong>build.xml</strong></span></a></td> |
||
392 | </tr>
|
||
393 | </table>
|
||
394 | <table width="90%" border="0"> |
||
395 | <tr>
|
||
396 | <td> <a href="#properties"><span class=SpellE><strong>Ficheros *.properties</strong></span></a></td> |
||
397 | </tr>
|
||
398 | </table>
|
||
399 | <p><strong><font size="+1"><a name="introduccion"></a>Introducción</font></strong></p> |
||
400 | <p><span class=SpellE>TemplateLayout</span> es un <span class=SpellE>plugin</span> |
||
401 | con una ?nica extensi?n (<span class=SpellE>TemplateExtension.java</span>) y es |
||
402 | capaz de crear fichas personalizadas a partir de un <span class=SpellE>tag</span> |
||
403 | y una selecci?n en la vista con capas<span style='mso-spacerun:yes'>? </span>de |
||
404 | formato <span class=SpellE>shape</span> accediendo a sus respectivos fichero dbf y recuperar sus atributos.</p> |
||
405 | |||
406 | <p>El <span class=SpellE>tag</span>, se puede introducir en un <span |
||
407 | class=SpellE>FFrame</span> (Forma gr?fica que se puede a?adir en el <span |
||
408 | class=GramE>layout )</span> ,de tipo texto (<span class=SpellE>FFrameText</span>).</p> |
||
409 | |||
410 | <p>Por defecto, la extensi?n no ofrece la posibilidad de a?adir un <span |
||
411 | class=SpellE>tag</span> en cualquier elemento del layout. Para poder a?adir un <span |
||
412 | class=SpellE>tag</span> lo que se debe hacer primero es activar desde el |
||
413 | di?logo de configuraci?n de ANDAMI la extensi?n: <span class=SpellE>com.iver.cit.gvsig.TagExtension</span>, |
||
414 | y cerrar la aplicaci?n para volverla a ejecutar y que estos cambios surtan efecto en el programa y de esta forma podamos establecer a los FFrameText los tag que tendrán que coincidir con el nombre del campo del valor que queremos mostrar.</p> |
||
415 | |||
416 | <p>Despu?s de activar la extensi?n <span class=SpellE>TagExtension</span> |
||
417 | mencionada, ya podemos a?adir un <span class=SpellE>tag</span> y utilizarlo |
||
418 | desde cualquier otra extensi?n.</p>
|
||
419 | |||
420 | <p>El c?digo fuente de este <span class=SpellE>plugin</span>, est? comentado |
||
421 | casi l?nea a l?nea.</p>
|
||
422 | <p><a href="../Source/TemplateLayout.zip">Descarga del plugin: TemplateLayout</a></p> |
||
423 | <p><strong><font size="+1"><a name="arbol"></a>Árbol del TemplateLayout</font></strong></p> |
||
424 | <p>Clases y ficheros del plugin en forma de árbol. Esta imagen es una captura de pantalla del proyecto TemplateLayout en <a href="http://www.eclipse.org">Eclipse</a>(IDE utilizada por el equipo de desarrollo de gvSIG). </p> |
||
425 | <p><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" |
||
426 | o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f"
|
||
427 | stroked="f">
|
||
428 | <v:stroke joinstyle="miter"/>
|
||
429 | <v:formulas>
|
||
430 | <v:f eqn="if lineDrawn pixelLineWidth 0"/>
|
||
431 | <v:f eqn="sum @0 1 0"/>
|
||
432 | <v:f eqn="sum 0 0 @1"/>
|
||
433 | <v:f eqn="prod @2 1 2"/>
|
||
434 | <v:f eqn="prod @3 21600 pixelWidth"/>
|
||
435 | <v:f eqn="prod @3 21600 pixelHeight"/>
|
||
436 | <v:f eqn="sum @0 0 1"/>
|
||
437 | <v:f eqn="prod @6 1 2"/>
|
||
438 | <v:f eqn="prod @7 21600 pixelWidth"/>
|
||
439 | <v:f eqn="sum @8 21600 0"/>
|
||
440 | <v:f eqn="prod @7 21600 pixelHeight"/>
|
||
441 | <v:f eqn="sum @10 21600 0"/>
|
||
442 | </v:formulas>
|
||
443 | <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
|
||
444 | <o:lock v:ext="edit" aspectratio="t"/>
|
||
445 | </v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:250.5pt;
|
||
446 | height:277.5pt'>
|
||
447 | <v:imagedata src="Images/image001.png" o:title="templateLayout"/>
|
||
448 | </v:shape><![endif]--><![if !vml]><img |
||
449 | src="Images/image002.jpg" alt="" v:shapes="_x0000_i1025"><![endif]></p> |
||
450 | <p><strong><font size="+1"><a name="ficheros"></a>Ficheros y clases</font></strong></p> |
||
451 | <p><span class=SpellE><strong><font size="+1"><a name="templateextension"></a>TemplateExtension.java</font></strong></span></p> |
||
452 | <p>Esta clase es el centro de la extensi?n, es en esta clase donde se
|
||
453 | implementa la interfaz <span class=SpellE>com.iver.andami.plugins.Extension</span>.</p> |
||
454 | |||
455 | <p>Por un lado tenemos los m?todos que aporta la interfaz y por otro, los que
|
||
456 | necesitamos para la tarea que debe hacer nuestra extensi?n en particular.</p>
|
||
457 | <strong><a name="metodosinterfaz"></a><span class="style3"><font size="+1">Métodos de la interfaz</font></span></strong> |
||
458 | <p>Métodos que aporta la interfaz Extensión y tienen que implementar todas las extensiones de Andami. </p> |
||
459 | <p> </p> |
||
460 | <a name="inicilaizar"></a><span class="Nivel3">Inicializar()</span> |
||
461 | <p>En nuestro caso no hemos implementado nada en este m?todo que es ejecutado
|
||
462 | al inicializar la extensi?n.</p>
|
||
463 | <span class=SpellE><span class=GramE><a name="execute"></a></span></span><span class="Nivel3">Execute(String actionCommand) </span> |
||
464 | <p>M?todo invocado para realizar la acci?n que se quiera, cuando se selecciona
|
||
465 | la extensi?n. En nuestro caso, obtenemos el Layout que contiene la vista |
||
466 | actualmente seleccionada en ANDAMI.<o:p></o:p></p> |
||
467 | |||
468 | <p><span style='mso-tab-count:2'>??????????????????????? </span><span |
||
469 | class=GramE><b style='mso-bidi-font-weight:normal'><span lang=EN-GB |
||
470 | style='mso-ansi-language:EN-GB'>layout</span></b></span><b style='mso-bidi-font-weight: |
||
471 | normal'><span lang=EN-GB style='mso-ansi-language:EN-GB'> = (Layout) <span |
||
472 | class=SpellE>PluginServices.getMDIManager</span>().<span class=SpellE>getActiveView</span>();<o:p></o:p></span></b></p> |
||
473 | |||
474 | <p><o:p> </o:p></p> |
||
475 | |||
476 | <p>Obtengo todos los <span class=SpellE>FFrames</span> que contiene el Layout:<o:p></o:p></p> |
||
477 | |||
478 | <p><span style='mso-tab-count:2'>??????????????????????? </span><span |
||
479 | class=SpellE><span class=GramE><b style='mso-bidi-font-weight:normal'>fframes</b></span></span><b |
||
480 | style='mso-bidi-font-weight:normal'> = <span class=SpellE>layout.getFFrames</span>();<o:p></o:p></b></p> |
||
481 | |||
482 | <p><o:p> </o:p></p> |
||
483 | |||
484 | <p>Recorro todos los <span class=SpellE>FFrames</span> comprobando si es una <span |
||
485 | class=SpellE>instacia</span> de <span class=SpellE>FFrameView</span> para |
||
486 | ejecutar <span class=SpellE>initTemplates</span> en el caso de que as? sea.<o:p></o:p></p> |
||
487 | |||
488 | <p><span style='mso-tab-count:2'>??????????????????????? </span><span |
||
489 | class=GramE><b style='mso-bidi-font-weight:normal'><span lang=EN-GB |
||
490 | style='mso-ansi-language:EN-GB'>for</span></b></span><b style='mso-bidi-font-weight: |
||
491 | normal'><span lang=EN-GB style='mso-ansi-language:EN-GB'> (<span class=SpellE>int</span> |
||
492 | <span class=SpellE>i</span> = 0; <span class=SpellE>i</span> < <span |
||
493 | class=SpellE>fframes.size</span>(); <span class=SpellE>i</span>++) {<o:p></o:p></span></b></p> |
||
494 | |||
495 | <p><b style='mso-bidi-font-weight:normal'><span lang=EN-GB style='mso-ansi-language: |
||
496 | EN-GB'><span style='mso-tab-count:3'>?????????????????????????????????? </span><span |
||
497 | class=GramE>if</span> (<span class=SpellE>fframes.get</span>(<span |
||
498 | class=SpellE>i</span>) <span class=SpellE>instanceof</span> <span class=SpellE>FFrameView</span>) |
||
499 | {<o:p></o:p></span></b></p> |
||
500 | |||
501 | <p><b style='mso-bidi-font-weight:normal'><span lang=EN-GB style='mso-ansi-language: |
||
502 | EN-GB'><span style='mso-tab-count:4'>?????????????????????????????????????????????? </span></span><span |
||
503 | class=SpellE><span class=GramE>try</span></span> {<o:p></o:p></b></p> |
||
504 | |||
505 | <p>Inicia la creaci?n de todas las platillas posibles a partir de <span |
||
506 | class=SpellE>fframeview</span>.<o:p></o:p></p> |
||
507 | |||
508 | <p><span style='mso-tab-count:4'>?????????????????????????????????????????????? </span><b |
||
509 | style='mso-bidi-font-weight:normal'><span style='mso-tab-count:1'>??????????? </span></b><span |
||
510 | class=SpellE><span class=GramE><b style='mso-bidi-font-weight:normal'><span |
||
511 | lang=EN-GB style='mso-ansi-language:EN-GB'>initTemplates</span></b></span></span><span |
||
512 | class=GramE><b style='mso-bidi-font-weight:normal'><span lang=EN-GB |
||
513 | style='mso-ansi-language:EN-GB'>(</span></b></span><b style='mso-bidi-font-weight: |
||
514 | normal'><span lang=EN-GB style='mso-ansi-language:EN-GB'>(<span class=SpellE>FFrameView</span>) |
||
515 | <span class=SpellE>fframes.get</span>(<span class=SpellE>i</span>));<o:p></o:p></span></b></p> |
||
516 | |||
517 | <p><span style='mso-tab-count: |
||
518 | 4'>?????????????????????????????????????????????? </span><b style='mso-bidi-font-weight: |
||
519 | normal'>} catch (<span class=SpellE>DriverException</span> e) {<o:p></o:p></b></p> |
||
520 | |||
521 | <p><b style='mso-bidi-font-weight:normal'><span lang=EN-GB style='mso-ansi-language: |
||
522 | EN-GB'><span style='mso-tab-count:5'>?????????????????????????????????????????????????????????? </span><span |
||
523 | class=SpellE><span class=GramE>e.printStackTrace</span></span><span |
||
524 | class=GramE>(</span>);<o:p></o:p></span></b></p> |
||
525 | |||
526 | <p><b style='mso-bidi-font-weight:normal'><span lang=EN-GB style='mso-ansi-language: |
||
527 | EN-GB'><span style='mso-tab-count:4'>?????????????????????????????????????????????? </span>} |
||
528 | catch (<span class=SpellE>com.hardcode.gdbms.engine.data.DriverException</span> |
||
529 | e) {<o:p></o:p></span></b></p> |
||
530 | |||
531 | <p><b style='mso-bidi-font-weight:normal'><span lang=EN-GB style='mso-ansi-language: |
||
532 | EN-GB'><span style='mso-tab-count:5'>?????????????????????????????????????????????????????????? </span><span |
||
533 | class=SpellE><span class=GramE>e.printStackTrace</span></span><span |
||
534 | class=GramE>(</span>);<o:p></o:p></span></b></p> |
||
535 | |||
536 | <p><b style='mso-bidi-font-weight:normal'><span lang=EN-GB style='mso-ansi-language: |
||
537 | EN-GB'><span style='mso-tab-count:4'>?????????????????????????????????????????????? </span>} |
||
538 | catch (<span class=SpellE>DriverIOException</span> e) {<o:p></o:p></span></b></p> |
||
539 | |||
540 | <p><b style='mso-bidi-font-weight:normal'><span lang=EN-GB style='mso-ansi-language: |
||
541 | EN-GB'><span style='mso-tab-count:5'>?????????????????????????????????????????????????????????? </span></span><span |
||
542 | class=SpellE><span class=GramE>e.printStackTrace</span></span><span |
||
543 | class=GramE>(</span>);<o:p></o:p></b></p> |
||
544 | |||
545 | <p><b style='mso-bidi-font-weight:normal'><span style='mso-tab-count:4'>?????????????????????????????????????????????? </span>}<o:p></o:p></b></p> |
||
546 | |||
547 | <p><span style='mso-tab-count:3'>?????????????????????????????????? </span><b |
||
548 | style='mso-bidi-font-weight:normal'>}<o:p></o:p></b></p> |
||
549 | |||
550 | <p><b style='mso-bidi-font-weight:normal'><span style='mso-tab-count:2'>??????????????????????? </span>}<o:p></o:p></b></p> |
||
551 | |||
552 | <h3><span class=SpellE><span class=GramE><a name="isenabled"></a></span></span><span class="Nivel3">isEnabled()</span></h3> |
||
553 | |||
554 | <p>Si este m?todo devuelve <span class=SpellE>true</span>, indicar? que el bot?n |
||
555 | <span class=GramE>o</span> opci?n de men? que est? vinculada a esta extensi?n |
||
556 | estar? habilitada. En <span class=SpellE>TemplateLayout</span> devolvemos un <span |
||
557 | class=SpellE>true</span> fijo y as? siempre esta en modo habilitado, pero es |
||
558 | posible que en cualquier otra extensi?n se quiera crear una condici?n para |
||
559 | habilitarlo.</p>
|
||
560 | |||
561 | <p class=MsoNormal><o:p> </o:p></p> |
||
562 | |||
563 | <h3><span class=SpellE><span class=GramE><a name="isvisible"></a></span></span><span class="Nivel3">isVisible()</span></h3> |
||
564 | |||
565 | <p class=MsoNormal><o:p> </o:p></p> |
||
566 | |||
567 | <p>Si devuelve <span class=SpellE>true</span>, el bot?n <span class=GramE>o</span> |
||
568 | opci?n de men?, estar? visible y si por el contrario devuelve <span
|
||
569 | class=SpellE>false</span>, se ocultar?.</p> |
||
570 | |||
571 | <p>En est? extensi?n si que hemos creado una condici?n en este m?todo para
|
||
572 | ponerlo en estado visible cuando queramos.</p>
|
||
573 | |||
574 | <p>Obtenemos la vista activada actualmente:<o:p></o:p></p> |
||
575 | |||
576 | <p><span style='mso-tab-count:2'>??????????????????????? </span><b><span |
||
577 | lang=EN-GB style='mso-ansi-language:EN-GB'>View f = <span class=SpellE><span |
||
578 | class=GramE>PluginServices.getMDIManager</span></span><span class=GramE>(</span>).<span |
||
579 | class=SpellE>getActiveView</span>();<o:p></o:p></span></b></p> |
||
580 | |||
581 | <p><o:p> </o:p></p> |
||
582 | |||
583 | <p>Se comprueba si la vista es <span class=SpellE>null</span> y se devuelve un <span |
||
584 | class=SpellE>false</span> para no hacer visible la extensi?n.<o:p></o:p></p> |
||
585 | |||
586 | <p><span style='mso-tab-count:2'>??????????????????????? </span><span |
||
587 | class=GramE><b><span lang=EN-GB style='mso-ansi-language:EN-GB'>if</span></b></span><b><span |
||
588 | lang=EN-GB style='mso-ansi-language:EN-GB'> (f == null) {<o:p></o:p></span></b></p> |
||
589 | |||
590 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
591 | 3'>?????????????????????????????????? </span><span class=GramE>return</span> |
||
592 | false;<o:p></o:p></span></b></p> |
||
593 | |||
594 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
595 | 2'>??????????????????????? </span></span>}<o:p></o:p></b></p> |
||
596 | |||
597 | <p><o:p> </o:p></p> |
||
598 | |||
599 | <p>Se comprueba si la vista activa contiene un Layout y si es as? se devuelve <span |
||
600 | class=SpellE>true</span> como visible o <span class=SpellE>false</span> si no |
||
601 | contiene un Layout.<o:p></o:p></p> |
||
602 | |||
603 | <p><span style='mso-tab-count:2'>??????????????????????? </span><span |
||
604 | class=GramE><b><span lang=EN-GB style='mso-ansi-language:EN-GB'>if</span></b></span><b><span |
||
605 | lang=EN-GB style='mso-ansi-language:EN-GB'> (<span class=SpellE>f.getClass</span>() |
||
606 | == <span class=SpellE>Layout.class</span>) {<o:p></o:p></span></b></p> |
||
607 | |||
608 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
609 | 3'>?????????????????????????????????? </span><span class=GramE>return</span> |
||
610 | true;<o:p></o:p></span></b></p> |
||
611 | |||
612 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
613 | 2'>??????????????????????? </span>} else {<o:p></o:p></span></b></p> |
||
614 | |||
615 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
616 | 3'>?????????????????????????????????? </span><span class=GramE>return</span> |
||
617 | false;<o:p></o:p></span></b></p> |
||
618 | |||
619 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
620 | 2'>??????????????????????? </span></span>}<o:p></o:p></b></p> |
||
621 | |||
622 | <p class=MsoNormal><o:p> </o:p></p> |
||
623 | |||
624 | <h2><a name="metodospropios"></a><font size="+1">Métodos propios de la extensión TemplateLayout</font></h2> |
||
625 | <p> </p> |
||
626 | <p>Métodos propios de la extensión en la que nos encontramos y que no tienen nada que ver con los métodos proporcionados por la interfaz. |
||
627 | </p>
|
||
628 | <p> </p> |
||
629 | <h3><span class=SpellE><span class=GramE><a name="initfframetext"></a></span></span><span class="Nivel3">initFFrameText()</span></h3> |
||
630 | |||
631 | <p>Este m?todo guarda el contenido de todos los <span class=SpellE>FFrameText</span> |
||
632 | para poder<span style='mso-spacerun:yes'>? </span>recuperarlos cuando finalice |
||
633 | la creaci?n de fichas.<o:p></o:p></p> |
||
634 | |||
635 | <p>Recorro todos los <span class=SpellE>FFrames</span> que contiene el Layout y |
||
636 | compruebo que son una instancia de <span class=SpellE>FFrameText</span>, para |
||
637 | guardar en <span class=SpellE>hastext</span> (<span class=SpellE>HashTable</span>) |
||
638 | el texto y su <span class=SpellE>FFrameText</span>.<o:p></o:p></p> |
||
639 | |||
640 | <p><span style='mso-tab-count:2'>??????????????????????? </span><span |
||
641 | class=GramE><b><span lang=EN-GB style='mso-ansi-language:EN-GB'>for</span></b></span><b><span |
||
642 | lang=EN-GB style='mso-ansi-language:EN-GB'> (<span class=SpellE>int</span> ft = |
||
643 | 0; ft < <span class=SpellE>fframes.size</span>(); ft++) {<o:p></o:p></span></b></p> |
||
644 | |||
645 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
646 | 3'>?????????????????????????????????? </span><span class=GramE>if</span> (<span |
||
647 | class=SpellE>fframes.get</span>(ft) <span class=SpellE>instanceof</span> <span |
||
648 | class=SpellE>FFrameText</span>) {<o:p></o:p></span></b></p> |
||
649 | |||
650 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
651 | 4'>?????????????????????????????????????????????? </span><span class=SpellE>ArrayList</span> |
||
652 | al = new <span class=SpellE><span class=GramE>ArrayList</span></span><span |
||
653 | class=GramE>(</span>);<o:p></o:p></span></b></p> |
||
654 | |||
655 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
656 | 4'>?????????????????????????????????????????????? </span><span class=GramE>for</span> |
||
657 | (<span class=SpellE>int</span> <span class=SpellE>i</span> = 0;<o:p></o:p></span></b></p> |
||
658 | |||
659 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
660 | 6'>?????????????????????????????????????????????????????????????????????? </span><span |
||
661 | class=SpellE>i</span> < ((<span class=SpellE>FFrameText</span>) <span |
||
662 | class=SpellE><span class=GramE>fframes.get</span></span><span class=GramE>(</span>ft)).<span |
||
663 | class=SpellE>getText</span>().size();<o:p></o:p></span></b></p> |
||
664 | |||
665 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
666 | 6'>?????????????????????????????????????????????????????????????????????? </span><span |
||
667 | class=SpellE>i</span>++) {<o:p></o:p></span></b></p> |
||
668 | |||
669 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
670 | 5'>?????????????????????????????????????????????????????????? </span><span |
||
671 | class=SpellE><span class=GramE>al.add</span></span><span class=GramE>(</span>((<span |
||
672 | class=SpellE>FFrameText</span>) <span class=SpellE>fframes.get</span>(ft)).<span |
||
673 | class=SpellE>getText</span>().get(<span class=SpellE>i</span>));<o:p></o:p></span></b></p> |
||
674 | |||
675 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
676 | 4'>?????????????????????????????????????????????? </span>}<o:p></o:p></span></b></p> |
||
677 | |||
678 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
679 | 4'>?????????????????????????????????????????????? </span><span class=SpellE><span |
||
680 | class=GramE>hashtext.put</span></span><span class=GramE>(</span><span |
||
681 | class=SpellE>fframes.get</span>(ft), al);<o:p></o:p></span></b></p> |
||
682 | |||
683 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
684 | 3'>?????????????????????????????????? </span></span>}<o:p></o:p></b></p> |
||
685 | |||
686 | <p><b><span style='mso-tab-count:2'>??????????????????????? </span>}<o:p></o:p></b></p> |
||
687 | |||
688 | <p><b><o:p> </o:p></b></p> |
||
689 | |||
690 | <h3><span class=SpellE><span class=GramE><a name="inittemplates"></a></span></span><span class="Nivel3">initTemplates(FFrameView fframeview)</span></h3> |
||
691 | |||
692 | <p>Inicia la creaci?n de todas las platillas posibles a partir de un <span |
||
693 | class=SpellE>FFrameView</span>.</p> |
||
694 | |||
695 | <p>Inicio la opci?n de cancelar la impresi?n de todas las fichas a <span |
||
696 | class=SpellE>true</span>.</p> |
||
697 | |||
698 | <p><b><span style='mso-tab-count:2'>??????????????????????? </span><span |
||
699 | class=SpellE><span class=GramE>printAll</span></span><span class=GramE>[</span>1] |
||
700 | = <span class=SpellE>true</span>;<o:p></o:p></b></p> |
||
701 | |||
702 | <p>Rect?ngulo del <span class=SpellE>extent</span> inicial de la vista |
||
703 | contenida en el <span class=SpellE>FFrameView</span>.</p> |
||
704 | |||
705 | <p><b><span style='mso-tab-count:2'>??????????????????????? </span></b><b><span |
||
706 | lang=EN-GB style='mso-ansi-language:EN-GB'>Rectangle2D.Double <span |
||
707 | class=SpellE>rectIni</span> = new <span class=GramE>Rectangle2D.Double(</span>);<o:p></o:p></span></b></p> |
||
708 | |||
709 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
710 | 2'>??????????????????????? </span><span class=SpellE><span class=GramE>rectIni.setRect</span></span><span |
||
711 | class=GramE>(</span><span class=SpellE>fframeview.getFMap</span>().<span |
||
712 | class=SpellE>getViewPort</span>().<span class=SpellE>getExtent</span>());<o:p></o:p></span></b></p> |
||
713 | |||
714 | <p>Entero que representa el tipo de escala que tiene seleccionada el <span |
||
715 | class=SpellE>FFrameView</span>.</p> |
||
716 | |||
717 | <p><b><span style='mso-tab-count:2'>??????????????????????? </span><span |
||
718 | class=SpellE><span class=GramE>int</span></span> <span class=SpellE>typeScaleIni</span> |
||
719 | = <span class=SpellE>fframeview.getTypeScale</span>();<o:p></o:p></b></p> |
||
720 | |||
721 | <p>Guarda los textos iniciales de todos los <span class=SpellE>FFrameText</span></p> |
||
722 | |||
723 | <p><b><span style='mso-tab-count:2'>??????????????????????? </span><span |
||
724 | class=SpellE><span class=GramE>initFFrameText</span></span>();<o:p></o:p></b></p> |
||
725 | |||
726 | <p>Recorro todas las capas de la vista.</p> |
||
727 | |||
728 | <p><b><span style='mso-tab-count:2'>??????????????????????? </span></b><span |
||
729 | class=GramE><b><span lang=EN-GB style='mso-ansi-language:EN-GB'>for</span></b></span><b><span |
||
730 | lang=EN-GB style='mso-ansi-language:EN-GB'> (<span class=SpellE>int</span> <span |
||
731 | class=SpellE>i</span> = 0; <span class=SpellE>i</span> < <span class=SpellE>fframeview.getFMap</span>().<span |
||
732 | class=SpellE>getLayers</span>().<span class=SpellE>getLayersCount</span>();<span |
||
733 | class=SpellE>i</span>++) {<o:p></o:p></span></b></p> |
||
734 | |||
735 | <p>Compruebo que la capa <span class=GramE>este</span> activada.</p> |
||
736 | |||
737 | <p><b><span style='mso-tab-count:3'>?????????????????????????????????? </span></b><span |
||
738 | class=GramE><b><span lang=EN-GB style='mso-ansi-language:EN-GB'>if</span></b></span><b><span |
||
739 | lang=EN-GB style='mso-ansi-language:EN-GB'> (<span class=SpellE>fframeview.getFMap</span>().<span |
||
740 | class=SpellE>getLayers</span>().<span class=SpellE>getLayer</span>(<span |
||
741 | class=SpellE>i</span>).<span class=SpellE>isActive</span>()) {<o:p></o:p></span></b></p> |
||
742 | |||
743 | <p><span class=SpellE><span lang=EN-GB style='mso-ansi-language:EN-GB'>Obtengo</span></span><span |
||
744 | lang=EN-GB style='mso-ansi-language:EN-GB'> <span class=SpellE>su</span> <span |
||
745 | class=SpellE>recordSet</span><o:p></o:p></span></p> |
||
746 | |||
747 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
748 | 4'>?????????????????????????????????????????????? </span>If (<span |
||
749 | class=SpellE><span class=GramE>fframeview.getFMap</span></span><span |
||
750 | class=GramE>(</span>).<span class=SpellE>getLayers</span>().<span class=SpellE>getLayer</span>(<span |
||
751 | class=SpellE>i</span>) <span class=SpellE>instanceof</span> <span class=SpellE>AlphanumericData</span>) |
||
752 | {<o:p></o:p></span></b></p> |
||
753 | |||
754 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
755 | 5'>?????????????????????????????????????????????????????????? </span><span |
||
756 | class=SpellE>SelectableDataSource</span> <span class=SpellE>dataSource</span> = |
||
757 | ((<span class=SpellE>AlphanumericData</span>) <span class=SpellE><span |
||
758 | class=GramE>fframeview.getFMap</span></span><span class=GramE>(</span>).<span |
||
759 | class=SpellE>getLayers</span>().<span class=SpellE>getLayer</span>(<span |
||
760 | class=SpellE>i</span>)).<span class=SpellE>getRecordset</span>();<o:p></o:p></span></b></p> |
||
761 | |||
762 | <p>Recorro todos los registros.</p> |
||
763 | |||
764 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
765 | 5'>?????????????????????????????????????????????????????????? </span><span |
||
766 | class=GramE>for</span> (long k = 0; k < <span class=SpellE>dataSource.getRowCount</span>(); |
||
767 | k++) {<o:p></o:p></span></b></p> |
||
768 | |||
769 | <p>Compruebo que est? seleccionado.</p> |
||
770 | |||
771 | <p><b><span style='mso-tab-count:6'>?????????????????????????????????????????????????????????????????????? </span><span |
||
772 | class=SpellE><span class=GramE>if</span></span> (<span class=SpellE>dataSource.isSelected</span>((<span |
||
773 | class=SpellE>int</span>) k)) {<o:p></o:p></b></p> |
||
774 | |||
775 | <p>Obtengo el rect?ngulo del <span class=SpellE>shape</span> para despu?s |
||
776 | ponerlo como <span class=SpellE>extent</span> del <span class=SpellE>FFrameView</span></p> |
||
777 | |||
778 | <p><b><span style='mso-tab-count:7'>????????????????????????????????????????????????????????????????????????????????? </span></b><b><span |
||
779 | lang=EN-GB style='mso-ansi-language:EN-GB'>Rectangle2D <span class=SpellE>rec</span> |
||
780 | = ((<span class=SpellE>SingleLayer</span>) <span class=SpellE>fframeview</span><o:p></o:p></span></b></p> |
||
781 | |||
782 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
783 | 11'>???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? </span><span |
||
784 | style='mso-spacerun:yes'>?? </span>.<span class=SpellE><span class=GramE>getFMap</span></span><span |
||
785 | class=GramE>(</span>).<span class=SpellE>getLayers</span>().<span class=SpellE>getLayer</span>(<span |
||
786 | class=SpellE>i</span>)).<span class=SpellE>getSource</span>() .<span |
||
787 | class=SpellE>getShape</span>((<span class=SpellE>int</span>) k).getBounds2D();<o:p></o:p></span></b></p> |
||
788 | |||
789 | <p>Cambio el <span class=SpellE>extent</span> de la vista que contiene <span |
||
790 | class=SpellE>fframeview</span>, del que ten?a al <span class=SpellE>extent</span> |
||
791 | del <span class=SpellE>shape</span> seleccionado.</p> |
||
792 | |||
793 | <p><b><span style='mso-tab-count:7'>????????????????????????????????????????????????????????????????????????????????? </span><span |
||
794 | class=SpellE><span class=GramE>fframeview.setNewExtent</span></span><span |
||
795 | class=GramE>(</span><span class=SpellE>rec</span>);<o:p></o:p></b></p> |
||
796 | |||
797 | <p><b><o:p> </o:p></b></p> |
||
798 | |||
799 | <p>Cambio el tipo de escala de <span class=SpellE>fframeview</span> a Escala |
||
800 | especificada por el usuario.</p>
|
||
801 | |||
802 | <p><b><span style='mso-tab-count:7'>????????????????????????????????????????????????????????????????????????????????? </span><span |
||
803 | class=SpellE><span class=GramE>fframeview.setTypeScale</span></span><span |
||
804 | class=GramE>(</span><span class=SpellE>FFrameView.MANUAL</span>);<o:p></o:p></b></p> |
||
805 | |||
806 | <p><o:p> </o:p></p> |
||
807 | |||
808 | <p>Recorro todos los <span class=SpellE>FFrames</span> que contiene el Layout y |
||
809 | compruebo que son una instancia de <span class=SpellE>FFrameText</span>, para |
||
810 | inicializarlo con el valor correspondiente.</p>
|
||
811 | |||
812 | <p><b><span style='mso-tab-count:7'>????????????????????????????????????????????????????????????????????????????????? </span></b><span |
||
813 | class=GramE><b><span lang=EN-GB style='mso-ansi-language:EN-GB'>for</span></b></span><b><span |
||
814 | lang=EN-GB style='mso-ansi-language:EN-GB'> (<span class=SpellE>int</span> ft = |
||
815 | 0; ft < <span class=SpellE>fframes.size</span>(); ft++) {<o:p></o:p></span></b></p> |
||
816 | |||
817 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
818 | 8'>????????????????????????????????????????????????????????????????????????????????????????????? </span><span |
||
819 | class=GramE>if</span> (<span class=SpellE>fframes.get</span>(ft) <span |
||
820 | class=SpellE>instanceof</span> <span class=SpellE>FFrameText</span>) {<o:p></o:p></span></b></p> |
||
821 | |||
822 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
823 | 9'>????????????????????????????????????????????????????????????????????????????????????????????????????????? </span><span |
||
824 | class=GramE>if</span> (<span class=SpellE>fframeview</span> != null) {<o:p></o:p></span></b></p> |
||
825 | |||
826 | <p style='margin-left:283.2pt;text-indent:35.4pt'><span class=SpellE><span |
||
827 | class=GramE><b><span lang=EN-GB style='mso-ansi-language:EN-GB'>initFFrameText</span></b></span></span><span |
||
828 | class=GramE><b><span lang=EN-GB style='mso-ansi-language:EN-GB'>(</span></b></span><b><span |
||
829 | lang=EN-GB style='mso-ansi-language:EN-GB'>(<span class=SpellE>FFrameText</span>) |
||
830 | <span class=SpellE>fframes.get</span>(<o:p></o:p></span></b></p> |
||
831 | |||
832 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
833 | 12'>???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? </span><span |
||
834 | class=GramE>ft</span>), <span class=SpellE>dataSource</span>, k);<o:p></o:p></span></b></p> |
||
835 | |||
836 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
837 | 9'>????????????????????????????????????????????????????????????????????????????????????????????????????????? </span>}<o:p></o:p></span></b></p> |
||
838 | |||
839 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
840 | 8'>????????????????????????????????????????????????????????????????????????????????????????????? </span>}<o:p></o:p></span></b></p> |
||
841 | |||
842 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
843 | 7'>????????????????????????????????????????????????????????????????????????????????? </span>}<o:p></o:p></span></b></p> |
||
844 | |||
845 | <p><b><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
846 | 7'>????????????????????????????????????????????????????????????????????????????????? </span><span |
||
847 | class=GramE>if</span> (<span class=SpellE>isFirst</span>) {<o:p></o:p></span></b></p> |
||
848 | |||
849 | <p>Si es el primer registro seleccionado se abre el di?logo para preguntar si
|
||
850 | se quiere imprimir todas las fichas.</p>
|
||
851 | |||
852 | <p><b><span style='mso-tab-count:8'>????????????????????????????????????????????????????????????????????????????????????????????? </span><span |
||
853 | class=SpellE><span class=GramE>askAll</span></span>();<o:p></o:p></b></p> |
||
854 | |||
855 | <p><b><span style='mso-tab-count:1'>??????????? </span><span style='mso-tab-count: |
||
856 | 1'>??????????? </span><span style='mso-tab-count:6'>?????????????????????????????????????????????????????????????????????? </span><span |
||
857 | class=SpellE><span class=GramE>isFirst</span></span> = <span class=SpellE>false</span>;<o:p></o:p></b></p> |
||
858 | |||
859 | <p><b><span style='mso-tab-count:7'>????????????????????????????????????????????????????????????????????????????????? </span>}<o:p></o:p></b></p> |
||
860 | |||
861 | <p><b><span style='mso-tab-count:7'>????????????????????????????????????????????????????????????????????????????????? </span><span |
||
862 | class=SpellE><span class=GramE>if</span></span> (!<span class=SpellE>printAll</span>[1]) |
||
863 | {<o:p></o:p></b></p> |
||
864 | |||
865 | <p>Si se cancela la impresi?n desde el di?logo <span class=SpellE>askAll</span> |
||
866 | se termina la creaci?n de fichas.</p>
|
||
867 | |||
868 | <p>Pongo <span class=SpellE>isFirst</span> a <span class=SpellE>true</span> |
||
869 | para que la pr?xima vez que se llame a este m?todo se pregunte si se quiere |
||
870 | imprimir todas las fichas.</p>
|
||
871 | |||
872 | <p><b><span style='mso-tab-count:8'>????????????????????????????????????????????????????????????????????????????????????????????? </span><span |
||
873 | class=SpellE><span class=GramE>isFirst</span></span> = <span class=SpellE>true</span>;<o:p></o:p></b></p> |
||
874 | |||
875 | <p><b><span style='mso-tab-count:8'>????????????????????????????????????????????????????????????????????????????????????????????? </span><span |
||
876 | class=SpellE><span class=GramE>return</span></span>;<o:p></o:p></b></p> |
||
877 | |||
878 | <p><b><span style='mso-tab-count:7'>????????????????????????????????????????????????????????????????????????????????? </span>}<o:p></o:p></b></p> |
||
879 | |||
880 | <p><b><o:p> </o:p></b></p> |
||
881 | |||
882 | <p><b><span style='mso-tab-count:7'>????????????????????????????????????????????????????????????????????????????????? </span><span |
||
883 | class=SpellE><span class=GramE>if</span></span> (<span class=SpellE>printAll</span>[0]) |
||
884 | {<o:p></o:p></b></p> |
||
885 | |||
886 | <p>Imprime la ficha actual.</p> |
||
887 | |||
888 | <p><b><span style='mso-tab-count:8'>????????????????????????????????????????????????????????????????????????????????????????????? </span><span |
||
889 | class=SpellE><span class=GramE>printExtension.printLayout</span></span><span |
||
890 | class=GramE>(</span>layout);<o:p></o:p></b></p> |
||
891 | |||
892 | <p><b><span style='mso-tab-count:7'>????????????????????????????????????????????????????????????????????????????????? </span>} |
||
893 | <span class=SpellE><span class=GramE>else</span></span> {<o:p></o:p></b></p> |
||
894 | |||
895 | <p>Refrescar el Layout para ver la ficha actual en pantalla.</p> |
||
896 | |||
897 | <p><b><span style='mso-tab-count:8'>????????????????????????????????????????????????????????????????????????????????????????????? </span><span |
||
898 | class=SpellE><span class=GramE>layout.refresh</span></span><span class=GramE>(</span>);<o:p></o:p></b></p> |
||
899 | |||
900 | <p><b><span style='mso-tab-count:8'>????????????????????????????????????????????????????????????????????????????????????????????? </span><span |
||
901 | class=SpellE><span class=GramE>layout.refresh</span></span><span class=GramE>(</span>);<o:p></o:p></b></p> |
||
902 | |||
903 | <p>Preguntar si se quiere imprimir la ficha actual.</p> |
||
904 | |||
905 | <p><b><span style='mso-tab-count:8'>????????????????????????????????????????????????????????????????????????????????????????????? </span><span |
||
906 | class=SpellE><span class=GramE>askOne</span></span>();<o:p></o:p></b></p> |
||
907 | |||
908 | <p><b><span style='mso-tab-count:7'>????????????????????????????????????????????????????????????????????????????????? </span>}<o:p></o:p></b></p> |
||
909 | |||
910 | <p><b><span style='mso-tab-count:4'>?????????????????????????????????????????????? </span><span |
||
911 | style='mso-tab-count:2'>??????????????????????? </span>}<o:p></o:p></b></p> |
||
912 | |||
913 | <p><b><span style='mso-tab-count:5'>?????????????????????????????????????????????????????????? </span>}<o:p></o:p></b></p> |
||
914 | |||
915 | <p><b><span style='mso-tab-count:4'>?????????????????????????????????????????????? </span>}<o:p></o:p></b></p> |
||
916 | |||
917 | <p><b><span style='mso-tab-count:3'>?????????????????????????????????? </span>}<o:p></o:p></b></p> |
||
918 | |||
919 | <p><b><span style='mso-tab-count:2'>??????????????????????? </span>}<o:p></o:p></b></p> |
||
920 | |||
921 | <p><b><o:p> </o:p></b></p> |
||
922 | |||
923 | <p>Recupera el <span class=SpellE>Extent</span> inicial del <span class=SpellE>FFrameView</span>.</p> |
||
924 | |||
925 | <p><b><span style='mso-tab-count:2'>??????????????????????? </span></b><span |
||
926 | class=SpellE><span class=GramE><b><span lang=EN-GB style='mso-ansi-language: |
||
927 | EN-GB'>fframeview.getFMap</span></b></span></span><span class=GramE><b><span |
||
928 | lang=EN-GB style='mso-ansi-language:EN-GB'>(</span></b></span><b><span |
||
929 | lang=EN-GB style='mso-ansi-language:EN-GB'>).<span class=SpellE>getViewPort</span>().<span |
||
930 | class=SpellE>setExtent</span>(<span class=SpellE>rectIni</span>);<o:p></o:p></span></b></p> |
||
931 | |||
932 | <p>Recupera el tipo de escala que ten?a seleccionada el <span class=SpellE>FFrameView</span>.</p> |
||
933 | |||
934 | <p><b><span style='mso-tab-count:2'>??????????????????????? </span><span |
||
935 | class=SpellE><span class=GramE>fframeview.setTypeScale</span></span><span |
||
936 | class=GramE>(</span><span class=SpellE>typeScaleIni</span>);<o:p></o:p></b></p> |
||
937 | |||
938 | <p>Recupera el texto de todos los <span class=SpellE>FFrameText</span> del |
||
939 | Layout.</p>
|
||
940 | |||
941 | <p><b><span style='mso-tab-count:2'>??????????????????????? </span><span |
||
942 | class=SpellE><span class=GramE>endFFrameText</span></span>();<o:p></o:p></b></p> |
||
943 | |||
944 | <p>Refresca el Layout en pantalla.</p> |
||
945 | |||
946 | <p><b><span style='mso-tab-count:2'>??????????????????????? </span><span |
||
947 | class=SpellE><span class=GramE>layout.refresh</span></span><span class=GramE>(</span>);<o:p></o:p></b></p> |
||
948 | |||
949 | <p>Volvemos a inicializar el <span class=SpellE>boolean</span> que sirve para |
||
950 | saber si estamos en la primera ficha a imprimir.</p>
|
||
951 | |||
952 | <p><b><span style='mso-tab-count:2'>??????????????????????? </span><span |
||
953 | class=SpellE><span class=GramE>isFirst</span></span> = <span class=SpellE>true</span>;<o:p></o:p></b></p> |
||
954 | |||
955 | <p><b><span style='mso-tab-count:1'>??????????? </span>}<o:p></o:p></b></p> |
||
956 | |||
957 | <h3><span class=SpellE><span class=GramE><a name="initfframetext"></a></span></span><span class="Nivel3">initFFrameText(FFrameText fframetext)<o:p></o:p></span><o:p></o:p></h3> |
||
958 | |||
959 | <p><span style='mso-tab-count:1'>??????????? </span>Modifica el <span |
||
960 | class=SpellE>FFrameText</span> que se le pasa como par?metro cambiando su texto |
||
961 | por el valor del campo que representa el <span class=SpellE>tag</span>.<o:p></o:p></p> |
||
962 | |||
963 | <h3><span class=SpellE><span class=GramE><a name="endfframetext"></a></span></span><span class="Nivel3">endFFrameText()</span></h3> |
||
964 | |||
965 | <p>Recupera el texto que inicialmente ten?an todos <span class=SpellE>FFrameText</span>.<o:p></o:p></p> |
||
966 | |||
967 | <h3><span class=SpellE><span class=GramE><a name="askall"></a></span></span><span class="Nivel3">askAll()</span></h3> |
||
968 | |||
969 | <p>Abre el di?logo que pregunta si se quieren <span class=SpellE>madar</span> a |
||
970 | la cola de impresi?n todas las fichas que se <span class=GramE>generan .</span><o:p></o:p></p> |
||
971 | |||
972 | <h3><span class=SpellE><span class=GramE><a name="askone"></a></span></span><span class="Nivel3">askOne()</span></h3> |
||
973 | |||
974 | <p>Abre el di?logo que pregunta si la ficha que se esta visualizando se quiere
|
||
975 | imprimir.<u><o:p></o:p></u></p> |
||
976 | <span class="SpellE"><a name="askonejava"></a></span><strong><font size="+1">askOne.java</font></strong> |
||
977 | <p>Di?logo para preguntar si se quiere imprimir la ficha que se visualiza en
|
||
978 | ese momento en pantalla.</p>
|
||
979 | |||
980 | <h1 class="SpellE"><a name="askalljava"></a><strong><font size="+1">askAll.java</font></strong></h1> |
||
981 | |||
982 | <p>Di?logo para preguntar si se quieren imprimir todas las fichas que se
|
||
983 | generen.</p>
|
||
984 | |||
985 | <h1><span class=SpellE><a name="iverutiles"></a><strong><font size="+1">Iver-utilies.jar</font></strong></span><span |
||
986 | style='mso-tab-count:1'> </span></h1> |
||
987 | |||
988 | <p>Librer?a utilizada en nuestro caso para clonar <span class=SpellE>FFrames</span>.</p> |
||
989 | |||
990 | <h1 class="SpellE"><a name="gdbms"></a><strong><font size="+1">gdbms.jar</font></strong></h1> |
||
991 | |||
992 | <p>Librer?a utilizada para acceder a los <span class=SpellE>drivers</span>.</p> |
||
993 | |||
994 | <h1 class="SpellE"><a name="config"></a><strong><font size="+1">config.xml</font></strong></h1> |
||
995 | |||
996 | <p>Fichero XML utilizado para a?adir a ANDAMI la extensi?n.</p> |
||
997 | |||
998 | <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span |
||
999 | class=GramE><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"; |
||
1000 | color:#0000E1;background:white;mso-highlight:white;mso-ansi-language:EN-GB'><?<span |
||
1001 | class=SpellE>xml</span></span></span><span lang=EN-GB style='font-size:10.0pt; |
||
1002 | font-family:"Courier New";color:black;background:white;mso-highlight:white;
|
||
1003 | mso-ansi-language:EN-GB'> </span><span lang=EN-GB style='font-size:10.0pt; |
||
1004 | font-family:"Courier New";color:#0000E1;background:white;mso-highlight:white;
|
||
1005 | mso-ansi-language:EN-GB'>version=</span><span lang=EN-GB style='font-size:10.0pt; |
||
1006 | font-family:"Courier New";color:navy;background:white;mso-highlight:white;
|
||
1007 | mso-ansi-language:EN-GB'>"1.0"</span><span lang=EN-GB |
||
1008 | style='font-size:10.0pt;font-family:"Courier New";color:black;background:white; |
||
1009 | mso-highlight:white;mso-ansi-language:EN-GB'> </span><span lang=EN-GB |
||
1010 | style='font-size:10.0pt;font-family:"Courier New";color:#0000E1;background: |
||
1011 | white;mso-highlight:white;mso-ansi-language:EN-GB'>encoding=</span><span |
||
1012 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:navy; |
||
1013 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>"ISO-8859-1"</span><span |
||
1014 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1015 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>?></span><span |
||
1016 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-ansi-language: |
||
1017 | EN-GB'><o:p></o:p></span></p> |
||
1018 | |||
1019 | <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span |
||
1020 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1021 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'><<span |
||
1022 | class=SpellE><span class=GramE>plugin-config</span></span>></span><span |
||
1023 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-ansi-language: |
||
1024 | EN-GB'><o:p></o:p></span></p> |
||
1025 | |||
1026 | <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span |
||
1027 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black; |
||
1028 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'><span |
||
1029 | style='mso-tab-count:1'>????? </span></span><span lang=EN-GB style='font-size: |
||
1030 | 10.0pt;font-family:"Courier New";color:#0000E1;background:white;mso-highlight:
|
||
1031 | white;mso-ansi-language:EN-GB'><libraries</span><span lang=EN-GB |
||
1032 | style='font-size:10.0pt;font-family:"Courier New";color:black;background:white; |
||
1033 | mso-highlight:white;mso-ansi-language:EN-GB'> </span><span lang=EN-GB |
||
1034 | style='font-size:10.0pt;font-family:"Courier New";color:#0000E1;background: |
||
1035 | white;mso-highlight:white;mso-ansi-language:EN-GB'>library-dir=</span><span |
||
1036 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:navy; |
||
1037 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>"."</span><span |
||
1038 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1039 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>/></span><span |
||
1040 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-ansi-language: |
||
1041 | EN-GB'><o:p></o:p></span></p> |
||
1042 | |||
1043 | <p><span lang=EN-GB style='background:white;mso-highlight:white;mso-ansi-language: |
||
1044 | EN-GB'><span style='mso-tab-count:1'>??????????? </span></span><span |
||
1045 | style='background:white;mso-highlight:white'>Dependencias con otras <span |
||
1046 | class=SpellE>extensions</span> para que sean cargadas con anterioridad, en |
||
1047 | nuestro caso la dependencia es con <span class=SpellE>gvSIG</span>.<o:p></o:p></span></p> |
||
1048 | |||
1049 | <p class=MsoNormal style='text-indent:35.4pt;mso-layout-grid-align:none; |
||
1050 | text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"; |
||
1051 | color:#0000E1;background:white;mso-highlight:white;mso-ansi-language:EN-GB'><<span |
||
1052 | class=GramE>depends</span></span><span lang=EN-GB style='font-size:10.0pt; |
||
1053 | font-family:"Courier New";color:black;background:white;mso-highlight:white;
|
||
1054 | mso-ansi-language:EN-GB'> </span><span class=SpellE><span lang=EN-GB |
||
1055 | style='font-size:10.0pt;font-family:"Courier New";color:#0000E1;background: |
||
1056 | white;mso-highlight:white;mso-ansi-language:EN-GB'>plugin</span></span><span |
||
1057 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1058 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>-name=</span><span |
||
1059 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:navy; |
||
1060 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>"<span |
||
1061 | class=SpellE>com.iver.cit.gvsig</span>"</span><span lang=EN-GB |
||
1062 | style='font-size:10.0pt;font-family:"Courier New";color:#0000E1;background: |
||
1063 | white;mso-highlight:white;mso-ansi-language:EN-GB'>/></span><span |
||
1064 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-ansi-language: |
||
1065 | EN-GB'><o:p></o:p></span></p> |
||
1066 | |||
1067 | <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span |
||
1068 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black; |
||
1069 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'><span |
||
1070 | style='mso-tab-count:2'>??????????? </span></span><span lang=EN-GB |
||
1071 | style='font-size:10.0pt;font-family:"Courier New";color:#0000E1;background: |
||
1072 | white;mso-highlight:white;mso-ansi-language:EN-GB'><<span class=SpellE>resourceBundle</span></span><span |
||
1073 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black; |
||
1074 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'> </span><span |
||
1075 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1076 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>name=</span><span |
||
1077 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:navy; |
||
1078 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>"text"</span><span |
||
1079 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1080 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>/></span><span |
||
1081 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-ansi-language: |
||
1082 | EN-GB'><o:p></o:p></span></p> |
||
1083 | |||
1084 | <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span |
||
1085 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black; |
||
1086 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'><span |
||
1087 | style='mso-tab-count:1'>????? </span></span><span lang=EN-GB style='font-size: |
||
1088 | 10.0pt;font-family:"Courier New";color:#0000E1;background:white;mso-highlight:
|
||
1089 | white;mso-ansi-language:EN-GB'><<span class=GramE>extensions</span>></span><span |
||
1090 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1091 | mso-ansi-language:EN-GB'><o:p></o:p></span></p> |
||
1092 | |||
1093 | <p><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
1094 | 2'>??????????????????????? </span></span>Nombre de <st1:PersonName |
||
1095 | ProductID="la Extensi?n" w:st="on">la Extensi?n</st1:PersonName>, descripci?n y |
||
1096 | si esta activa o no lo est?.<o:p></o:p></p> |
||
1097 | |||
1098 | <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span |
||
1099 | style='font-size:10.0pt;font-family:"Courier New";color:black;background:white; |
||
1100 | mso-highlight:white'><span style='mso-tab-count:2'>??????????? </span></span><span |
||
1101 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1102 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'><extension</span><span |
||
1103 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black; |
||
1104 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'> </span><span |
||
1105 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1106 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>class-name=</span><span |
||
1107 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:navy; |
||
1108 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>"<span |
||
1109 | class=SpellE>com.iver.templateLayout.TemplateExtension</span>"</span><span |
||
1110 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-ansi-language: |
||
1111 | EN-GB'><o:p></o:p></span></p> |
||
1112 | |||
1113 | <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span |
||
1114 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black; |
||
1115 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'><span |
||
1116 | style='mso-tab-count:3'>????????????????? </span></span><span class=SpellE><span |
||
1117 | class=GramE><span style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1118 | background:white;mso-highlight:white'>description</span></span></span><span |
||
1119 | style='font-size:10.0pt;font-family:"Courier New";color:#0000E1;background: |
||
1120 | white;mso-highlight:white'>=</span><span style='font-size:10.0pt;font-family: |
||
1121 | "Courier New";color:navy;background:white;mso-highlight:white'>"Extensi?n |
||
1122 | de ejemplo que genera una ficha por cada <span class=SpellE>shape</span> |
||
1123 | seleccionado,</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p> |
||
1124 | |||
1125 | <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span |
||
1126 | style='font-size:10.0pt;font-family:"Courier New";color:navy;background:white; |
||
1127 | mso-highlight:white'><span style='mso-tab-count:4'>??????????????????????? </span><span |
||
1128 | class=GramE>cambiando</span> los <span class=SpellE>tag</span> por su |
||
1129 | valor."</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p> |
||
1130 | |||
1131 | <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span |
||
1132 | style='font-size:10.0pt;font-family:"Courier New";color:black;background:white; |
||
1133 | mso-highlight:white'><span style='mso-tab-count:3'>????????????????? </span></span><span |
||
1134 | class=GramE><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"; |
||
1135 | color:#0000E1;background:white;mso-highlight:white;mso-ansi-language:EN-GB'>active</span></span><span |
||
1136 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1137 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>=</span><span |
||
1138 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:navy; |
||
1139 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>"true"</span><span |
||
1140 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1141 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>></span><span |
||
1142 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1143 | mso-ansi-language:EN-GB'><o:p></o:p></span></p> |
||
1144 | |||
1145 | <p><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
1146 | 2'>??????????????????????? </span><span style='mso-tab-count:1'>??????????? </span></span>Opci?n |
||
1147 | de men? necesaria para esta extensi?n con su comando, tecla de activaci?n r?pida, |
||
1148 | icono, texto <span class=SpellE>tooltip</span>, y posici?n.<o:p></o:p></p> |
||
1149 | |||
1150 | <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span |
||
1151 | style='font-size:10.0pt;font-family:"Courier New";color:black;background:white; |
||
1152 | mso-highlight:white'><span style='mso-tab-count:3'>????????????????? </span></span><span |
||
1153 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1154 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'><menu</span><span |
||
1155 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black; |
||
1156 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'> </span><span |
||
1157 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1158 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>text=</span><span |
||
1159 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:navy; |
||
1160 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>"<span |
||
1161 | class=SpellE>mapa/crear_ficha</span>"</span><span lang=EN-GB |
||
1162 | style='font-size:10.0pt;font-family:"Courier New";color:black;background:white; |
||
1163 | mso-highlight:white;mso-ansi-language:EN-GB'> </span><span lang=EN-GB |
||
1164 | style='font-size:10.0pt;font-family:"Courier New";color:#0000E1;background: |
||
1165 | white;mso-highlight:white;mso-ansi-language:EN-GB'>action-command=</span><span |
||
1166 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:navy; |
||
1167 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>"create"</span><span |
||
1168 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black; |
||
1169 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'> </span><span |
||
1170 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1171 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>key=</span><span |
||
1172 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:navy; |
||
1173 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>"t"</span><span |
||
1174 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-ansi-language: |
||
1175 | EN-GB'><o:p></o:p></span></p> |
||
1176 | |||
1177 | <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span |
||
1178 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black; |
||
1179 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'><span |
||
1180 | style='mso-tab-count:4'>??????????????????????? </span></span><span |
||
1181 | class=GramE><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"; |
||
1182 | color:#0000E1;background:white;mso-highlight:white;mso-ansi-language:EN-GB'>mnemonic</span></span><span |
||
1183 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1184 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>=</span><span |
||
1185 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:navy; |
||
1186 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>"c"</span><span |
||
1187 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black; |
||
1188 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'> </span><span |
||
1189 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1190 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>icon=</span><span |
||
1191 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:navy; |
||
1192 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>"images/<span |
||
1193 | class=SpellE>template.gif</span>"</span><span lang=EN-GB style='font-size: |
||
1194 | 10.0pt;font-family:"Courier New";color:black;background:white;mso-highlight:
|
||
1195 | white;mso-ansi-language:EN-GB'> </span><span lang=EN-GB style='font-size:10.0pt; |
||
1196 | font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></p> |
||
1197 | |||
1198 | <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span |
||
1199 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black; |
||
1200 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'><span |
||
1201 | style='mso-tab-count:4'>??????????????????????? </span></span><span |
||
1202 | class=SpellE><span class=GramE><span lang=EN-GB style='font-size:10.0pt; |
||
1203 | font-family:"Courier New";color:#0000E1;background:white;mso-highlight:white;
|
||
1204 | mso-ansi-language:EN-GB'>tooltip</span></span></span><span lang=EN-GB |
||
1205 | style='font-size:10.0pt;font-family:"Courier New";color:#0000E1;background: |
||
1206 | white;mso-highlight:white;mso-ansi-language:EN-GB'>=</span><span lang=EN-GB |
||
1207 | style='font-size:10.0pt;font-family:"Courier New";color:navy;background:white; |
||
1208 | mso-highlight:white;mso-ansi-language:EN-GB'>"<span class=SpellE>crear_ficha</span>"</span><span |
||
1209 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-ansi-language: |
||
1210 | EN-GB'><o:p></o:p></span></p> |
||
1211 | |||
1212 | <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span |
||
1213 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black; |
||
1214 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'><span |
||
1215 | style='mso-tab-count:4'>??????????????????????? </span></span><span |
||
1216 | class=GramE><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"; |
||
1217 | color:#0000E1;background:white;mso-highlight:white;mso-ansi-language:EN-GB'>position</span></span><span |
||
1218 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1219 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>=</span><span |
||
1220 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:navy; |
||
1221 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>"1"</span><span |
||
1222 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1223 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>/></span><span |
||
1224 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-ansi-language: |
||
1225 | EN-GB'><o:p></o:p></span></p> |
||
1226 | |||
1227 | <p><span lang=EN-GB style='background:white;mso-highlight:white;mso-ansi-language: |
||
1228 | EN-GB'><span style='mso-tab-count:3'>?????????????????????????????????? </span></span><span |
||
1229 | style='background:white;mso-highlight:white'>Barra de herramientas, que seg?n |
||
1230 | su nombre si ya ha sido creada por otra extensi?n, no se vuelve a crear.<o:p></o:p></span></p> |
||
1231 | |||
1232 | <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span |
||
1233 | style='font-size:10.0pt;font-family:"Courier New";color:black;background:white; |
||
1234 | mso-highlight:white'><span style='mso-tab-count:3'>????????????????? </span></span><span |
||
1235 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1236 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'><tool-bar</span><span |
||
1237 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black; |
||
1238 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'> </span><span |
||
1239 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1240 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>name=</span><span |
||
1241 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:navy; |
||
1242 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>"<span |
||
1243 | class=SpellE>Herramientas</span>"</span><span lang=EN-GB style='font-size: |
||
1244 | 10.0pt;font-family:"Courier New";color:#0000E1;background:white;mso-highlight:
|
||
1245 | white;mso-ansi-language:EN-GB'>></span><span lang=EN-GB style='font-size: |
||
1246 | 10.0pt;font-family:"Courier New";color:#0000E1;mso-ansi-language:EN-GB'><o:p></o:p></span></p> |
||
1247 | |||
1248 | <p><span lang=EN-GB style='mso-ansi-language:EN-GB'><span style='mso-tab-count: |
||
1249 | 2'>??????????????????????? </span><span style='mso-tab-count:1'>??????????? </span><span |
||
1250 | style='mso-tab-count:1'>??????????? </span></span>Bot?n necesario para esta extensi?n, |
||
1251 | con su comando, texto <span class=SpellE>tooltip</span>, texto de deshabilitado.<o:p></o:p></p> |
||
1252 | |||
1253 | <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span |
||
1254 | style='font-size:10.0pt;font-family:"Courier New";color:black;background:white; |
||
1255 | mso-highlight:white'><span style='mso-tab-count:4'>??????????????????????? </span></span><span |
||
1256 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1257 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'><action-tool</span><span |
||
1258 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black; |
||
1259 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'> </span><span |
||
1260 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1261 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>icon=</span><span |
||
1262 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:navy; |
||
1263 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>"images/<span |
||
1264 | class=SpellE>template.gif</span>"</span><span lang=EN-GB style='font-size: |
||
1265 | 10.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></p> |
||
1266 | |||
1267 | <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span |
||
1268 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black; |
||
1269 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'><span |
||
1270 | style='mso-tab-count:5'>???????????????????????????? </span></span><span |
||
1271 | class=GramE><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"; |
||
1272 | color:#0000E1;background:white;mso-highlight:white;mso-ansi-language:EN-GB'>action-command</span></span><span |
||
1273 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1274 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>=</span><span |
||
1275 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:navy; |
||
1276 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>"create"</span><span |
||
1277 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black; |
||
1278 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'> </span><span |
||
1279 | class=SpellE><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"; |
||
1280 | color:#0000E1;background:white;mso-highlight:white;mso-ansi-language:EN-GB'>tooltip</span></span><span |
||
1281 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1282 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>=</span><span |
||
1283 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:navy; |
||
1284 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'>"<span |
||
1285 | class=SpellE>crear_ficha</span>"</span><span lang=EN-GB style='font-size: |
||
1286 | 10.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></p> |
||
1287 | |||
1288 | <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span |
||
1289 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black; |
||
1290 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'><span |
||
1291 | style='mso-tab-count:5'>???????????????????????????? </span></span><span |
||
1292 | class=SpellE><span class=GramE><span style='font-size:10.0pt;font-family:"Courier New"; |
||
1293 | color:#0000E1;background:white;mso-highlight:white'>enable</span></span></span><span |
||
1294 | class=GramE><span style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1295 | background:white;mso-highlight:white'>-<span class=SpellE>text</span></span></span><span |
||
1296 | style='font-size:10.0pt;font-family:"Courier New";color:#0000E1;background: |
||
1297 | white;mso-highlight:white'>=</span><span style='font-size:10.0pt;font-family: |
||
1298 | "Courier New";color:navy;background:white;mso-highlight:white'>"deber?a de |
||
1299 | estar activada"</span><span style='font-size:10.0pt;font-family:"Courier New"; |
||
1300 | color:black;background:white;mso-highlight:white'> </span><span class=SpellE><span |
||
1301 | style='font-size:10.0pt;font-family:"Courier New";color:#0000E1;background: |
||
1302 | white;mso-highlight:white'>last</span></span><span style='font-size:10.0pt; |
||
1303 | font-family:"Courier New";color:#0000E1;background:white;mso-highlight:white'>=</span><span |
||
1304 | style='font-size:10.0pt;font-family:"Courier New";color:navy;background:white; |
||
1305 | mso-highlight:white'>"<span class=SpellE>true</span>"</span><span |
||
1306 | style='font-size:10.0pt;font-family:"Courier New";color:#0000E1;background: |
||
1307 | white;mso-highlight:white'>/></span><span style='font-size:10.0pt; |
||
1308 | font-family:"Courier New"'><o:p></o:p></span></p> |
||
1309 | |||
1310 | <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span |
||
1311 | style='font-size:10.0pt;font-family:"Courier New";color:black;background:white; |
||
1312 | mso-highlight:white'><span style='mso-tab-count:3'>????????????????? </span></span><span |
||
1313 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1314 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'></tool-bar></span><span |
||
1315 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-ansi-language: |
||
1316 | EN-GB'><o:p></o:p></span></p> |
||
1317 | |||
1318 | <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span |
||
1319 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black; |
||
1320 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'><span |
||
1321 | style='mso-tab-count:2'>??????????? </span></span><span lang=EN-GB |
||
1322 | style='font-size:10.0pt;font-family:"Courier New";color:#0000E1;background: |
||
1323 | white;mso-highlight:white;mso-ansi-language:EN-GB'></extension></span><span |
||
1324 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";mso-ansi-language: |
||
1325 | EN-GB'><o:p></o:p></span></p> |
||
1326 | |||
1327 | <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span |
||
1328 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:black; |
||
1329 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'><span |
||
1330 | style='mso-tab-count:1'>????? </span></span><span lang=EN-GB style='font-size: |
||
1331 | 10.0pt;font-family:"Courier New";color:#0000E1;background:white;mso-highlight:
|
||
1332 | white;mso-ansi-language:EN-GB'></extensions></span><span lang=EN-GB |
||
1333 | style='font-size:10.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></p> |
||
1334 | |||
1335 | <p class=MsoNormal style='mso-layout-grid-align:none;text-autospace:none'><span |
||
1336 | lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#0000E1; |
||
1337 | background:white;mso-highlight:white;mso-ansi-language:EN-GB'></<span |
||
1338 | class=SpellE>plugin-config</span>></span><span lang=EN-GB style='font-size: |
||
1339 | 10.0pt;font-family:"Courier New";mso-ansi-language:EN-GB'><o:p></o:p></span></p> |
||
1340 | |||
1341 | <h1><a name="images"></a><strong><font size="+1">Directorio images</font></strong></h1> |
||
1342 | |||
1343 | <p>En este directorio se almacenan las im?genes necesarias para el <span |
||
1344 | class=SpellE>Plugin</span>.</p> |
||
1345 | |||
1346 | <h1><a name="lib"></a><strong><font size="+1">Directorio lib</font></strong></h1> |
||
1347 | |||
1348 | <p>Directorio dedicado para almacenar las librer?as utilizadas por el <span |
||
1349 | class=SpellE>plugin</span>.<u><o:p></o:p></u></p> |
||
1350 | |||
1351 | <h1 class="SpellE"><a name="build"></a><strong><font size="+1">build.xml</font></strong></h1> |
||
1352 | |||
1353 | <p>Fichero <span class=SpellE>Ant</span>, utilizado para copiar al directorio |
||
1354 | de <span class=SpellE>gvSIG</span>/extensiones las clases y librer?as |
||
1355 | necesarias, as? como los ficheros e im?genes de una forma automática. También es posible copiarlas manualmente o con cualquier otra herramienta. </p> |
||
1356 | |||
1357 | <h1><a name="properties"></a><strong><font size="+1">Ficheros *.properties</font></strong></h1> |
||
1358 | <p>Son los ficheros con toda la informaci?n para la traducci?n del <span |
||
1359 | class=SpellE>plugin</span>. El nombre de estos ficheros de traducción tienen que seguir esta forma:</p> |
||
1360 | <p>El nombre tiene que estar compuesto por "text_" más la abreviatura que el Locate de java se reserva para este idioma y siempre con la extensión ".properties". En el caso de español sería: </p> |
||
1361 | <p>text_es.properties</p> |
||
1362 | <p>Pero se tiene un idoma por defecto con el nombre:</p> |
||
1363 | <p>text.properties </p> |
||
1364 | <p>Cada uno de estos ficheros contiene la traducci?n a un idioma, y la forma de
|
||
1365 | guardarse esa informaci?n es: </p>
|
||
1366 | <p><b>"Clave" = "traducci?n"<o:p></o:p></b></p> |
||
1367 | |||
1368 | <p><st1:PersonName ProductID="La Clave" w:st="on">La "Clave"</st1:PersonName> debe ser la misma en todos los ficheros de traducci?n de todos los lenguajes que |
||
1369 | incorporemos y la "traducci?n" debe de ser la del idioma dedicado por este |
||
1370 | fichero en concreto.</p>
|
||
1371 | <p> </p> |
||
1372 | <p> </p> |
||
1373 | <p> </p> |
||
1374 | </div>
|
||
1375 | |||
1376 | </body>
|
||
1377 | |||
1378 | </html> |