Revision 129

View differences:

org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.mapviewer/org.gvsig.educa.batovi.mapviewer/src/main/java/org/gvsig/educa/batovi/mapviewer/Main.java
22 22
package org.gvsig.educa.batovi.mapviewer;
23 23

  
24 24
import java.awt.BorderLayout;
25
import java.awt.Color;
25 26
import java.awt.Dimension;
27
import java.awt.Graphics;
26 28
import java.awt.Toolkit;
27 29
import java.awt.event.ActionEvent;
30
import java.awt.image.BufferedImage;
28 31
import java.io.File;
29 32
import java.io.IOException;
30 33
import java.net.URL;
......
34 37
import java.util.ResourceBundle;
35 38

  
36 39
import javax.swing.AbstractAction;
40
import javax.swing.Action;
37 41
import javax.swing.Box;
42
import javax.swing.ImageIcon;
38 43
import javax.swing.JButton;
39 44
import javax.swing.JFileChooser;
40 45
import javax.swing.JFrame;
......
117 122

  
118 123
    private AbstractAction setInfoToolAction;
119 124

  
125
    private ImageIcon defaultIcon;
126

  
120 127
    public static void main(String args[]) {
121 128
        new DefaultLibrariesInitializer().fullInitialize();
122 129
        instance = new Main();
......
222 229
                }
223 230
            };
224 231

  
225
        showOpenThematicMapDialogAction =
226
            new AbstractAction(translate("Open_Thematic_map")) {
232
        showOpenThematicMapDialogAction = new AbstractAction() {
227 233

  
228
                public void actionPerformed(ActionEvent e) {
229
                    showOpenThematicMapDialog();
230
                }
231
            };
234
            public void actionPerformed(ActionEvent e) {
235
                showOpenThematicMapDialog();
236
            }
237
        };
232 238
        showOpenThematicMapDialogAction.setEnabled(false);
239
        setActionIconAndTip(showOpenThematicMapDialogAction, "open",
240
            translate("Open_Thematic_map"));
