Revision 17365

View differences:

tags/tmp_build/applications/appgvSIG/.cvsignore
1
bin
2
dist
3
gvSIG*.zip
4
build-doc
5
bin-test
0 6

  
tags/tmp_build/applications/appgvSIG/northimages/rosas_en.svg
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In  -->
3
<svg
4
   xmlns:dc="http://purl.org/dc/elements/1.1/"
5
   xmlns:cc="http://web.resource.org/cc/"
6
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
7
   xmlns:svg="http://www.w3.org/2000/svg"
8
   xmlns="http://www.w3.org/2000/svg"
9
   xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
10
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
11
   version="1.0"
12
   sodipodi:docbase="D:\Download\datos\PRUEBAS\northimages"
13
   sodipodi:docname="rosas_en.svg"
14
   inkscape:version="0.40+cvs"
15
   sodipodi:version="0.32"
16
   id="svg2"
17
   viewBox="0 0 450 500"
18
   height="500"
19
   width="450">
20
  <metadata
21
     id="metadata19">
22
    <rdf:RDF
23
       id="RDF4">
24
      <cc:Work
25
         id="Work6"
26
         rdf:about="">
27
        <dc:format
28
           id="format8">image/svg+xml</dc:format>
29
        <dc:type
30
           id="type10"
31
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
32
      </cc:Work>
33
    </rdf:RDF>
34
  </metadata>
35
  <defs
36
     id="defs17" />
37
  <sodipodi:namedview
38
     inkscape:current-layer="svg2"
39
     inkscape:window-y="-4"
40
     inkscape:window-x="-4"
41
     inkscape:cy="-90.981528"
42
     inkscape:cx="372.18750"
43
     inkscape:zoom="0.35555853"
44
     id="base"
45
     pagecolor="#ffffff"
46
     bordercolor="#666666"
47
     borderopacity="1.0"
48
     inkscape:pageopacity="0.0"
49
     inkscape:pageshadow="2"
50
     inkscape:window-width="1024"
51
     inkscape:window-height="719" />
52
  <path
53
     style="fill-rule:nonzero;stroke:none;stroke-miterlimit:4.0000000"
