Revision 38564 branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/extension/ZoomToSelectExtension.java
ZoomToSelectExtension.java | ||
---|---|---|
46 | 46 |
*/ |
47 | 47 |
package org.gvsig.app.extension; |
48 | 48 |
|
49 |
import org.gvsig.andami.IconThemeHelper; |
|
49 | 50 |
import org.gvsig.andami.PluginServices; |
50 | 51 |
import org.gvsig.andami.messages.NotificationManager; |
51 | 52 |
import org.gvsig.andami.plugins.Extension; |
... | ... | |
137 | 138 |
* @see org.gvsig.andami.plugins.IExtension#initialize() |
138 | 139 |
*/ |
139 | 140 |
public void initialize() { |
140 |
registerIcons();
|
|
141 |
IconThemeHelper.registerIcon("action", "view-navigation-zoom-to-selection", this);
|
|
141 | 142 |
} |
142 |
|
|
143 |
private void registerIcons(){ |
|
144 |
PluginServices.getIconTheme().registerDefault( |
|
145 |
"view-zoom-to-seleccion", |
|
146 |
this.getClass().getClassLoader().getResource("images/ZoomSeleccion.png") |
|
147 |
); |
|
148 |
} |
|
149 | 143 |
} |
Also available in: Unified diff