Revision 23
trunk/org.gvsig.app.document.layout.app/org.gvsig.app.document.layout.app.mainplugin/src/main/java/org/gvsig/app/extension/LayoutExtension.java | ||
---|---|---|
31 | 31 |
import org.slf4j.Logger; |
32 | 32 |
import org.slf4j.LoggerFactory; |
33 | 33 |
|
34 |
import org.gvsig.andami.IconThemeHelper; |
|
34 | 35 |
import org.gvsig.andami.PluginServices; |
35 | 36 |
import org.gvsig.andami.messages.NotificationManager; |
36 | 37 |
import org.gvsig.andami.plugins.Extension; |
... | ... | |
178 | 179 |
.getResource("images/LayoutZoomOut.png")); |
179 | 180 |
|
180 | 181 |
PluginServices.getIconTheme().registerDefault("layout-zoom-fit", |
181 |
this.getClass().getClassLoader().getResource("images/mundo.gif"));
|
|
182 |
this.getClass().getClassLoader().getResource("images/layout-zoom-fit.gif"));
|
|
182 | 183 |
|
183 | 184 |
PluginServices.getIconTheme() |
184 | 185 |
.registerDefault( |
... | ... | |
357 | 358 |
"images/rightrotation.png")); |
358 | 359 |
PluginServices.getIconTheme().registerDefault("point-select-cursor", |
359 | 360 |
this.getClass().getClassLoader().getResource("images/point-select-cursor.png")); |
361 |
|
|
362 |
IconThemeHelper.registerIcon(null, "layout-zoom-center-in", this); |
|
363 |
IconThemeHelper.registerIcon(null, "layout-zoom-center-out", this); |
|
360 | 364 |
} |
361 | 365 |
|
362 | 366 |
/** |
trunk/org.gvsig.app.document.layout.app/org.gvsig.app.document.layout.app.mainplugin/src/main/resources/config.xml | ||
---|---|---|
59 | 59 |
is_separator="true"/> |
60 | 60 |
<menu text="Mapa/navegacion/Zoom_Mas" position="5003010" action-command="LAYOUT_ZOOM_IN" tooltip="Zoom_Mas" icon="layout-zoom-in"/> |
61 | 61 |
<menu text="Mapa/navegacion/Zoom_Menos" position="5003020" action-command="LAYOUT_ZOOM_OUT" tooltip="Zoom_Menos" icon="layout-zoom-out"/> |
62 |
<menu text="Mapa/navegacion/Zoom_Acercar" position="5003030" action-command="LAYOUT_ZOOMIN" tooltip="Zoom_Acercar" icon="view-zoom-center-in"/>
|
|
63 |
<menu text="Mapa/navegacion/Zoom_Alejar" position="5003040" action-command="LAYOUT_ZOOMOUT" tooltip="Zoom_Alejar" icon="view-zoom-center-out"/>
|
|
62 |
<menu text="Mapa/navegacion/Zoom_Acercar" position="5003030" action-command="LAYOUT_ZOOMIN" tooltip="Zoom_Acercar" icon="layout-zoom-center-in"/>
|
|
63 |
<menu text="Mapa/navegacion/Zoom_Alejar" position="5003040" action-command="LAYOUT_ZOOMOUT" tooltip="Zoom_Alejar" icon="layout-zoom-center-out"/>
|
|
64 | 64 |
<menu text="Mapa/navegacion/Zoom_Completo" position="5003050" action-command="LAYOUT_FULL" tooltip="Zoom_Completo" icon="layout-zoom-fit"/> |
65 | 65 |
<menu text="Mapa/navegacion/Zoom_Real" position="5003060" action-command="REALZOOM" tooltip="Zoom_Real" icon="layout-zoom-real"/> |
66 | 66 |
<menu text="Mapa/navegacion/Zoom_Select" position="5003070" action-command="ZOOMSELECT" tooltip="Zoom_Select" icon="layout-zoom-selected"/> |
... | ... | |
68 | 68 |
<tool-bar name="Layout_Tools_Zooms" position="20"> |
69 | 69 |
<selectable-tool icon="layout-zoom-in" action-command="LAYOUT_ZOOM_IN" tooltip="Zoom_Mas"/> |
70 | 70 |
<selectable-tool icon="layout-zoom-out" action-command="LAYOUT_ZOOM_OUT" tooltip="Zoom_Menos"/> |
71 |
<action-tool icon="view-zoom-center-in" action-command="LAYOUT_ZOOMIN" tooltip="Zoom_Acercar"/>
|
|
72 |
<action-tool icon="view-zoom-center-out" action-command="LAYOUT_ZOOMOUT" tooltip="Zoom_Alejar"/>
|
|
71 |
<action-tool icon="layout-zoom-center-in" action-command="LAYOUT_ZOOMIN" tooltip="Zoom_Acercar"/>
|
|
72 |
<action-tool icon="layout-zoom-center-out" action-command="LAYOUT_ZOOMOUT" tooltip="Zoom_Alejar"/>
|
|
73 | 73 |
<action-tool icon="layout-zoom-fit" action-command="LAYOUT_FULL" tooltip="Zoom_Completo"/> |
74 | 74 |
<action-tool icon="layout-zoom-real" action-command="REALZOOM" tooltip="Zoom_Real"/> |
75 | 75 |
<action-tool icon="layout-zoom-selected" action-command="ZOOMSELECT" tooltip="Zoom_Select"/> |
Also available in: Unified diff