54
     d="M -2.0567435,213.70043 L -2.0567435,210.68332 L 25.760450,210.68332 L 25.760450,213.70043 L 24.093173,213.70043 L 23.127908,213.79471 L 22.338145,213.98329 L 21.636134,214.36042 L 21.109625,214.83185 L 20.670868,215.39756 L 20.319863,216.15183 L 20.144360,217.00039 L 20.056608,218.03752 L 20.056608,218.98036 L 20.144360,219.92321 L 20.144360,220.67749 L 20.232111,221.33748 L 20.319863,221.90319 L 20.407614,222.37461 L 20.495366,222.65746 L 20.670868,222.84604 L 30.850031,255.84564 L 42.784221,225.95743 L 40.502685,218.60324 L 40.414933,217.18897 L 40.063928,216.05754 L 39.537420,215.02041 L 38.835409,214.36042 L 38.747657,214.36042 L 38.396652,214.26614 L 37.870143,214.17185 L 37.080380,214.07757 L 35.413104,213.79471 L 33.745827,213.70043 L 31.464291,213.70043 L 31.464291,210.68332 L 61.563025,210.68332 L 61.563025,213.70043 L 59.281487,213.70043 L 58.316223,213.79471 L 57.526454,213.88900 L 56.824447,214.17185 L 56.297935,214.45471 L 55.859183,214.92612 L 55.508172,215.39756 L 55.332670,216.05754 L 55.244923,216.81182 L 67.179111,253.95995 L 75.164490,223.50602 L 75.339991,223.22317 L 75.427746,222.94033 L 75.690996,222.46890 L 75.866496,221.80890 L 76.041998,221.05463 L 76.305254,220.20607 L 76.568512,219.16894 L 76.831767,218.03752 L 76.656258,217.00039 L 76.305254,216.15183 L 75.778750,215.39756 L 75.164490,214.83185 L 74.374729,214.36042 L 73.409456,213.98329 L 72.356447,213.79471 L 71.215673,213.70043 L 71.215673,210.68332 L 87.098675,210.68332 L 87.098675,213.70043 L 86.221165,213.79471 L 85.431399,214.17185 L 84.553890,214.64327 L 83.764128,215.39756 L 83.062114,216.34041 L 82.272352,217.47182 L 81.570337,218.88608 L 80.780576,220.39463 L 62.616035,280.17107 L 59.807992,280.17107 L 45.065761,233.21734 L 26.901218,280.17107 L 24.093173,280.17107 L 4.7878655,219.82893 L 4.4368605,218.79180 L 4.1736065,217.94324 L 3.9103515,217.09468 L 3.5593455,216.43468 L 3.2083405,215.77468 L 2.8573355,215.30327 L 2.5940815,214.92612 L 2.2430755,214.64327 L 1.3655605,214.26614 L 0.40029550,213.98329 L -0.74047250,213.79471 L -2.0567435,213.70043 L -2.0567435,213.70043 z M 91.047494,247.26574 L 208.54661,214.36042 L 238.64534,88.679075 L 271.02561,214.36042 L 386.24319,247.26574 L 271.02561,279.60535 L 238.64534,404.06102 L 208.54661,279.60535 L 91.047494,247.26574 L 91.047494,247.26574 z M 211.35466,218.03752 L 113.77511,245.47433 L 236.36380,245.47433 L 211.35466,218.03752 z M 238.03108,247.92573 L 211.96891,277.15396 L 238.03108,380.20701 L 238.03108,247.92573 z M 239.17185,113.09878 L 239.17185,244.81434 L 265.32177,217.37753 L 239.17185,113.09878 z M 368.07866,247.26574 L 239.78611,247.26574 L 266.46253,275.92826 L 368.07866,247.26574 z M 208.02010,77.082068 L 208.02010,74.630670 L 209.07312,74.536387 L 210.03839,74.253529 L 210.91590,74.064961 L 211.70566,73.782104 L 212.40767,73.404969 L 213.02193,73.027827 L 213.54844,72.650692 L 213.89945,72.179267 L 214.25045,71.707842 L 214.60146,71.047855 L 214.77696,70.387869 L 215.04021,69.445012 L 215.12797,68.502168 L 215.30347,67.465040 L 215.30347,66.239338 L 215.39122,64.919359 L 215.39122,17.305641 L 214.33820,16.457080 L 213.54844,15.514234 L 212.93418,14.571388 L 212.49542,13.628541 L 212.31991,13.251404 L 212.05667,12.779980 L 211.61792,12.308558 L 211.09140,11.837134 L 210.47714,11.365711 L 209.77513,10.894289 L 208.89762,10.422866 L 208.02010,10.045727 L 208.02010,6.9343355 L 226.71116,6.9343355 L 259.09142,50.870955 L 259.09142,18.531339 L 259.00366,17.399925 L 259.00366,16.268510 L 258.82816,15.325664 L 258.74041,14.477103 L 258.47716,13.628541 L 258.30166,12.968549 L 257.95064,12.308558 L 257.68740,11.837134 L 257.24864,11.459997 L 256.72213,11.082858 L 256.10787,10.705719 L 255.31811,10.517150 L 254.44059,10.234297 L 253.47533,10.140012 L 252.33456,10.045727 L 251.10604,10.045727 L 251.10604,6.9343355 L 272.69288,6.9343355 L 272.69288,10.045727 L 271.20111,10.045727 L 269.88484,10.140012 L 268.65632,10.234297 L 267.69105,10.422866 L 266.81354,10.611436 L 266.02378,10.894289 L 265.49727,11.177142 L 265.05851,11.554281 L 264.70750,12.025703 L 264.44424,12.591411 L 264.18100,13.251404 L 264.00549,14.099965 L 263.82999,14.948526 L 263.65449,16.079941 L 263.65449,17.211356 L 263.56674,18.531339 L 263.56674,78.307765 L 260.23218,78.307765 L 220.48080,22.774147 L 220.48080,64.919359 L 220.48080,66.239338 L 220.56855,67.465040 L 220.65630,68.502168 L 220.83180,69.445012 L 221.00731,70.387869 L 221.27056,71.047855 L 221.53381,71.707842 L 221.88482,72.179267 L 222.32358,72.650692 L 222.76234,73.027827 L 223.37660,73.404969 L 224.07861,73.782104 L 224.86837,74.064961 L 225.74589,74.253529 L 226.79890,74.536387 L 227.85192,74.630670 L 227.85192,77.082068 L 208.02010,77.082068 L 208.02010,77.082068 z M 217.67276,493.06566 L 217.67276,468.08025 L 221.00731,468.08025 L 221.70932,470.62593 L 222.41133,473.07733 L 223.20109,475.34016 L 224.07861,477.41442 L 224.95612,479.30011 L 225.92139,481.09152 L 226.88666,482.69435 L 228.02742,484.10863 L 229.08044,485.33433 L 230.30896,486.37146 L 231.53748,487.31430 L 232.85375,488.06857 L 234.17002,488.63429 L 235.66179,489.10571 L 237.06582,489.29428 L 238.64534,489.38856 L 240.04936,489.38856 L 241.45338,489.20000 L 242.68191,489.01142 L 243.82267,488.63429 L 244.96344,488.25715 L 245.92871,487.69144 L 246.80622,487.12573 L 247.59599,486.37146 L 248.29800,485.52290 L 248.91226,484.67433 L 249.35100,483.63720 L 249.78976,482.50578 L 250.14078,481.37437 L 250.40402,480.05439 L 250.49178,478.73441 L 250.57953,477.22585 L 250.40402,475.71730 L 250.05302,474.30303 L 249.43876,472.88876 L 248.56125,471.56878 L 247.42048,470.34308 L 246.10421,469.11738 L 244.43693,467.98596 L 242.59416,466.85454 L 233.55576,461.95176 L 231.80074,460.91462 L 230.22120,459.78320 L 228.72943,458.55750 L 227.32541,457.42608 L 226.00914,456.20039 L 224.86837,454.88040 L 223.81535,453.56042 L 222.85009,452.24043 L 222.06033,450.82616 L 221.35832,449.41189 L 220.74405,447.90335 L 220.21755,446.39479 L 219.86654,444.88624 L 219.51553,443.28340 L 219.42778,441.68056 L 219.34004,439.98344 L 219.42778,437.90918 L 219.60329,435.92920 L 220.04204,433.94923 L 220.56855,432.06354 L 221.18281,430.27212 L 222.06033,428.57501 L 223.02560,426.97216 L 224.16636,425.36933 L 225.39488,423.95506 L 226.79890,422.72936 L 228.20292,421.69223 L 229.78245,420.84367 L 231.44972,420.08939 L 233.11700,419.61797 L 234.95978,419.33511 L 236.89031,419.24084 L 237.24132,419.24084 L 237.68008,419.33511 L 238.20658,419.42940 L 238.82085,419.52368 L 239.43511,419.61797 L 240.22487,419.80654 L 241.10238,419.99511 L 242.06764,420.18367 L 244.17368,420.74938 L 246.45522,421.50367 L 249.00000,422.44650 L 251.72030,423.57793 L 252.24681,423.57793 L 253.03657,423.48364 L 253.73858,423.29506 L 254.35284,422.91793 L 254.79160,422.44650 L 255.14261,421.88080 L 255.40586,421.12652 L 255.58137,420.27797 L 255.66911,419.24084 L 259.09142,419.24084 L 259.09142,441.86913 L 256.19563,441.86913 L 255.40586,439.70058 L 254.61610,437.72060 L 253.73858,435.83492 L 252.77332,434.13780 L 251.80805,432.53495 L 250.84279,431.02641 L 249.78976,429.70642 L 248.73674,428.57501 L 247.59599,427.53788 L 246.45522,426.59503 L 245.22670,425.84075 L 243.99818,425.27504 L 242.68191,424.80362 L 241.36564,424.42649 L 240.04936,424.23791 L 238.64534,424.14363 L 236.36380,424.23791 L 234.43328,424.70933 L 232.76600,425.36933 L 231.36197,426.31217 L 230.30896,427.44359 L 229.60695,428.95215 L 229.16819,430.64927 L 228.99269,432.72353 L 228.99269,433.85494 L 229.08044,434.89207 L 229.16819,435.83492 L 229.34369,436.77776 L 229.51920,437.43776 L 229.78245,438.09775 L 230.04570,438.66345 L 230.39671,439.13488 L 230.83546,439.51202 L 231.27423,439.98344 L 231.88848,440.45486 L 232.59050,441.02057 L 233.38026,441.58628 L 234.25778,442.24627 L 235.31078,442.90626 L 236.36380,443.66054 L 247.15723,449.12904 L 248.73674,450.35474 L 250.22853,451.48616 L 251.54480,452.71186 L 252.86107,454.03184 L 254.00184,455.25754 L 255.14261,456.57752 L 256.10787,457.99179 L 256.89762,459.40606 L 257.68740,460.82034 L 258.38941,462.23460 L 258.91591,463.74315 L 259.35467,465.25171 L 259.70568,466.85454 L 259.96893,468.45738 L 260.14443,470.06022 L 260.23218,471.75734 L 260.14443,474.11446 L 259.88118,476.37729 L 259.44242,478.45155 L 258.74041,480.52581 L 257.95064,482.41150 L 256.98538,484.10863 L 255.84462,485.80574 L 254.52835,487.31430 L 253.03657,488.63429 L 251.36930,489.85998 L 249.52652,490.80283 L 247.59599,491.65139 L 245.40220,492.21710 L 243.12066,492.68852 L 240.66362,492.97138 L 238.03108,493.06566 L 235.83730,492.97138 L 233.55576,492.59424 L 231.27423,492.02853 L 228.99269,491.27425 L 227.93967,490.80283 L 226.97440,490.42569 L 226.09690,490.14283 L 225.39488,489.85998 L 224.86837,489.67142 L 224.42962,489.48285 L 224.07861,489.48285 L 223.90310,489.38856 L 223.20109,489.48285 L 222.67458,489.67142 L 222.14808,489.95427 L 221.70932,490.33141 L 221.44607,490.80283 L 221.18281,491.46283 L 221.09506,492.21710 L 221.00731,493.06566 L 217.67276,493.06566 L 217.67276,493.06566 z M 393.00005,280.17107 L 393.00005,277.15396 L 394.22857,277.15396 L 395.36934,277.05968 L 396.42235,276.87110 L 397.29987,276.68253 L 398.08963,276.49396 L 398.79165,276.11683 L 399.40591,275.73969 L 399.84466,275.36255 L 400.28341,274.79685 L 400.63443,274.23113 L 400.89767,273.47686 L 401.16093,272.62830 L 401.33643,271.59117 L 401.42419,270.55403 L 401.51194,269.32834 L 401.51194,268.00835 L 401.51194,222.84604 L 401.51194,221.24319 L 401.42419,219.82893 L 401.33643,218.60324 L 401.16093,217.47182 L 400.98543,216.52897 L 400.72218,215.77468 L 400.45892,215.11470 L 400.10792,214.64327 L 399.75691,214.26614 L 399.23039,213.98329 L 398.52840,213.70043 L 397.82638,213.51185 L 396.94887,213.32329 L 395.89585,213.22901 L 394.84283,213.13473 L 393.61431,213.13473 L 393.61431,210.68332 L 446.44065,210.68332 L 446.44065,230.76594 L 445.29988,230.76594 L 444.94888,228.31455 L 444.42238,226.05172 L 443.89587,223.97746 L 443.19386,222.18604 L 442.40409,220.58321 L 441.52658,219.16894 L 440.47356,218.03752 L 439.33279,217.09468 L 438.01652,216.34041 L 436.52474,215.58612 L 434.76972,215.02041 L 432.83918,214.54899 L 430.73315,214.17185 L 428.36387,213.98329 L 425.81908,213.79471 L 423.09878,213.70043 L 422.04576,213.70043 L 421.08050,213.79471 L 420.20299,213.88900 L 419.41322,213.98329 L 418.79896,214.07757 L 418.18470,214.26614 L 417.74595,214.45471 L 417.48270,214.64327 L 417.21944,214.92612 L 416.95618,215.39756 L 416.78068,215.86897 L 416.60518,216.52897 L 416.42968,217.37753 L 416.34192,218.22609 L 416.34192,219.26322 L 416.34192,220.39463 L 416.34192,242.36294 L 417.48270,242.36294 L 419.23772,242.36294 L 420.81725,242.17438 L 422.30902,241.89152 L 423.71304,241.51438 L 424.94156,241.04296 L 425.99458,240.47725 L 426.87209,239.81726 L 427.66186,239.06298 L 428.36387,238.12014 L 428.97812,236.98872 L 429.68013,235.66874 L 430.20664,234.25447 L 430.73315,232.55735 L 431.25966,230.76594 L 431.78617,228.69168 L 432.22493,226.52313 L 434.50646,226.52313 L 434.50646,261.31415 L 432.22493,261.31415 L 431.87392,259.14560 L 431.52292,257.07134 L 431.08416,255.27994 L 430.64540,253.58281 L 430.11889,252.16855 L 429.50464,250.84855 L 428.89038,249.71715 L 428.27612,248.77429 L 427.48636,248.02002 L 426.52109,247.36003 L 425.38032,246.79432 L 424.15180,246.32290 L 422.66002,245.94576 L 421.08050,245.66290 L 419.32547,245.47433 L 417.48270,245.47433 L 416.34192,245.47433 L 416.34192,269.23405 L 416.34192,270.27118 L 416.34192,271.11974 L 416.42968,271.96830 L 416.51743,272.62830 L 416.60518,273.28829 L 416.78068,273.75971 L 416.95618,274.13686 L 417.13169,274.41970 L 417.39494,274.60827 L 417.83370,274.79685 L 418.36021,274.98542 L 418.97447,275.07970 L 419.67648,275.17398 L 420.55400,275.26827 L 421.51926,275.26827 L 422.57227,275.36255 L 426.52109,275.36255 L 428.62712,275.26827 L 430.55766,275.07970 L 432.48818,274.70256 L 434.33097,274.23113 L 435.99824,273.66543 L 437.66552,272.91115 L 439.15729,272.06259 L 440.56131,271.02547 L 441.87759,269.89405 L 443.19386,268.66835 L 444.33462,267.25408 L 445.38764,265.74552 L 446.35291,264.04840 L 447.23042,262.25699 L 448.02018,260.27702 L 448.63444,258.20276 L 452.05674,258.20276 L 446.96716,280.17107 L 393.00005,280.17107 L 393.00005,280.17107 z "
55
     id="path14" />
56
</svg>
0 57

  
tags/tmp_build/applications/appgvSIG/northimages/simple.svg
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!--
3

  
4
   Copyright 2001  The Apache Software Foundation 
5

  
6
   Licensed under the Apache License, Version 2.0 (the "License");
7
   you may not use this file except in compliance with the License.
8
   You may obtain a copy of the License at