233 241

  
234
        setZoomToolAction = new AbstractAction(translate("Zoom")) {
242
        setZoomToolAction = new AbstractAction() {
235 243

  
236 244
            public void actionPerformed(ActionEvent e) {
237 245
                setZoomTool();
238 246
            }
239 247
        };
240 248
        setZoomToolAction.setEnabled(false);
249
        setActionIconAndTip(setZoomToolAction, "zoom-in", translate("Zoom"));
241 250

  
242
        setPanToolAction = new AbstractAction(translate("Pan")) {
251
        setPanToolAction = new AbstractAction() {
243 252

  
244 253
            public void actionPerformed(ActionEvent e) {
245 254
                setPanTool();
246 255
            }
247 256
        };
248 257
        setPanToolAction.setEnabled(false);
258
        setActionIconAndTip(setPanToolAction, "pan", translate("Pan"));
249 259

  
250
        zoomAllAction = new AbstractAction(translate("Zoom_all")) {
260
        zoomAllAction = new AbstractAction() {
251 261

  
252 262
            public void actionPerformed(ActionEvent e) {
253 263
                zoomAll();
254 264
            }
255 265
        };
256 266
        zoomAllAction.setEnabled(false);
267
        setActionIconAndTip(zoomAllAction, "zoom-all", translate("Zoom_all"));
257 268

  
258
        setMeasuerToolAction = new AbstractAction(translate("measure")) {
269
        setMeasuerToolAction = new AbstractAction() {
259 270

  
260 271
            public void actionPerformed(ActionEvent e) {
261 272
                setMeasuerTool();
262 273
            }
263 274
        };
264 275
        setMeasuerToolAction.setEnabled(false);
276
        setActionIconAndTip(setMeasuerToolAction, "rule", translate("measure"));
265 277

  
266 278
        setAreaToolAction = new AbstractAction(translate("area")) {
267 279

  
......
270 282
            }
271 283
        };
272 284
        setAreaToolAction.setEnabled(false);
285
        setActionIconAndTip(setAreaToolAction, "area", translate("area"));
273 286

  
274
        setInfoToolAction = new AbstractAction(translate("infoByPoint")) {
287
        setInfoToolAction = new AbstractAction() {
275 288

  
276 289
            public void actionPerformed(ActionEvent e) {
277 290
                setInfoTool();
278 291
            }
279 292
        };
280 293
        setInfoToolAction.setEnabled(false);
294
        setActionIconAndTip(setInfoToolAction, "info", translate("infoByPoint"));
281 295

  
282
        closeThematicMapAction = new AbstractAction(translate("Close_Map")) {
296
        closeThematicMapAction = new AbstractAction() {
283 297

  
284 298
            public void actionPerformed(ActionEvent e) {
285 299
                closeMap();
286 300
            }
287 301
        };
288 302
        closeThematicMapAction.setEnabled(false);
303
        setActionIconAndTip(closeThematicMapAction, "close",
304
            translate("Close_Map"));
289 305

  
290
        exitAction = new AbstractAction(translate("Exit")) {
306
        exitAction = new AbstractAction() {
291 307

  
292 308
            public void actionPerformed(ActionEvent e) {
293 309
                exit();
294 310
            }
295 311
        };
312
        setActionIconAndTip(exitAction, "exit", translate("Exit"));
296 313

  
297 314
        addInstallUrl =
298 315
            new AbstractAction(translate("Add_a_ThematicMap_install_URL")) {
......
303 320

  
304 321
            };
305 322

  
306
        installThematicMaps =
307
            new AbstractAction(translate("Install_ThematicMaps")) {
323
        installThematicMaps = new AbstractAction() {
308 324

  
309
                public void actionPerformed(ActionEvent e) {
310
                    installThematicMap();
311
                }
325
            public void actionPerformed(ActionEvent e) {
326
                installThematicMap();
327
            }
312 328

  
313
            };
329
        };
314 330
        installThematicMaps.setEnabled(false);
331
        setActionIconAndTip(installThematicMaps, "install-map",
332
            translate("Install_ThematicMaps"));
315 333

  
316
        showHideTocAction = new AbstractAction(translate("Show_Hide_Toc")) {
334
        showHideTocAction = new AbstractAction() {
317 335

  
318 336
            public void actionPerformed(ActionEvent e) {
319 337
                showHideToc();
......
321 339

  
322 340
        };
323 341
        showHideTocAction.setEnabled(false);
342
        setActionIconAndTip(showHideTocAction, "show-hide-toc",
343
            translate("Show_Hide_Toc"));
324 344

  
325 345
    }
326 346

  
......
671 691
            return key;
672 692
        }
673 693
    }
694

  
695
    public ImageIcon getImage(String id) {
696
        String location = "images/".concat(id).concat(".png");
697

  
698
        ImageIcon icon;
699
        try {
700
            icon =
701
                new ImageIcon(getClass().getClassLoader().getResource(location));
702
        } catch (Exception ex) {
703
            LOG.error(
704
                "Can't load icon '".concat(id).concat("' (").concat(location)
705
                    .concat(")"), ex);
706
            if (defaultIcon == null) {
707
                BufferedImage image =
708
                    new BufferedImage(24, 24, BufferedImage.TYPE_INT_RGB);
709
                Graphics g = image.getGraphics();
710
                g.setColor(Color.RED);
711
                g.drawRect(6, 6, 18, 18);
712
                defaultIcon = new ImageIcon(image);
713
            }
714
            icon = defaultIcon;
715
        }
716
        return icon;
717
    }
718

  
719
    /**
720
     * Set icon and tooltip to Action
721
     * 
722
     * @param action
723
     * @param iconId
724
     * @param tooltip
725
     */
726
    public void setActionIconAndTip(AbstractAction action, String iconId,
727
        String tooltip) {
728
        action.putValue(Action.LARGE_ICON_KEY, getImage(iconId));
729
        action.putValue(Action.SHORT_DESCRIPTION, tooltip);
730
    }
674 731
}
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.mapviewer/org.gvsig.educa.batovi.mapviewer/src/main/java/org/gvsig/educa/batovi/mapviewer/OpenThematicMap.java
154 154

  
155 155
        actionPanel.add(Box.createHorizontalGlue());
156 156

  
157
        botOpen =
158
            usabManager.createJButton(new AbstractAction(main
159
                .translate("Open_Thematic_map")) {
157
        botOpen = usabManager.createJButton(new AbstractAction() {
160 158

  
161
                /**
159
            /**
162 160
             *
163 161
             */
164
                private static final long serialVersionUID =
165
                    -3437007146684939225L;
162
            private static final long serialVersionUID = -3437007146684939225L;
166 163

  
167
                public void actionPerformed(ActionEvent e) {
168
                    openSelected();
169
                }
170
            });
164
            public void actionPerformed(ActionEvent e) {
165
                openSelected();
166
            }
167
        });
171 168
        botOpen.setEnabled(false);
169
        botOpen.setIcon(main.getImage("open"));
170
        botOpen.setToolTipText(main.translate("Open_Thematic_map"));
172 171

  
173
        botCancel =
174
            usabManager.createJButton(new AbstractAction(main
175
                .translate("Cancel")) {
172
        botCancel = usabManager.createJButton(new AbstractAction() {
176 173

  
177
                /**
174
            /**
178 175
             *
179 176
             */
180
                private static final long serialVersionUID =
181
                    -2227776656041247582L;
177
            private static final long serialVersionUID = -2227776656041247582L;
182 178

  
183
                public void actionPerformed(ActionEvent e) {
184
                    close();
185
                }
186
            });
179
            public void actionPerformed(ActionEvent e) {
180
                close();
181
            }
182
        });
183
        botCancel.setIcon(main.getImage("close"));
184
        botCancel.setToolTipText(main.translate("Cancel"));
187 185

  
188 186
        actionPanel.add(botOpen);
189 187
        actionPanel.add(Box.createHorizontalStrut(10));
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.mapviewer/org.gvsig.educa.batovi.mapviewer/src/main/resources/images/src/rule.svg
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<svg
3
   xmlns:dc="http://purl.org/dc/elements/1.1/"
4
   xmlns:cc="http://creativecommons.org/ns#"
5
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
   xmlns:svg="http://www.w3.org/2000/svg"
7
   xmlns="http://www.w3.org/2000/svg"
8
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
9
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
10
   enable-background="new 0 0 55 54.696"
11
   height="54.696px"
12
   version="1.1"
13
   viewBox="0 0 55 54.696"
14
   width="55px"
15
   x="0px"
16
   xml:space="preserve"
17
   y="0px"
18
   id="svg3354"
19
   inkscape:version="0.48.2 r9819"
20
   sodipodi:docname="rule.svg"><metadata
21
     id="metadata3365"><rdf:RDF><cc:Work
22
         rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
23
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs
24
     id="defs3363">
25
	
26
	
27
</defs><sodipodi:namedview
28
     pagecolor="#ffffff"
29
     bordercolor="#666666"
30
     borderopacity="1"
31
     objecttolerance="10"
32
     gridtolerance="10"
33
     guidetolerance="10"
34
     inkscape:pageopacity="0"
35
     inkscape:pageshadow="2"
36
     inkscape:window-width="1279"
37
     inkscape:window-height="508"
38
     id="namedview3361"
39
     showgrid="false"
40
     inkscape:zoom="4.3147582"
41
     inkscape:cx="12.338748"
42
     inkscape:cy="32.086097"
43
     inkscape:window-x="7"
44
     inkscape:window-y="24"
45
     inkscape:window-maximized="0"
46
     inkscape:current-layer="svg3354" /><g
47
     id="g2992"
48
     transform="translate(0.125,5.2851624)"><rect
49
       transform="matrix(0,-1,1,0,0,0)"
50
       display="inline"
51
       height="45"
52
       width="25.097675"
53
       x="-34.611675"
54
       y="4.875"
55
       id="rect3357"
56
       style="fill:#ffffff;display:inline" /><rect
57
       transform="matrix(0,-1,1,0,0,0)"
58
       display="inline"
59
       height="35.999001"
60
       width="18.96258"
61
       x="-31.544479"
62
       y="9.2089996"
63
       id="rect3359"
64
       style="fill:#c6c8ca;display:inline" /><rect
65
       y="13.439749"
66
       x="14.667347"
67
       height="8.7840214"
68
       width="0.49164295"
69
       id="rect4141"
70
       style="fill:#ffffff;fill-opacity:0;stroke:#faf7f7;stroke-width:1.78885436;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" /><rect
71
       y="13.657114"
72
       x="23.079905"
73
       height="13.176031"
74
       width="0.49164295"
75
       id="rect4141-4"
76
       style="fill:#ffffff;fill-opacity:0;stroke:#faf7f7;stroke-width:2.19089031;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" /><rect
77
       y="13.439749"
78
       x="31.49246"
79
       height="8.7840214"
80
       width="0.49164295"
81
       id="rect4141-5"
82
       style="fill:#ffffff;fill-opacity:0;stroke:#faf7f7;stroke-width:1.78885436;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" /><rect
83
       y="13.657114"
84
       x="39.905018"
85
       height="13.176031"
86
       width="0.49164295"
87
       id="rect4141-6"
88
       style="fill:#ffffff;fill-opacity:0;stroke:#faf7f7;stroke-width:2.19089031;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" /></g></svg>
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.mapviewer/org.gvsig.educa.batovi.mapviewer/src/main/resources/images/src/area.svg
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<svg
3
   xmlns:dc="http://purl.org/dc/elements/1.1/"
4
   xmlns:cc="http://creativecommons.org/ns#"
5
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
   xmlns:svg="http://www.w3.org/2000/svg"
7
   xmlns="http://www.w3.org/2000/svg"
8
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
9
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
10
   enable-background="new 0 0 55 54.696"
11
   height="54.696px"
12
   version="1.1"
13
   viewBox="0 0 55 54.696"
14
   width="55px"
15
   x="0px"
16
   xml:space="preserve"
17
   y="0px"
18
   id="svg3354"
19
   inkscape:version="0.48.2 r9819"
20
   sodipodi:docname="area.svg"><metadata
21
     id="metadata3365"><rdf:RDF><cc:Work
22
         rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
23
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
24
     id="defs3363" /><sodipodi:namedview
25
     pagecolor="#ffffff"
26
     bordercolor="#666666"
27
     borderopacity="1"
28
     objecttolerance="10"
29
     gridtolerance="10"
30
     guidetolerance="10"
31
     inkscape:pageopacity="0"
32
     inkscape:pageshadow="2"
33
     inkscape:window-width="1279"
34
     inkscape:window-height="508"
35
     id="namedview3361"
36
     showgrid="false"
37
     inkscape:zoom="12.203979"
38
     inkscape:cx="24.220119"
39
     inkscape:cy="15.757068"
40
     inkscape:window-x="0"
41
     inkscape:window-y="24"
42
     inkscape:window-maximized="0"
43
     inkscape:current-layer="svg3354" /><g
44
     display="block"
45
     id="format-columns-single"
46
     transform="matrix(0,-0.64161946,0.9471939,0,1.5121113,38.520974)"
47
     style="display:block">
48
	<rect
49
   display="inline"
50
   height="45"
51
   width="35.667999"
52
   x="9.5410004"
53
   y="4.848"
54
   id="rect3357"
55
   style="fill:#ffffff;display:inline" />
56
	<rect
57
   display="inline"
58
   height="35.999001"
59
   width="26.948999"
60
   x="13.9"
61
   y="9.1820002"
62
   id="rect3359"
63
   style="fill:#c6c8ca;display:inline" />
64
</g><rect
65
     style="fill:#ffffff;fill-opacity:0;stroke:#faf7f7;stroke-width:1.59360957;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
66
     id="rect4141"
67
     width="0.49164295"
68
     height="7.0272169"
69
     x="14.667347"
70
     y="13.126872" /><rect
71
     style="fill:#ffffff;fill-opacity:0;stroke:#faf7f7;stroke-width:1.95176518;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
72
     id="rect4141-4"
73
     width="0.49164295"
74
     height="10.540825"
75
     x="23.079905"
76
     y="13.300765" /><rect
77
     style="fill:#ffffff;fill-opacity:0;stroke:#faf7f7;stroke-width:1.59360957;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
78
     id="rect4141-5"
79
     width="0.49164295"
80
     height="7.0272169"
81
     x="31.49246"
82
     y="13.126872" /><rect
83
     style="fill:#ffffff;fill-opacity:0;stroke:#faf7f7;stroke-width:1.95176518;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
84
     id="rect4141-6"
85
     width="0.49164295"
86
     height="10.540825"
87
     x="39.905018"
88
     y="13.300765" /><rect
89
     style="fill:#999999;fill-opacity:0;stroke:#985f5f;stroke-width:3.44543457;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:3.79999995;stroke-opacity:1;stroke-dasharray:3.44543467, 10.33630399;stroke-dashoffset:0"
90
     id="rect4194"
91
     width="43.510403"
92
     height="39.243874"
93
     x="4.8344884"
94
     y="8.2357397" /></svg>
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.mapviewer/org.gvsig.educa.batovi.mapviewer/src/main/resources/images/src/zoom-in.svg
1
<?xml version="1.0" ?><!DOCTYPE svg  PUBLIC '-//W3C//DTD SVG 1.1//EN'  'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'><svg enable-background="new 0 0 55 54.696" height="54.696px" version="1.1" viewBox="0 0 55 54.696" width="55px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px"><g display="block" id="zoom-in">
2
	<g display="inline">
3
		<path d="M9.875,23.572c0,7.569,6.131,13.705,13.702,13.705    c7.562,0,13.694-6.136,13.694-13.705c0-7.564-6.132-13.698-13.694-13.698C16.006,9.874,9.875,16.008,9.875,23.572z" fill="#808284" stroke="#FFFFFF" stroke-width="3.5"/>
4
		<line fill="none" stroke="#FFFFFF" stroke-width="3.5" x1="33.266" x2="45.047" y1="33.262" y2="45.045"/>
5
		<line fill="none" stroke="#FFFFFF" stroke-width="3.5" x1="17.484" x2="29.151" y1="23.348" y2="23.348"/>
6
		<line fill="none" stroke="#FFFFFF" stroke-width="3.5" x1="23.316" x2="23.316" y1="17.517" y2="29.184"/>
7
	</g>
8
</g></svg>
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.mapviewer/org.gvsig.educa.batovi.mapviewer/src/main/resources/images/src/exit.svg
1
<?xml version="1.0" ?><!DOCTYPE svg  PUBLIC '-//W3C//DTD SVG 1.1//EN'  'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [
2
	<!ENTITY stroke_color "#010101">
3
	<!ENTITY fill_color "#FFFFFF">
4
]><svg enable-background="new 0 0 55 55" height="55px" version="1.1" viewBox="0 0 55 55" width="55px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px"><g display="block" id="activity-stop">
5
	<path d="M36.822,5H18.181L5.002,18.182V36.82L18.181,50h18.642l13.176-13.18V18.182L36.822,5z    M35.75,35.414h-15.5v-15.5h15.5V35.414z" display="inline" fill="&fill_color;"/>
6
</g></svg>
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.mapviewer/org.gvsig.educa.batovi.mapviewer/src/main/resources/images/src/zoom-out.svg
1
<?xml version="1.0" ?><!DOCTYPE svg  PUBLIC '-//W3C//DTD SVG 1.1//EN'  'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'><svg enable-background="new 0 0 55 54.696" height="54.696px" version="1.1" viewBox="0 0 55 54.696" width="55px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px"><g display="block" id="zoom-out">
2
	<g display="inline">
3
		<path d="M9.875,23.572c0,7.569,6.131,13.705,13.702,13.705    c7.562,0,13.694-6.136,13.694-13.705c0-7.564-6.132-13.698-13.694-13.698C16.006,9.874,9.875,16.008,9.875,23.572z" fill="#808284" stroke="#FFFFFF" stroke-width="3.5"/>
4
		<line fill="none" stroke="#FFFFFF" stroke-width="3.5" x1="33.266" x2="45.047" y1="33.262" y2="45.045"/>
5
		<line fill="none" stroke="#FFFFFF" stroke-width="3.5" x1="17.484" x2="29.151" y1="23.348" y2="23.348"/>
6
	</g>
7
</g></svg>
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.mapviewer/org.gvsig.educa.batovi.mapviewer/src/main/resources/images/src/show-hide-toc.svg
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<svg
3
   xmlns:dc="http://purl.org/dc/elements/1.1/"
4
   xmlns:cc="http://creativecommons.org/ns#"
5
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
   xmlns:svg="http://www.w3.org/2000/svg"
7
   xmlns="http://www.w3.org/2000/svg"
8
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
9
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
10
   enable-background="new 0 0 55 54.696"
11
   height="54.696px"
12
   version="1.1"
13
   viewBox="0 0 55 54.696"
14
   width="55px"
15
   x="0px"
16
   xml:space="preserve"
17
   y="0px"
18
   id="svg3056"
19
   inkscape:version="0.48.2 r9819"
20
   sodipodi:docname="s-h-toc2.svg"><metadata
21
     id="metadata3069"><rdf:RDF><cc:Work
22
         rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
23
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
24
     id="defs3067">
25
	
26
	
27
	
28
</defs><sodipodi:namedview
29
     pagecolor="#ffffff"
30
     bordercolor="#666666"
31
     borderopacity="1"
32
     objecttolerance="10"
33
     gridtolerance="10"
34
     guidetolerance="10"
35
     inkscape:pageopacity="0"
36
     inkscape:pageshadow="2"
37
     inkscape:window-width="1440"
38
     inkscape:window-height="876"
39
     id="namedview3065"
40
     showgrid="false"
41
     inkscape:zoom="12.203979"
42
     inkscape:cx="13.242355"
43
     inkscape:cy="27.348"
44
     inkscape:window-x="0"
45
     inkscape:window-y="24"
46
     inkscape:window-maximized="1"
47
     inkscape:current-layer="svg3056" /><rect
48
     style="fill:#ffffff;display:inline"
49
     id="rect3059"
50
     y="4.848"
51
     x="9.5410004"
52
     width="35.667999"
53
     height="45"
54
     display="inline" /><rect
55
     style="fill:#c6c8ca;display:inline"
56
     id="rect3061"
57
     y="9.1820002"
58
     x="11.866573"
59
     width="11.243834"
60
     height="36"
61
     display="inline" /><rect
62
     style="fill:#c6c8ca;display:inline"
63
     id="rect3063"
64
     y="9.1820002"
65
     x="25.306433"
66
     width="17.26849"
67
     height="36"
68
     display="inline" /><polyline
69
     transform="matrix(1.0182338,1.4376488,-1.0182338,1.4376488,26.47424,-39.453062)"
70
     points="23.431,29.03 17.874,29.03 17.874,23.472   "
71
     id="polyline3235"
72
     style="fill:none;stroke:#ffffff;stroke-width:2.25" /><polyline
73
     transform="matrix(1.0182338,1.4376488,-1.0182338,1.4376488,22.72006,-39.453062)"
74
     points="23.499,17.85 29.057,17.85 29.055,23.408   "
75
     id="polyline3237"
76
     style="fill:none;stroke:#ffffff;stroke-width:2.25" /></svg>
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.mapviewer/org.gvsig.educa.batovi.mapviewer/src/main/resources/images/src/zoom-all.svg
1
<?xml version="1.0" ?><!DOCTYPE svg  PUBLIC '-//W3C//DTD SVG 1.1//EN'  'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'><svg enable-background="new 0 0 55 54.696" height="54.696px" version="1.1" viewBox="0 0 55 54.696" width="55px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px"><g display="block" id="zoom-best-fit">
2
	<g display="inline">
3
		<path d="M9.875,23.546c0,7.569,6.131,13.704,13.702,13.704    c7.562,0,13.694-6.135,13.694-13.704c0-7.564-6.132-13.698-13.694-13.698C16.006,9.848,9.875,15.982,9.875,23.546z" fill="#808284" stroke="#FFFFFF" stroke-width="3.5"/>
4
		<line fill="none" stroke="#FFFFFF" stroke-width="3.5" x1="33.266" x2="45.047" y1="33.262" y2="45.045"/>
5
		<polyline fill="none" points="23.431,29.03 17.874,29.03 17.874,23.472   " stroke="#FFFFFF" stroke-width="2.25"/>
6
		<polyline fill="none" points="23.499,17.85 29.057,17.85 29.055,23.408   " stroke="#FFFFFF" stroke-width="2.25"/>
7
	</g>
8
</g></svg>
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.mapviewer/org.gvsig.educa.batovi.mapviewer/src/main/resources/images/src/info.svg
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<svg
3
   xmlns:dc="http://purl.org/dc/elements/1.1/"
4
   xmlns:cc="http://creativecommons.org/ns#"
5
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
   xmlns:svg="http://www.w3.org/2000/svg"
7
   xmlns="http://www.w3.org/2000/svg"
8
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
9
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
10
   enable-background="new 0 0 55 54.696"
11
   height="54.696px"
12
   version="1.1"
13
   viewBox="0 0 55 54.696"
14
   width="55px"
15
   x="0px"
16
   xml:space="preserve"
17
   y="0px"
18
   id="svg2"
19
   inkscape:version="0.48.2 r9819"
20
   sodipodi:docname="info.svg"><metadata
21
   id="metadata17"><rdf:RDF><cc:Work
22
       rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
23
         rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
24
   id="defs15">
25
	
26

  
27
		
28
		
29
		
30
	</defs><sodipodi:namedview
31
   pagecolor="#ffffff"
32
   bordercolor="#666666"
33
   borderopacity="1"
34
   objecttolerance="10"
35
   gridtolerance="10"
36
   guidetolerance="10"
37
   inkscape:pageopacity="0"
38
   inkscape:pageshadow="2"
39
   inkscape:window-width="1440"
40
   inkscape:window-height="876"
41
   id="namedview13"
42
   showgrid="false"
43
   inkscape:zoom="12.203979"
44
   inkscape:cx="19.635464"
45
   inkscape:cy="31.185352"
46
   inkscape:window-x="0"
47
   inkscape:window-y="24"
48
   inkscape:window-maximized="1"
49
   inkscape:current-layer="svg2" /><path
50
   d="m 9.875,23.572 c 0,7.569 6.131,13.705 13.702,13.705 7.562,0 13.694,-6.136 13.694,-13.705 0,-7.564 -6.132,-13.698 -13.694,-13.698 -7.571,0 -13.702,6.134 -13.702,13.698 z"
51
   id="path7"
52
   inkscape:connector-curvature="0"
53
   style="fill:#808284;stroke:#ffffff;stroke-width:3.5" /><line
54
   x1="33.265999"
55
   x2="45.047001"
56
   y1="33.262001"
57
   y2="45.044998"
58
   id="line9"
59
   style="fill:none;stroke:#ffffff;stroke-width:3.5" /><text
60
   xml:space="preserve"
61
   style="font-size:18px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Andale Mono;-inkscape-font-specification:Andale Mono"
62
   x="20.15736"
63
   y="30.605495"
64
   id="text3773"
65
   sodipodi:linespacing="125%"><tspan
66
     sodipodi:role="line"
67
     id="tspan3775" /></text>
68

  
69
<g
70
   style="font-size:28px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Andale Mono;-inkscape-font-specification:Andale Mono"
71
   id="text3777"
72
   transform="matrix(2.1701325,0,0,0.94991617,-28.717804,1.2012481)"><path
73
     d="m 24.073509,14.168362 c 0.401032,1.9e-5 0.742829,0.145852 1.025391,0.4375 0.282541,0.282571 0.423817,0.624367 0.423828,1.02539 -1.1e-5,0.419289 -0.141287,0.7702 -0.423828,1.052735 -0.273448,0.282569 -0.615244,0.423844 -1.025391,0.423828 -0.373707,1.6e-5 -0.706389,-0.145817 -0.998047,-0.4375 -0.28256,-0.300764 -0.423836,-0.647118 -0.423828,-1.039063 -8e-6,-0.391908 0.141268,-0.733705 0.423828,-1.02539 0.291658,-0.291648 0.62434,-0.437481 0.998047,-0.4375 m 1.039063,19.632812 -2.132813,0 0,-12.40039 c 0.01706,-0.619953 0.02396,-1.24008 0.0324,-1.860189 l 2.100409,0.01449 0,14.246094"
74
     id="path3782"
75
     inkscape:connector-curvature="0"
76
     sodipodi:nodetypes="ccccccccccccccc"
77
     style="fill:#ffffff" /></g></svg>
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.mapviewer/org.gvsig.educa.batovi.mapviewer/src/main/resources/images/src/install-map.svg
1
<?xml version="1.0" ?><!DOCTYPE svg  PUBLIC '-//W3C//DTD SVG 1.1//EN'  'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [
2
	<!ENTITY stroke_color "#010101">
3
	<!ENTITY fill_color "#FFFFFF">
4
]><svg enable-background="new 0 0 55.125 55" height="55px" version="1.1" viewBox="0 0 55.125 55" width="55.125px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px"><g display="block" id="list-add">
5
	<path d="M43.467,11.644c-8.789-8.79-23.035-8.786-31.818-0.002   c-8.791,8.791-8.792,23.033-0.002,31.823c8.79,8.789,23.031,8.788,31.822-0.003C52.252,34.678,52.257,20.433,43.467,11.644z    M30.768,38.767c-0.002,1.774-1.438,3.216-3.214,3.214c-0.889,0.001-1.693-0.359-2.275-0.941c-0.582-0.581-0.94-1.385-0.94-2.27   l0-8.146h-8.146c-0.886-0.001-1.689-0.359-2.271-0.94c-0.582-0.583-0.942-1.388-0.942-2.276c0-1.773,1.439-3.213,3.217-3.211h8.143   v-8.143c-0.003-1.776,1.438-3.217,3.212-3.217c1.774,0,3.218,1.438,3.215,3.215l0.001,8.145l8.146,0.001   c1.775-0.005,3.212,1.438,3.213,3.213c0.002,1.775-1.441,3.214-3.215,3.215h-8.143V38.767z" display="inline" fill="&fill_color;"/>
6
</g></svg>
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.mapviewer/org.gvsig.educa.batovi.mapviewer/src/main/resources/images/src/open.svg
1
<?xml version="1.0" ?><!DOCTYPE svg  PUBLIC '-//W3C//DTD SVG 1.1//EN'  'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [
2
	<!ENTITY stroke_color "#010101">
3
	<!ENTITY fill_color "#FFFFFF">
4
]><svg enable-background="new 0 0 55 55" height="55px" version="1.1" viewBox="0 0 55 55" width="55px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px"><g display="block" id="go-next">
5
	<path d="M27.497,50.004C39.927,50.004,50,39.937,50,27.508C50,15.076,39.927,4.997,27.497,4.997   C15.071,4.997,5,15.076,5,27.508C5,39.937,15.071,50.004,27.497,50.004z M20.733,17.551l19.629,9.965L20.733,37.758V17.551z" fill="&fill_color;"/>
6
</g></svg>
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.mapviewer/org.gvsig.educa.batovi.mapviewer/src/main/resources/images/src/close.svg
1
<?xml version="1.0" ?><!DOCTYPE svg  PUBLIC '-//W3C//DTD SVG 1.1//EN'  'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [
2
	<!ENTITY stroke_color "#010101">
3
	<!ENTITY fill_color "#FFFFFF">
4
]><svg enable-background="new 0 0 55.125 55" height="55px" version="1.1" viewBox="0 0 55.125 55" width="55.125px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px"><g display="block" id="dialog-cancel">
5
	<path d="M27.557,5.053c-12.43,0-22.5,10.076-22.5,22.497c0,12.432,10.07,22.503,22.5,22.503   c12.431,0,22.5-10.071,22.5-22.503C50.057,15.129,39.987,5.053,27.557,5.053z M37.756,33.212c1.254,1.256,1.257,3.291,0,4.545   c-0.628,0.629-1.451,0.943-2.274,0.943c-0.822,0-1.644-0.314-2.27-0.94l-5.76-5.761l-5.76,5.761   c-0.627,0.626-1.449,0.94-2.271,0.94c-0.823,0-1.647-0.314-2.275-0.943c-1.254-1.254-1.254-3.289,0.004-4.545l5.758-5.758   l-5.758-5.758c-1.258-1.254-1.258-3.292-0.004-4.546c1.255-1.254,3.292-1.259,4.546,0l5.76,5.759l5.76-5.759   c1.252-1.259,3.288-1.254,4.544,0c1.257,1.254,1.254,3.292,0,4.546l-5.758,5.758L37.756,33.212z" display="inline" fill="&fill_color;"/>
6
</g></svg>

Also available in: Unified diff