Revision 20646 trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/geolocation/GeoLocationTocMenuEntry.java
GeoLocationTocMenuEntry.java | ||
---|---|---|
101 | 101 |
* @see com.iver.cit.gvsig.project.documents.IContextMenuAction#getText() |
102 | 102 |
*/ |
103 | 103 |
public String getText() { |
104 |
return PluginServices.getText(this, "geolocation");
|
|
104 |
return RasterToolsUtil.getText(this, "geolocation");
|
|
105 | 105 |
} |
106 | 106 |
|
107 | 107 |
/* |
... | ... | |
161 | 161 |
if(!isOpen) { |
162 | 162 |
Point posit = RasterToolsUtil.iwindowPosition((int)gld.getSizeWindow().getWidth(), (int)gld.getSizeWindow().getHeight()); |
163 | 163 |
gld.setPosition((int)posit.getX(), (int)posit.getY()); |
164 |
PluginServices.getMDIManager().addWindow(gld);
|
|
164 |
RasterToolsUtil.addWindow(gld);
|
|
165 | 165 |
} |
166 | 166 |
|
167 | 167 |
gld.init(mapCtrl); |
... | ... | |
191 | 191 |
* @see org.gvsig.rastertools.generictoolbar.IGenericToolBarMenuItem#getIcon() |
192 | 192 |
*/ |
193 | 193 |
public Icon getIcon() { |
194 |
return PluginServices.getIconTheme().get("geolocalization-icon");
|
|
194 |
return RasterToolsUtil.getIcon("geolocalization-icon");
|
|
195 | 195 |
} |
196 | 196 |
|
197 | 197 |
public void propertyChange(PropertyChangeEvent evt) {} |
Also available in: Unified diff