9

  
10
       http://www.apache.org/licenses/LICENSE-2.0
11

  
12
   Unless required by applicable law or agreed to in writing, software
13
   distributed under the License is distributed on an "AS IS" BASIS,
14
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
   See the License for the specific language governing permissions and
16
   limitations under the License.
17

  
18
-->
19
<!-- ========================================================================= -->
20
<!-- GVT under the spot-light!                                                 -->
21
<!--                                                                           -->
22
<!-- @author vincent.hardy@eng.sun.com                                         -->
23
<!-- @version $Id$ -->
24
<!-- ========================================================================= -->
25
<svg
26
   xmlns:xml="http://www.w3.org/XML/1998/namespace"
27
   xmlns:dc="http://purl.org/dc/elements/1.1/"
28
   xmlns:cc="http://web.resource.org/cc/"
29
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
30
   xmlns:svg="http://www.w3.org/2000/svg"
31
   xmlns="http://www.w3.org/2000/svg"
32
   xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
33
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
34
   width="450"
35
   height="500"
36
   viewBox="0 0 450 500"
37
   id="svg2755"
38
   sodipodi:version="0.32"
39
   inkscape:version="0.40+cvs"
40
   sodipodi:docname="simple.svg"
41
   sodipodi:docbase="C:\Documents and Settings\fjp\Mis documentos">
42
  <metadata
43
     id="metadata2887">
44
    <rdf:RDF
45
       id="RDF2889">
46
      <cc:Work
47
         rdf:about=""
48
         id="Work2891">
49
        <dc:format
50
           id="format2893">image/svg+xml</dc:format>
51
        <dc:type
52
           id="type2895"
53
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
54
      </cc:Work>
55
    </rdf:RDF>
56
  </metadata>
57
  <sodipodi:namedview
58
     id="base"
59
     pagecolor="#ffffff"
60
     bordercolor="#666666"
61
     borderopacity="1.0"
62
     inkscape:pageopacity="0.0"
63
     inkscape:pageshadow="2"
64
     inkscape:window-width="1152"
65
     inkscape:window-height="804"
66
     inkscape:zoom="0.72400000"
67
     inkscape:cx="224.99999"
68
     inkscape:cy="250.00000"
69
     inkscape:window-x="-4"
70
     inkscape:window-y="-4"
71
     inkscape:current-layer="svg2755" />
72
  <defs
73
     id="defs2757" />
74
  <text
75
     xml:space="preserve"
76
     style="font-size:112.92661;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1.0000000;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;font-family:Bitstream Vera Sans"
77
     x="200.62242"
78
     y="94.693489"
79
     id="text3740"
80
     transform="scale(0.926461,1.079376)"><tspan
81
       sodipodi:role="line"
82
       id="tspan3742"
83
       x="200.62242"
84
       y="94.693489">N</tspan></text>
85
  <path
86
     style="fill:#000000;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#000000;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"
87
     d="M 224.68750,128.13156 L 173.50000,319.10031 L 208.09375,319.10031 L 208.09375,455.50656 L 224.68750,455.50656 L 224.68750,128.13156 z M 225.34375,128.13156 L 225.34375,455.50656 L 241.90625,455.50656 L 241.90625,319.10031 L 276.50000,319.10031 L 225.34375,128.13156 z "
88
     id="path4585" />
89
</svg>
0 90

  
tags/tmp_build/applications/appgvSIG/northimages/nordRosas.svg
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!-- Created with Inkscape (http://www.inkscape.org/) -->
3
<svg
4
   xmlns:dc="http://purl.org/dc/elements/1.1/"
5
   xmlns:cc="http://web.resource.org/cc/"
6
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
7
   xmlns:svg="http://www.w3.org/2000/svg"
8
   xmlns="http://www.w3.org/2000/svg"
9
   xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
10
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
11
   version="1.0"
12
   sodipodi:docname="nordRosas.svg"
13
   sodipodi:docbase="D:\Download\datos\PRUEBAS\northimages"
14
   viewBox="0 0 450 500"
15
   height="500"
16
   width="450"
17
   inkscape:version="0.40+cvs"
18
   sodipodi:version="0.32"
19
   id="svg2">
20
  <metadata
21
     id="metadata7">
22
    <rdf:RDF
23
       id="RDF4">
24
      <cc:Work
25
         id="Work6"
26
         rdf:about="">
27
        <dc:format
28
           id="format8">image/svg+xml</dc:format>
29
        <dc:type
30
           id="type10"
31
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
32
      </cc:Work>
33
    </rdf:RDF>
34
  </metadata>
35
  <defs
36
     id="defs5" />
37
  <sodipodi:namedview
38
     inkscape:document-units="cm"
39
     inkscape:current-layer="Extras"
40
     inkscape:window-y="110"
41
     inkscape:window-x="110"
42
     inkscape:cy="301.29578"
43
     inkscape:cx="234.01902"
44
     inkscape:zoom="0.78504222"
45
     id="base"
46
     pagecolor="#ffffff"
47
     bordercolor="#666666"
48
     borderopacity="1.0"
49
     inkscape:pageopacity="0.0"
50
     inkscape:pageshadow="2"
51
     inkscape:window-width="769"
52
     inkscape:window-height="544" />
53
  <g
54
     transform="matrix(1.135655,0,0,1.075187,44.53582,78.01662)"
55
     id="Extras"
56
     style="fill-rule:nonzero;stroke:#000000;stroke-miterlimit:4">
57
    <path
58
       style="stroke:none"
59
       d="M 8.9172838,200.65588 L 135.55805,170.74063 L 160.94769,20.875289 L 186.82912,170.74063 L 313.90022,201.23396 L 186.82912,231.07696 L 160.94769,380.43648 L 135.55805,231.07696 L 8.9172838,200.65588 z M 160.94769,201.23396 L 20.228887,201.23396 L 137.40234,229.415 L 160.94769,201.23396 z M 160.94769,34.098699 L 137.40234,171.89677 L 160.94769,201.23396 L 160.94769,34.098699 z M 160.94769,201.23396 L 160.94769,366.63499 L 184.98484,229.415 L 160.94769,201.23396 L 160.94769,201.23396 z M 184.98484,171.89677 L 160.94769,201.23396 L 302.15829,201.23396 L 184.98484,171.89677 z M 133.22196,-60.994251 L 133.22196,-62.656211 L 145.88604,-62.656211 L 178.83724,-16.771691 L 178.83724,-52.684451 L 178.83724,-54.057371 L 178.71428,-55.285781 L 178.59133,-56.369661 L 178.4069,-57.381291 L 178.09952,-58.320661 L 177.79214,-58.970991 L 177.42327,-59.549071 L 176.99294,-59.910361 L 176.68557,-60.271651 L 176.31671,-60.632951 L 175.94786,-60.921991 L 175.45605,-61.138761 L 174.84128,-61.355541 L 174.22653,-61.427801 L 173.4888,-61.572321 L 172.75111,-61.572321 L 172.2593,-61.572321 L 172.2593,-62.656211 L 189.2267,-62.656211 L 189.2267,-61.572321 L 187.81275,-61.572321 L 186.8906,-61.500061 L 186.02994,-61.427801 L 185.29223,-61.283281 L 184.61599,-60.994251 L 184.00122,-60.705211 L 183.44793,-60.343921 L 183.0176,-59.838101 L 182.58726,-59.332291 L 182.58726,-2.8979511 L 181.17332,-2.8979511 L 146.86966,-49.360531 L 146.86966,-13.953581 L 146.86966,-12.291631 L 146.86966,-10.774181 L 146.93114,-9.5457811 L 146.93114,-8.4618911 L 147.05409,-7.5947811 L 147.11556,-6.9444511 L 147.17704,-6.5109011 L 147.3,-6.2218611 L 148.09917,-5.4992711 L 149.0828,-4.9934611 L 150.25084,-4.7044211 L 151.54183,-4.5599011 L 153.87794,-4.5599011 L 153.87794,-3.4760211 L 135.98838,-3.4760211 L 135.98838,-4.5599011 L 137.40234,-4.5599011 L 138.32448,-4.6321711 L 139.12367,-4.7766811 L 139.86138,-5.0657111 L 140.47615,-5.4270111 L 141.58271,-6.1496011 L 142.62781,-6.7999311 L 142.68928,-7.1612311 L 142.81224,-7.6670411 L 142.87371,-8.3173711 L 142.93519,-9.1122211 L 142.99666,-10.123851 L 143.05815,-11.280001 L 143.05815,-12.508411 L 143.05815,-13.953581 L 143.05815,-54.924491 L 142.68928,-54.996741 L 142.3819,-55.213521 L 142.19748,-55.430301 L 142.13599,-55.502551 L 141.09091,-56.514181 L 140.16877,-57.309031 L 139.554,-58.031621 L 139.06219,-58.537441 L 138.63186,-58.898731 L 137.95563,-59.260031 L 137.09496,-59.621321 L 135.98838,-59.910361 L 135.68102,-60.416171 L 135.06625,-60.705211 L 134.26706,-60.921991 L 133.22196,-60.994251 L 133.22196,-60.994251 z "
60
       id="path1336" />
61
  </g>
62
</svg>
0 63

  
tags/tmp_build/applications/appgvSIG/northimages/simpleNorth.svg
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!-- Created with Inkscape (http://www.inkscape.org/) -->
3
<svg
4
   xmlns:xml="http://www.w3.org/XML/1998/namespace"
5
   xmlns:dc="http://purl.org/dc/elements/1.1/"
6
   xmlns:cc="http://web.resource.org/cc/"
7
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
   xmlns:svg="http://www.w3.org/2000/svg"
9
   xmlns="http://www.w3.org/2000/svg"
10
   xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
11
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
   sodipodi:docbase="D:\Download\datos\PRUEBAS\northimages"
13
   sodipodi:docname="simpleNorth.svg"
14
   inkscape:version="0.40+cvs"
15
   sodipodi:version="0.32"
16
   xml:space="preserve"
17
   id="svg2"
18
   viewBox="0 0 450 500"
19
   height="500"
20
   width="450"
21
   version="1.0"><metadata
22
   id="metadata8">
23
  <rdf:RDF
24
     id="RDF4">
25
    <cc:Work
26
       id="Work6"
27
       rdf:about="">
28
      <dc:format
29
         id="format8">image/svg+xml</dc:format>
30
      <dc:type
31
         id="type10"
32
         rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
33
    </cc:Work>
34
  </rdf:RDF>
35
</metadata>
36
<sodipodi:namedview
37
   inkscape:current-layer="svg2"
38
   inkscape:window-y="-4"
39
   inkscape:window-x="-4"
40
   inkscape:cy="250.00000"
41
   inkscape:cx="225.00000"
42
   inkscape:zoom="1.0780000"
43
   id="base"
44
   pagecolor="#ffffff"
45
   bordercolor="#666666"
46
   borderopacity="1.0"
47
   inkscape:pageopacity="0.0"
48
   inkscape:pageshadow="2"
49
   inkscape:window-width="1024"
50
   inkscape:window-height="719" />
51
<defs
52
   id="defs17" />
53

  
54
	<path
55
   id="path14"
56
   style="fill-rule:nonzero;stroke:none;stroke-miterlimit:4.0000000"
57
   d="M 86.978411,340.24249 L 216.26541,24.408965 L 227.40954,52.147805 L 228.23782,52.147805 L 232.98160,38.582545 L 363.02159,355.02437 L 233.80989,320.22916 L 105.35116,355.02437 L 114.08576,333.12529 L 86.978411,340.24249 L 86.978411,340.24249 z M 216.26541,30.917865 L 90.969209,337.01846 L 216.26541,303.50069 L 340.65802,337.01846 L 216.26541,30.917865 z M 181.10115,475.59103 L 181.10115,373.76027 L 198.64563,373.76027 L 264.07976,452.41450 L 264.07976,373.76027 L 280.04298,373.76027 L 280.04298,475.59103 L 262.49850,475.59103 L 197.06437,396.93680 L 197.06437,475.59103 L 181.10115,475.59103 L 181.10115,475.59103 z " />
58

  
59
</svg>
0 60

  
tags/tmp_build/applications/appgvSIG/northimages/complex.svg
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!--
3

  
4
   Copyright 2001  The Apache Software Foundation 
5

  
6
   Licensed under the Apache License, Version 2.0 (the "License");
7
   you may not use this file except in compliance with the License.
8
   You may obtain a copy of the License at
9

  
10
       http://www.apache.org/licenses/LICENSE-2.0
11

  
12
   Unless required by applicable law or agreed to in writing, software
13
   distributed under the License is distributed on an "AS IS" BASIS,
14
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
   See the License for the specific language governing permissions and
16
   limitations under the License.
17

  
18
-->
19
<!-- ========================================================================= -->
20
<!-- GVT under the spot-light!                                                 -->
21
<!--                                                                           -->
22
<!-- @author vincent.hardy@eng.sun.com                                         -->
23
<!-- @version $Id$ -->
24
<!-- ========================================================================= -->
25
<svg
26
   xmlns:dc="http://purl.org/dc/elements/1.1/"
27
   xmlns:cc="http://web.resource.org/cc/"
28
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
29
   xmlns:svg="http://www.w3.org/2000/svg"
30
   xmlns="http://www.w3.org/2000/svg"
31
   xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
32
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
33
   width="450"
34
   height="500"
35
   viewBox="0 0 450 500"
36
   id="svg2755"
37
   sodipodi:version="0.32"
38
   inkscape:version="0.40+cvs"
39
   sodipodi:docname="complex.svg"
40
   sodipodi:docbase="C:\Documents and Settings\fjp\Mis documentos">
41
  <metadata
42
     id="metadata2887">
43
    <rdf:RDF
44
       id="RDF2889">
45
      <cc:Work
46
         rdf:about=""
47
         id="Work2891">
48
        <dc:format
49
           id="format2893">image/svg+xml</dc:format>
50
        <dc:type
51
           id="type2895"
52
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
53
      </cc:Work>
54
    </rdf:RDF>
55
  </metadata>
56
  <sodipodi:namedview
57
     id="base"
58
     pagecolor="#ffffff"
59
     bordercolor="#666666"
60
     borderopacity="1.0"
61
     inkscape:pageopacity="0.0"
62
     inkscape:pageshadow="2"
63
     inkscape:window-width="1152"
64
     inkscape:window-height="804"
65
     inkscape:zoom="1.2480000"
66
     inkscape:cx="84.400960"
67
     inkscape:cy="252.04184"
68
     inkscape:window-x="-4"
69
     inkscape:window-y="-4"
70
     inkscape:current-layer="svg2755" />
71
  <defs
72
     id="defs2757" />
73
  <path
74
     transform="matrix(3.129734,0.000000,0.000000,3.129734,-240.0860,-132.5642)"
75
     d="M 208.30013 122.23536 A 59.697727 59.697727 0 1 1  88.904675,122.23536 A 59.697727 59.697727 0 1 1  208.30013 122.23536 z"
76
     sodipodi:ry="59.697727"
77
     sodipodi:rx="59.697727"
78
     sodipodi:cy="122.23536"
79
     sodipodi:cx="148.60240"
80
     id="path1751"
81
     style="stroke-opacity:1.0000000;stroke-linejoin:miter;stroke-linecap:butt;stroke-width:1.0000000px;stroke:#000000;fill-rule:evenodd;fill-opacity:0.75000000;fill:none"
82
     sodipodi:type="arc" />
83
  <path
84
     transform="matrix(2.428890,0.000000,0.000000,2.428890,-135.9389,-46.89624)"
85
     d="M 208.30013 122.23536 A 59.697727 59.697727 0 1 1  88.904675,122.23536 A 59.697727 59.697727 0 1 1  208.30013 122.23536 z"
86
     sodipodi:ry="59.697727"
87
     sodipodi:rx="59.697727"
88
     sodipodi:cy="122.23536"
89
     sodipodi:cx="148.60240"
90
     id="path1753"
91
     style="stroke-opacity:1.0000000;stroke-linejoin:miter;stroke-linecap:butt;stroke-width:1.0000000px;stroke:#000000;fill-rule:evenodd;fill-opacity:0.75000000;fill:none"
92
     sodipodi:type="arc" />
93
  <g
94
     transform="matrix(3.129734,0.000000,0.000000,3.129734,-351.7159,-2.378312)"
95
     id="g3446">
96
    <g
97
       id="g1761"
98
       transform="matrix(0.344216,-0.336555,0.344216,0.336555,114.7027,73.24620)"
99
       style="font-size:12.000000">
100
      <rect
101
         style="fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke-width:1.0000000pt"
102
         id="rect1763"
103
         width="18.802979"
104
         height="17.907625"
105
         x="81.479645"
106
         y="102.58115" />
107
      <g
108
         id="g1765">
109
        <path
110
           style="font-size:12.000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.37718001"
111
           d="M -40.156300,69.061300 L -40.000000,-11.407500 L -40.000000,-11.407500 L -48.593700,68.748800 L -48.593700,68.748800 L -40.156300,69.061300 z "
112
           id="path1767"
113
           transform="matrix(1.060590,0.000000,0.000000,0.995220,133.2080,33.84540)" />
114
        <path
115
           style="font-size:12.000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.37500000"
116
           d="M -32.860600,53.044200 L -41.719100,61.902700 L -32.860600,70.761200"
117
           id="path1769"
118
           transform="matrix(1.030050,0.000000,0.000000,1.029970,124.7050,38.71900)" />
119
        <path
120
           style="font-size:12.000000;fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.37500000"
121
           d="M -55.078900,64.794300 L -46.010100,55.504600 M -55.124700,55.565000 L -54.738100,-24.519200 L -54.738100,-24.519200 L -45.900500,55.475000 L -45.955800,55.364500"
122
           id="path1771"
123
           transform="matrix(1.000070,0.000000,0.000000,1.000000,145.7740,46.80670)" />
124
        <path
125
           style="font-size:12.000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.37718001"
126
           d="M -40.156300,69.061300 L -40.000000,-11.407500 L -40.000000,-11.407500 L -48.593700,68.748800 L -48.593700,68.748800 L -40.156300,69.061300 z "
127
           id="path1773"
128
           transform="matrix(-1.948220e-16,-1.060520,0.995290,-1.828130e-16,13.21300,69.00150)" />
129
        <path
130
           style="font-size:12.000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.37500000"
131
           d="M -32.860600,53.044200 L -41.719100,61.902700 L -32.860600,70.761200"
132
           id="path1775"
133
           transform="matrix(-1.892110e-16,-1.029980,1.030040,-1.891960e-16,18.08700,77.50380)" />
134
        <path
135
           style="font-size:12.000000;fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.37500000"
136
           d="M -55.078900,64.794300 L -46.010100,55.504600 M -55.124700,55.565000 L -54.738100,-24.519200 L -54.738100,-24.519200 L -45.900500,55.475000 L -45.955800,55.364500"
137
           id="path1777"
138
           transform="matrix(-1.837040e-16,-1.000000,1.000070,-1.836910e-16,26.17520,56.43630)" />
139
        <path
140
           style="font-size:12.000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.37718001"
141
           d="M -40.156300,69.061300 L -40.000000,-11.407500 L -40.000000,-11.407500 L -48.593700,68.748800 L -48.593700,68.748800 L -40.156300,69.061300 z "
142
           id="path1779"
143
           transform="matrix(-1.060590,1.298720e-16,-1.218850e-16,-0.995220,48.29300,189.1050)" />
144
        <path
145
           style="font-size:12.000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.37500000"
146
           d="M -32.860600,53.044200 L -41.719100,61.902700 L -32.860600,70.761200"
147
           id="path1781"
148
           transform="matrix(-1.030050,1.261320e-16,-1.261400e-16,-1.029970,56.79590,184.2320)" />
149
        <path
150
           style="font-size:12.000000;fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.37500000"
151
           d="M -55.078900,64.794300 L -46.010100,55.504600 M -55.124700,55.565000 L -54.738100,-24.519200 L -54.738100,-24.519200 L -45.900500,55.475000 L -45.955800,55.364500"
152
           id="path1783"
153
           transform="matrix(-1.000070,1.224610e-16,-1.224700e-16,-1.000000,35.72690,176.1440)" />
154
        <path
155
           style="font-size:12.000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.37718001"
156
           d="M -40.156300,69.061300 L -40.000000,-11.407500 L -40.000000,-11.407500 L -48.593700,68.748800 L -48.593700,68.748800 L -40.156300,69.061300 z "
157
           id="path1785"
158
           transform="matrix(6.494050e-17,1.060520,-0.995290,6.093760e-17,168.4440,153.9490)" />
159
        <path
160
           style="font-size:12.000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.37500000"
161
           d="M -32.860600,53.044200 L -41.719100,61.902700 L -32.860600,70.761200"
162
           id="path1787"
163
           transform="matrix(6.307040e-17,1.029980,-1.030040,6.306540e-17,163.5700,145.4470)" />
164
        <path
165
           style="font-size:12.000000;fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.37500000"
166
           d="M -55.078900,64.794300 L -46.010100,55.504600 M -55.124700,55.565000 L -54.738100,-24.519200 L -54.738100,-24.519200 L -45.900500,55.475000 L -45.955800,55.364500"
167
           id="path1789"
168
           transform="matrix(6.123460e-17,1.000000,-1.000070,6.123030e-17,155.4820,166.5140)" />
169
      </g>
170
    </g>
171
    <rect
172
       transform="matrix(0.999931,1.175590e-2,1.077101e-2,0.999942,0.000000,0.000000)"
173
       style="font-size:12.000000;fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke-width:1.0000000pt"
174
       id="rect1859"
175
       width="9.0519810"
176
       height="9.0064220"
177
       x="178.93785"
178
       y="73.929436" />
179
    <path
180
       style="font-size:12.000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.18652663"
181
       d="M 184.12062,76.354539 L 183.76659,37.804685 L 183.76659,37.804685 L 179.81126,76.156351 L 179.81126,76.156351 L 184.12062,76.354539 z "
182
       id="path1863" />
183
    <path
184
       style="font-size:12.000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.18592222"
185
       d="M 184.18545,71.915771 L 179.84245,76.258430 L 184.28430,80.699948"
186
       id="path1865" />
187
    <path
188
       style="font-size:12.000000;fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.18051170"
189
       d="M 184.20455,80.699080 L 188.52005,76.276354 M 184.13250,76.256050 L 183.88479,37.707373 L 183.88479,37.707373 L 188.57265,76.262698 L 188.54543,76.209207"
190
       id="path1867" />
191
    <path
192
       style="font-size:12.000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.18652704"
193
       d="M 179.99612,80.645497 L 141.44173,80.131846 L 141.44173,80.131846 L 179.89487,84.951202 L 179.89487,84.951202 L 179.99612,80.645497 z "
194
       id="path1869" />
195
    <path
196
       style="font-size:12.000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.18592241"
197
       d="M 175.55442,80.480725 L 179.99624,84.922292 L 184.33920,80.579584"
198
       id="path1871" />
199
    <path
200
       style="font-size:12.000000;fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.18051170"
201
       d="M 184.34021,80.659316 L 179.81891,76.243468 M 179.89737,80.631364 L 141.34178,80.011405 L 141.34178,80.011405 L 179.80407,76.190549 L 179.75117,76.216571"
202
       id="path1873" />
203
    <path
204
       style="font-size:12.000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.18652663"
205
       d="M 184.34406,84.923112 L 184.69809,123.47297 L 184.69809,123.47297 L 188.65342,85.121302 L 188.65342,85.121302 L 184.34406,84.923112 z "
206
       id="path1875" />
207
    <path
208
       style="font-size:12.000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.18592222"
209
       d="M 184.27923,89.362262 L 188.62223,85.019602 L 184.18038,80.578084"
210
       id="path1877" />
211
    <path
212
       sodipodi:nodetypes="ccccccc"
213
       style="font-size:12.000000;fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.18051170"
214
       d="M 184.26013,80.578722 L 179.94463,85.001452 M 184.33218,85.021752 L 184.57989,123.57043 L 184.57989,123.57043 L 179.89203,85.015102 L 179.86352,84.957134"
215
       id="path1879" />
216
    <path
217
       style="font-size:12.000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.18652704"
218
       d="M 188.54366,80.633095 L 227.09805,81.146746 L 227.09805,81.146746 L 188.64491,76.327395 L 188.64491,76.327395 L 188.54366,80.633095 z "
219
       id="path1881" />
220
    <path
221
       style="font-size:12.000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.18592241"
222
       d="M 192.98536,80.797987 L 188.54354,76.356425 L 184.20058,80.699128"
223
       id="path1883" />
224
    <path
225
       style="font-size:12.000000;fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:#000000;stroke-width:0.18051170"
226
       d="M 184.19967,80.619186 L 188.72097,85.035032 M 188.64251,80.647138 L 227.19810,81.267097 L 227.19810,81.267097 L 188.73581,85.087952 L 188.78871,85.061932"
227
       id="path1885" />
228
  </g>
229
  <text
230
     style="font-size:47.825783;font-style:italic;font-weight:normal;stroke-width:1.0000000pt;font-family:Palatino Linotype"
231
     x="212.39168"
232
     y="97.125954"
233
     id="text1887"
234
     transform="scale(0.966073,1.035119)"><tspan
235
       x="212.39168"
236
       y="97.125954"
237
       sodipodi:role="line"
238
       id="tspan1889">N</tspan></text>
239
  <text
240
     style="font-size:52.966011;font-weight:bold;stroke-width:1.0000000pt;font-family:Palatino Linotype"
241
     x="199.16826"
242
     y="452.17377"
243
     id="text1891"
244
     transform="scale(1.044019,0.957837)"><tspan
245
       x="199.16826"
246
       y="452.17377"
247
       sodipodi:role="line"
248
       id="tspan1893">S</tspan></text>
249
  <text
250
     style="font-size:52.328350;font-style:italic;font-weight:normal;stroke-width:1.0000000pt;font-family:Palatino Linotype"
251
     x="40.926407"
252
     y="259.45203"
253
     id="text1895"
254
     transform="scale(0.967902,1.033163)"><tspan
255
       x="40.926407"
256
       y="259.45203"
257
       sodipodi:role="line"
258
       id="tspan1897">O</tspan></text>
259
  <text
260
     style="font-size:54.677143;font-style:italic;font-weight:normal;stroke-width:1.0000000pt;font-family:Palatino Linotype"
261
     x="369.36926"
262
     y="271.09772"
263
     id="text1899"
264
     transform="scale(1.011346,0.988781)"><tspan
265
       x="369.36926"
266
       y="271.09772"
267
       sodipodi:role="line"
268
       id="tspan1901">E</tspan></text>
269
</svg>
0 270

  
tags/tmp_build/applications/appgvSIG/.project
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>appgvSIG</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.jdt.core.javabuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
		<buildCommand>
14
			<name>de.loskutov.FileSync.FSBuilder</name>
15
			<arguments>
16
			</arguments>
17
		</buildCommand>
18
	</buildSpec>
19
	<natures>
20
		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
21
		<nature>org.eclipse.jdt.core.javanature</nature>
22
		<nature>org.eclipse.jem.beaninfo.BeanInfoNature</nature>
23
	</natures>
24
</projectDescription>
0 25

  
tags/tmp_build/applications/appgvSIG/build.number
1
#Build Number for ANT. Do not edit!
2
#Wed Nov 21 13:14:02 CET 2007
3
build.number=1206
0 4

  
tags/tmp_build/applications/appgvSIG/scripts/buildApi.xml
1
<project basedir=".." name="build" default="buildAPIReference">
2
	<!--
3
	Note: the replacement in html links uses lots of memory, this script should
4
	be launched using the -Xmx512M parameter for the JVM.
5
	-->
6
	<property name="tmpSourceDir" value="/tmp/tmp-sources"/>
7
	<property name="apiReferenceDir" value="/tmp/docs/dist/html/APIReference"/>
8

  
9
	<property name="passw" value="my_password"/>
10
	<property name="server" value="my_server"/>
11
	<property name="port" value="6666"/>
12
	<property name="user" value="my_user"/>
13
	<property name="remoteDir1" value="/remoteDir1"/>
14
	<property name="remoteDir2" value="/remoteDir2"/>
15
	<property name="encoding" value="ISO-8859-1"/>
16
	<property name="ftp-passive" value="yes"/>
17
	<property name="verbose" value="yes"/>
18

  
19
<!--=======================================================================-->		
20
	
21
	<!-- Deploy del API -->
22
	<target name="deployAPIReference" depends="buildAPIReference">
23
		<!-- zope no acepta directorios llamados 'values' -->
24
		<antcall target="renameFiles">
25
			<param name="targetDir" value="${apiReferenceDir}" />
26
			<param name="oldValue" value="/values"/>
27
			<param name="newValue" value="/values_" />
28
		</antcall>
29
		<antcall target="replaceInLinks">
30
			<param name="targetDir" value="${apiReferenceDir}" />
31
			<param name="oldValue" value="/values"/>
32
			<param name="newValue" value="/values_" />
33
		</antcall>
34
		<!-- Deploy del API en el directorio no Plone-->
35
		<antcall target="deleteRemoteFiles">
36
			<param name="remoteDir" value="${remoteDir1}"/>
37
			<param name="excludeFiles" value=""/>
38
		</antcall>
39
		<antcall target="deleteRemoteDirs">
40
			<param name="remoteDir" value="${remoteDir1}"/>
41
			<param name="excludeDirs" value=""/>
42
		</antcall>
43
		<echo>apiReferenceDir ${apiReferenceDir}
44
			remoteDir1: ${remoteDir1}"
45
		</echo>
46
		<antcall target="copyFilesToRemote">
47
			<param name="sourceDir" value="${apiReferenceDir}"/>
48
			<param name="remoteDir" value="${remoteDir1}"/>
49
		</antcall>
50
		<!--
51
		No queremos crear el .zip con la API
52
		<antcall target="makeZipFile" 
53
			description="Crea un fichero .zip con la documentacion del api">
54
			<param name="dstDir" value="${basedir}/docs/dist/zip/apiref.zip"/>
55
			<param name="srcDir" value="${apiReferenceDir}"/>
56
		</antcall>
57
		<antcall target="copyFilesToRemote" 
58
			description="Copia el fichero apiref.zip al directorio remoto">
59
			<param name="sourceDir" value="${basedir}/docs/dist/zip"/>
60
			<param name="remoteDir" value="${remoteDir}/portal2"/>
61
		</antcall> -->
62

  
63
		<!-- Deploy del API en el directorio Plone-->
64
		<!-- Plone no acepta directorios llamados 'search' -->		
65
		<antcall target="renameFiles">
66
			<param name="targetDir" value="${apiReferenceDir}" />
67
			<param name="oldValue" value="/search"/>
68
			<param name="newValue" value="/search_" />
69
		</antcall>
70
		<antcall target="replaceInLinks">
71
			<param name="targetDir" value="${apiReferenceDir}" />
72
			<param name="oldValue" value="/search"/>
73
			<param name="newValue" value="/search_" />
74
		</antcall>
75
		<antcall target="renameFiles">
76
			<param name="targetDir" value="${apiReferenceDir}" />
77
			<param name="oldValue" value="/layout"/>
78
			<param name="newValue" value="/layout_" />
79
		</antcall>
80
		<antcall target="replaceInLinks">
81
			<param name="targetDir" value="${apiReferenceDir}" />
82
			<param name="oldValue" value="/layout"/>
83
			<param name="newValue" value="/layout_" />
84
		</antcall>
85
		<antcall target="renameFiles">
86
			<param name="targetDir" value="${apiReferenceDir}" />
87
			<param name="oldValue" value="/actions"/>
88
			<param name="newValue" value="/actions_" />
89
		</antcall>
90
		<antcall target="replaceInLinks">
91
			<param name="targetDir" value="${apiReferenceDir}" />
92
			<param name="oldValue" value="/actions"/>
93
			<param name="newValue" value="/actions_" />
94
		</antcall>
95
		<antcall target="renameFiles">
96
			<param name="targetDir" value="${apiReferenceDir}" />
97
			<param name="oldValue" value="/view"/>
98
			<param name="newValue" value="/view_" />
99
		</antcall>
100
		<antcall target="replaceInLinks">
101
			<param name="targetDir" value="${apiReferenceDir}" />
102
			<param name="oldValue" value="/view"/>
103
			<param name="newValue" value="/view_" />
104
		</antcall>
105
		<antcall target="renameFiles">
106
			<param name="targetDir" value="${apiReferenceDir}" />
107
			<param name="oldValue" value="/properties"/>
108
			<param name="newValue" value="/properties_" />
109
		</antcall>
110
		<antcall target="replaceInLinks">
111
			<param name="targetDir" value="${apiReferenceDir}" />
112
			<param name="oldValue" value="/properties"/>
113
			<param name="newValue" value="/properties_" />
114
		</antcall>
115
 		<antcall target="deleteRemoteFiles">
116
			<param name="remoteDir" value="${remoteDir2}"/>
117
			<param name="excludeFiles" value="${remoteDir2}/indice.html"/>
118
		</antcall>
119
		<antcall target="deleteRemoteDirs">
120
			<param name="remoteDir" value="${remoteDir2}"/>
121
			<param name="excludeDirs" value=""/>
122
		</antcall>
123
		<echo>apiReferenceDir ${apiReferenceDir}
124
			remoteDir1: ${remoteDir1}"
125
		</echo>
126
		<antcall target="copyFilesToRemote">
127
			<param name="sourceDir" value="${apiReferenceDir}"/>
128
			<param name="remoteDir" value="${remoteDir2}"/>
129
		</antcall>
130
	</target>	
131
	
132
	<target name="buildAPIReference" 
133
  		description="Crea el documento Javadoc del componente">
134
  		<delete dir="${apiReferenceDir}" />
135
  		<mkdir dir="${apiReferenceDir}"/>
136
		<echo>Basedir: ${basedir}</echo>
137
		<echo>Output dir: ${apiReferenceDir}</echo>
138
		<!--
139
			Copy the packaes from all the projects to a temporary directory.
140
			We need only one directory to properly generate the Javadocs.
141
		-->
142
		<delete dir="${tmpSourceDir}" failonerror="false"/>
143
		<mkdir dir="${tmpSourceDir}"/>		
144
		<copy todir="${tmpSourceDir}">
145
		    <fileset dir="${basedir}/_fwAndami/src">
146
		        <include name="**/*.java"/>
147
		    </fileset>
148
			<fileset dir="${basedir}/appgvSIG/src">
149
		        <include name="**/*.java"/>
150
		    </fileset>
151
			<fileset dir="${basedir}/extAddEventTheme/src">
152
		        <include name="**/*.java"/>
153
		    </fileset>
154
			<fileset dir="${basedir}/extCAD/src">
155
		        <include name="**/*.java"/>
156
		    </fileset>
157
			<fileset dir="${basedir}/extCatalogYNomenclator/src">
158
		        <include name="**/*.java"/>
159
		    </fileset>
160
			<fileset dir="${basedir}/extDataLocator/src">
161
		        <include name="**/*.java"/>
162
		    </fileset>
163
			<fileset dir="${basedir}/extDwg/src">
164
		        <include name="**/*.java"/>
165
		    </fileset>
166
			<fileset dir="${basedir}/extGeoProcessing/src">
167
		        <include name="**/*.java"/>
168
		    </fileset>
169
			<fileset dir="${basedir}/extJDBC/src">
170
		        <include name="**/*.java"/>
171
		    </fileset>
172
			<fileset dir="${basedir}/extRasterTools/src">
173
		        <include name="**/*.java"/>
174
		    </fileset>
175
			<fileset dir="${basedir}/extWCS/src">
176
		        <include name="**/*.java"/>
177
		    </fileset>
178
			<fileset dir="${basedir}/extWFS2/src">
179
		        <include name="**/*.java"/>
180
		    </fileset>
181
			<fileset dir="${basedir}/extWMS/src">
182
		        <include name="**/*.java"/>
183
		    </fileset>
184
			<fileset dir="${basedir}/libCorePlugin/src">
185
		        <include name="**/*.java"/>
186
		    </fileset>
187
		<!--	<fileset dir="${basedir}/libCq CMS for java/src">
188
		        <include name="**/*.java"/>
189
		    </fileset>			 -->
190
			<fileset dir="${basedir}/libDriverManager/src">
191
		        <include name="**/*.java"/>
192
		    </fileset>
193
			<fileset dir="${basedir}/libDwg/src">
194
		        <include name="**/*.java"/>
195
		    </fileset>
196
			<fileset dir="${basedir}/libFMap/src">
197
		        <include name="**/*.java"/>
198
		    </fileset>			
199
			<fileset dir="${basedir}/libInternationalization/src">
200
		        <include name="**/*.java"/>
201
		    </fileset>
202
			<fileset dir="${basedir}/libIverUtiles/src">
203
		        <include name="**/*.java"/>
204
		    </fileset>
205
			<fileset dir="${basedir}/libRemoteServices/src">
206
		        <include name="**/*.java"/>
207
		    </fileset>
208
			<fileset dir="${basedir}/libGDBMS/src/main/java/">
209
		        <include name="**/*.java"/>
210
		    </fileset>
211
		</copy>
212
  		<javadoc
213
			author="true"
214
			version="true"
215
			destdir="${apiReferenceDir}"
216
  			maxmemory="512m"
217
		  	source="1.4"
218
		  	doctitle="API DOCUMENTATION"
219
			bottom="API Documentation" 
220
			windowtitle="API Documentation"
221
  			verbose="${verbose}"
222
  			encoding="${encoding}">
223
  			<sourcepath>
224
  				<pathelement path="${tmpSourceDir}"/>
225
  			</sourcepath>
226
  			<packageset dir="/${tmpSourceDir}">
227
  				<include name="**/**"/>
228
  			</packageset>
229
	  	</javadoc>
230
  	</target>
231
	
232
<!-- ============================= Scripts ================================= -->
233
	<target name="makeRemoteDirs" 
234
		description="Crea un directorio por ftp">
235
		<ftp 
236
			action="mkdir" 
237
			server="${server}" 
238
			password="${passw}" 
239
			userid="${user}" 
240
			remotedir="${remoteDir}"
241
			port="${port}"
242
			passive="${ftp-passive}"
243
		/>
244
	</target>	
245
	<target name="deleteRemoteFiles" 
246
		description="Borra los archivos de los directorios remotos">
247
		<ftp
248
			action="del"
249
			server="${server}" 
250
			password="${passw}" 
251
			userid="${user}" 
252
			remotedir="${remoteDir}"
253
			port="${port}"
254
			passive="${ftp-passive}"
255
			verbose="${verbose}">
256
			<fileset dir="${remoteDir}">
257
				<include name="**"/>
258
				<exclude name="${excludeFiles}"/>
259
			</fileset>
260
		</ftp>
261
	</target>	
262
	<target name="deleteRemoteDirs" 
263
		description="Borra los directorios remotos">
264
		<ftp
265
			action="rmdir"
266
			server="${server}" 
267
			password="${passw}" 
268
			userid="${user}" 
269
			remotedir="${remoteDir}"
270
			port="${port}"
271
			passive="${ftp-passive}"
272
			verbose="${verbose}">
273
			<fileset>
274
				<include name="**"/>
275
				<exclude name="${excludeDirs}"/>
276
			</fileset>
277
		</ftp>
278
	</target>
279
	<target name="copyFilesToRemote"
280
		description="Copia archivos por ftp">
281
		<echo>Copying files to ftp://${server}/${remoteDir}</echo>
282
		<ftp server="${server}" 
283
			password="${passw}" 
284
			userid="${user}" 
285
			remotedir="${remoteDir}"
286
			port="${port}"
287
			passive="${ftp-passive}"
288
			verbose="${verbose}"
289
			binary="true">
290
		
291
			<fileset dir="${sourceDir}">
292
			    <include name="**/*"/>
293
			</fileset>
294
		</ftp>
295
	</target>
296
	<target name="moveDir"
297
		description="Mueve un directorio a otro">		
298
		<move todir="${dstDir}">
299
			<fileset dir="${srcDir}"/>
300
		</move>		
301
	</target>
302
	<target name="copyDir"
303
		description="Copia un árbol de directorios en otro directorio">		
304
		<copy todir="${dstDir}">
305
			<fileset dir="${srcDir}"/>
306
		</copy>		
307
	</target>
308
	<target name="makeZipFile"
309
		description="Crea un archivo zip">
310
		<zip destfile="${dstDir}"
311
			basedir="${srcDir}"
312
			includes="**/*.html">
313
		</zip>
314
	
315
	</target>
316

  
317
	<target name="replaceInLinks"
318
		description="For each html file in ${targetDir}, replaces ${oldValue} by ${newValue} in each href link">
319
		<replaceregexp flags="g">
320
			<regexp pattern='(A HREF="[^"]*)(${oldValue})([^"]*")'/>
321
			<substitution expression='\1${newValue}\3'/>
322
			<fileset dir="${apiReferenceDir}">
323
				<include name="**/*.html"/>
324
				<include name="**/*.HTML"/>
325
				<include name="**/*.htm"/>
326
				<include name="**/*.HTM"/>
327
			</fileset>
328
		</replaceregexp>
329
	</target>
330
	
331
	<!-- this target does not work perfectly:
332
	     - it will fail if two nested directories have to be replaced
333
	     - it will fail to replaces directory in the root directory
334
	     but anyway, we don't have these situations, so it will make the trick
335
	-->
336
	<target name="renameFiles"
337
		description="Rename directories from ${oldValue} to ${newValue} ">
338
		<move todir="${targetDir}" verbose="yes">
339
			<fileset 
340
				dir="${targetDir}"
341
				includes="**/*"/>
342
			<regexpmapper from="(.*)(${oldValue})(.*)" to="\1${newValue}\3" handledirsep="true"/>
343
		</move>
344
	</target>	
345
</project>
0 346

  
tags/tmp_build/applications/appgvSIG/scripts/voidTarget/build.xml
1
<project name="VoidTarget"  basedir=".">
2
	<description>
3
        	Void build file, to use it when a project is not present
4
   	</description>
5
	<property name="projectName" value="projectName" />
6
	
7
	<target name="batch-build">
8
		<echo>Warning: Project ${projectName} was skipped</echo>
9
	</target>
10
	<target name="clean">
11
		<echo>Warning: Project ${projectName} was skipped</echo>
12
	</target>
13
	<target name="import-build-number">
14
	</target>	
15
</project>
0 16

  
tags/tmp_build/applications/appgvSIG/scripts/zopeConnection.xml
1
<project basedir="../.." default="default" name="connectionData">
2

  
3
	<property name="basedir" location=".."/>
4
	<property name="passw" value="dokdeploy"/>
5
	<property name="server" value="192.168.0.1"/>
6
	<property name="port" value="10022"/>
7
	<property name="user" value="dokdeploy"/>	
8
	<property name="remoteDir1" value="/docdev/v1_0/apireference"/>
9
	<property name="remoteDir2" value="/plone/docdev/es/v1_0/apireference"/>
10
	<property name="ftp-passive" value="yes"/>
11
	<property name="verbose" value="no"/>
12

  
13
	<target name="default">
14
		<ant antfile="appgvSIG/scripts/buildApi.xml" target="deployAPIReference" inheritAll="true"/>
15
	</target>
16
		
17
</project>
0 18

  
tags/tmp_build/applications/appgvSIG/src/com/lamatek/swingextras/DaySelectionListener.java
1
package com.lamatek.swingextras;
2

  
3
/**
4
 * Interface used by {@link com.lamatek.swingextras.JDateChooser JDateChooser}
5
 * to notify when the user has selected a date.
6
 */
7
public interface DaySelectionListener {
8
	
9
	/**
10
	 * Called when a user selects a date.
11
	 */
12
	public void daySelected(int day);
13
	
14
}
0 15

  
tags/tmp_build/applications/appgvSIG/src/com/lamatek/swingextras/JDateChooser.java
1
package com.lamatek.swingextras;
2

  
3
import java.awt.BorderLayout;
4
import java.awt.Color;
5
import java.awt.Component;
6
import java.awt.FlowLayout;
7
import java.awt.GridBagConstraints;
8
import java.awt.GridBagLayout;
9
import java.awt.GridLayout;
10
import java.awt.Insets;
11
import java.awt.event.ActionEvent;
12
import java.awt.event.ActionListener;
13
import java.awt.event.MouseAdapter;
14
import java.awt.event.MouseEvent;
15
import java.awt.event.MouseListener;
16
import java.text.DateFormat;
17
import java.util.Calendar;
18
import java.util.Date;
19
import java.util.Vector;
20

  
21
import javax.swing.BorderFactory;
22
import javax.swing.JButton;
23
import javax.swing.JLabel;
24
import javax.swing.JPanel;
25
import javax.swing.border.BevelBorder;
26
import javax.swing.border.EtchedBorder;
27

  
28
import com.iver.andami.PluginServices;
29
import com.iver.andami.ui.mdiManager.IWindow;
30
import com.iver.andami.ui.mdiManager.WindowInfo;
31

  
32
/**
33
 * JDateChooser is a simple Date choosing component with similar functionality
34
 * to JFileChooser and JColorChooser. It can be used as a component, to 
35
 * be inserted into a client layout, or can display it's own Dialog
36
 * through use of the {@link #showDialog(Component, String) showDialog} method.
37
 * <p>
38
 * JDateChooser can be initialized to the current date using the no argument
39
 * constructor, or initialized to a predefined date by passing an instance
40
 * of Calendar to the constructor.<p>
41
 * Using the JDateChooser dialog works in a similar manner to JFileChooser
42
 * or JColorChooser. The {@link #showDialog(Component, String) showDialog} method
43
 * returns an int that equates to the public variables ACCEPT_OPTION, CANCEL_OPTION
44
 * or ERROR_OPTION.<p>
45
 * <tt>
46
 * JDateChooser chooser = new JDateChooser();<br>
47
 * if (chooser.showDialog(this, "Select a date...") == JDateChooser.ACCEPT_OPTION) {<br>
48
 * &nbsp;&nbsp;Calendar selectedDate = chooser.getSelectedDate();<br>
49
 * &nbsp;&nbsp;// process date here...<br>
50
 * }<p>
51
 * To use JDateChooser as a component within a GUI, users should subclass
52
 * JDateChooser and override the {@link #acceptSelection() acceptSelection} and
53
 * {@link #cancelSelection() cancelSelection} methods to process the 
54
 * corresponding user selection.<p>
55
 * The current date can be retrieved by calling {@link #getSelectedDate() getSelectedDate}
56
 * method.
57
 */
58

  
59
public class JDateChooser extends JPanel implements ActionListener, DaySelectionListener, IWindow {
60
	
61
	public static final int CANCEL_OPTION = 4;
62
	private int currentDay;
63
	private int currentMonth;
64
	private int currentYear;
65
	private JLabel dateText;
66
	private Calendar calendar;
67
	private Date date;
68
	private JButton previousYear;
69
	private JButton previousMonth;
70
	private JButton nextMonth;
71
	private JButton nextYear;
72
	private JButton okay;
73
	private JButton cancel;
74
	private JPanel days;
75
	
76
	private DayListener dayListener = new DayListener();
77
	/**
78
	 * This constructor creates a new instance of JDateChooser initialized to
79
	 * the current date.
80
	 */
81
	public JDateChooser() {
82
		this(Calendar.getInstance());
83
	}
84
	
85
	/**
86
	 * Creates a new instance of JDateChooser initialized to the given Calendar.
87
	 */
88
	public JDateChooser(Calendar c) {
89
		super();
90
		this.calendar = c;
91
		this.calendar.setLenient(true);
92
		setup();
93
	}
94
	
95
	private void setup() {
96
		GridBagLayout g = new GridBagLayout();
97
		GridBagConstraints c = new GridBagConstraints();
98
		JPanel header = new JPanel(g);
99
		c.gridx = 0;
100
		c.gridy = 0;
101
		c.insets = new Insets(2, 0, 2, 0);
102
		previousYear = (JButton) header.add(new JButton("<<"));
103
		previousYear.addActionListener(this);
104
		previousYear.setToolTipText("A?o anterior");
105
		g.setConstraints(previousYear, c);
106
		previousMonth = (JButton) header.add(new JButton("<"));
107
		previousMonth.addActionListener(this);
108
		previousMonth.setToolTipText("Mes anterior");
109
		c.gridx++;
110
		g.setConstraints(previousMonth, c);
111
		dateText = (JLabel) header.add(new JLabel("", JLabel.CENTER));
112
		dateText.setBorder(new EtchedBorder(EtchedBorder.LOWERED));
113
		c.gridx++;
114
		c.weightx = 1.0;
115
		c.fill = c.BOTH;
116
		g.setConstraints(dateText, c);
117
		nextMonth = (JButton) header.add(new JButton(">"));
118
		nextMonth.addActionListener(this);
119
		nextMonth.setToolTipText("Mes siguiente");
120
		c.gridx++;
121
		c.weightx = 0.0;
122
		c.fill = c.NONE;
123
		g.setConstraints(nextMonth, c);
124
		nextYear = (JButton) header.add(new JButton(">>"));
125
		nextYear.addActionListener(this);
126
		nextYear.setToolTipText("A?o siguiente");
127
		c.gridx++;
128
		g.setConstraints(nextYear, c);
129
		
130
		updateCalendar(calendar);
131
		
132
		JPanel buttons = new JPanel(new FlowLayout(FlowLayout.RIGHT));
133
		okay = (JButton) buttons.add(new JButton("Ok"));
134
		okay.addActionListener(this);
135
		cancel = (JButton) buttons.add(new JButton("Cancelar"));
136
		cancel.addActionListener(this);
137
		
138
		setLayout(new BorderLayout());
139
		add("North", header);
140
		days.setBackground(Color.WHITE);
141
		days.setOpaque(true);
142
		days.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED));
143
		add("Center", days);
144
		add("South", buttons);
145
	}
146
	
147
	private void updateCalendar(Calendar c) {
148
		if (days != null)
149
			remove(days);
150
		currentDay = calendar.get(Calendar.DAY_OF_MONTH);
151
		currentMonth = calendar.get(Calendar.MONTH);
152
		currentYear = calendar.get(Calendar.YEAR);
153
		days = new JPanel(new GridLayout(7, 7));
154
		Calendar setup = (Calendar) calendar.clone();
155
		setup.set(Calendar.DAY_OF_WEEK, setup.getFirstDayOfWeek());
156
		int lastLayoutPosition = 0;
157
		for (int i = 0; i < 7; i++) {
158
			int dayInt = setup.get(Calendar.DAY_OF_WEEK);
159
			if (dayInt == Calendar.MONDAY)
160
				days.add(new JLabel("Mon", JLabel.CENTER));
161
			if (dayInt == Calendar.TUESDAY)
162
				days.add(new JLabel("Tue", JLabel.CENTER));
163
			if (dayInt == Calendar.WEDNESDAY)
164
				days.add(new JLabel("Wed", JLabel.CENTER));
165
			if (dayInt == Calendar.THURSDAY)
166
				days.add(new JLabel("Thu", JLabel.CENTER));
167
			if (dayInt == Calendar.FRIDAY)
168
				days.add(new JLabel("Fri", JLabel.CENTER));
169
			if (dayInt == Calendar.SATURDAY)
170
				days.add(new JLabel("Sat", JLabel.CENTER));
171
			if (dayInt == Calendar.SUNDAY)
172
				days.add(new JLabel("Sun", JLabel.CENTER));
173
			setup.roll(Calendar.DAY_OF_WEEK, true);
174
			lastLayoutPosition++;
175
		}
176
		setup = (Calendar) calendar.clone();
177
		setup.set(Calendar.DAY_OF_MONTH, 1);
178
		int first = setup.get(Calendar.DAY_OF_WEEK);
179
		for (int i = 0; i < (first - 1); i++) {
180
			days.add(new JLabel(""));
181
			lastLayoutPosition++;
182
		}
183
		setup.set(Calendar.DAY_OF_MONTH, 1);
184
		for (int i = 0; i < setup.getActualMaximum(setup.DAY_OF_MONTH); i++) {
185
			DayButton button = new DayButton(setup.get(setup.DAY_OF_MONTH));
186
			if (setup.get(Calendar.DAY_OF_MONTH) == currentDay){
187
				button.setBackground(Color.BLUE);
188
				button.setForeground(Color.WHITE);
189
				dayListener.setDia(button);
190
			}
191
			button.addDaySelectionListener(this);
192
			button.addMouseListener(dayListener);
193
			days.add(button);
194
			setup.roll(setup.DAY_OF_MONTH, true);
195
			lastLayoutPosition++;
196
		}
197
		for (int i = lastLayoutPosition; i < 49; i++)
198
			days.add(new JLabel(""));
199
		add("Center", days);
200
		validate();
201
		setup = null;
202
		updateLabel();
203
	}
204
	
205
	private void updateLabel() {
206
		Date date = calendar.getTime();
207
		dateText.setText(DateFormat.getInstance().format(date));
208
	}
209
	
210
	/**
211
	 * Returns the currently selected Date in the form of a java.util.Calendar
212
	 * object. Typically called adter receipt of an {@link #ACCEPT_OPTION ACCEPT_OPTION}
213
	 * (using the {@link #showDialog(Component, String) showDialog} method) or
214
	 * within the {@link #acceptSelection() acceptSelection} method (using the
215
	 * JDateChooser as a component.)<p>
216
	 * @return java.util.Calendar The selected date in the form of a Calendar object.
217
	 */
218
	public Calendar getSelectedDate() {
219
		return calendar;
220
	}
221
	
222
	/**
223
	 * Used to process events from the previous month, previous year, next month, next year,
224
	 * okay and cancel buttons. Users should call super.actionPerformed(ActionEvent) if overriding
225
	 * this method.
226
	 */
227
	public void actionPerformed(ActionEvent e) {
228
		if (e.getSource() == okay) {
229
			PluginServices.getMDIManager().closeWindow(this);
230
		}
231
		if (e.getSource() == cancel) {
232
			calendar = null;
233
			PluginServices.getMDIManager().closeWindow(this);
234
		}
235
		if (e.getSource() == previousYear) {
236
			calendar.roll(Calendar.YEAR, -1);
237
			updateCalendar(calendar);
238
		}
239
		if (e.getSource() == previousMonth) {
240
			calendar.roll(Calendar.MONTH, -1);
241
			updateCalendar(calendar);
242
		}
243
		if (e.getSource() == nextMonth) {
244
			calendar.roll(Calendar.MONTH, 1);
245
			updateCalendar(calendar);
246
		}
247
		if (e.getSource() == nextYear) {
248
			calendar.roll(Calendar.YEAR, 1);
249
			updateCalendar(calendar);
250
		}
251
	}
252
	
253
	/**
254
	 * Used to process day selection events from the user. This method resets
255
	 * resets the Calendar object to the selected day. Subclasses should make a call
256
	 * to super.daySelected() if overriding this method.
257
	 */
258
	public void daySelected(int d) {
259
		calendar.set(Calendar.DAY_OF_MONTH, d);
260
		updateLabel();
261
		currentDay = d;
262
	}
263

  
264
	/**
265
	 * @see com.iver.mdiApp.ui.MDIManager.IWindow#getWindowInfo()
266
	 */
267
	public WindowInfo getWindowInfo() {
268
		WindowInfo m_viewinfo=new WindowInfo(WindowInfo.MODALDIALOG);
269
			m_viewinfo.setTitle(PluginServices.getText(this,"seleccione_fecha"));
270
			m_viewinfo.setWidth(400);
271
			m_viewinfo.setHeight(200);
272
		
273
		return m_viewinfo;
274
	}
275

  
276
	/**
277
	 * @see com.iver.mdiApp.ui.MDIManager.IWindow#windowActivated()
278
	 */
279
	public void viewActivated() {
280
	}
281
}
282

  
283
class DayListener extends MouseAdapter{
284
	private DayButton btnDia;
285
	
286
	public void setDia(DayButton btn){
287
		btnDia = btn; 
288
	}
289
	/**
290
	 * @see java.awt.event.MouseListener#mouseClicked(java.awt.event.MouseEvent)
291
	 */
292
	public void mouseClicked(MouseEvent e) {
293
		if (btnDia != null){
294
			btnDia.setBackground(Color.WHITE);
295
			btnDia.setForeground(Color.BLACK);
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff