Revision 20646 trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/histogram/HistogramTocMenuEntry.java

View differences:

HistogramTocMenuEntry.java
27 27
import org.gvsig.raster.util.RasterToolsUtil;
28 28
import org.gvsig.rastertools.histogram.ui.HistogramDialog;
29 29

  
30
import com.iver.andami.PluginServices;
31 30
import com.iver.cit.gvsig.fmap.layers.FLayer;
32 31
import com.iver.cit.gvsig.project.documents.view.toc.AbstractTocContextMenuAction;
33 32
import com.iver.cit.gvsig.project.documents.view.toc.ITocItem;
......
84 83
	 * @see com.iver.cit.gvsig.project.documents.IContextMenuAction#getText()
85 84
	 */
86 85
	public String getText() {
87
		return PluginServices.getText(this, "histograma");
86
		return RasterToolsUtil.getText(this, "histograma");
88 87
	}
89 88

  
90 89
	/*
......
139 138
																											// histograma
140 139
			histogramDialog.setVisible(true);
141 140

  
142
			PluginServices.getMDIManager().addWindow(histogramDialog);
141
			RasterToolsUtil.addWindow(histogramDialog);
143 142
		} catch (Exception e) {
144
			RasterToolsUtil.messageBoxError(PluginServices.getText(this, "histogram_error"), this, e);
143
			RasterToolsUtil.messageBoxError(RasterToolsUtil.getText(this, "histogram_error"), this, e);
145 144
			return;
146 145
		}
147 146
	}
......
151 150
	 * @see org.gvsig.rastertools.generictoolbar.IGenericToolBarMenuItem#getIcon()
152 151
	 */
153 152
	public Icon getIcon() {
154
		return PluginServices.getIconTheme().get("histogram-icon");
153
		return RasterToolsUtil.getIcon("histogram-icon");
155 154
	}
156 155
}

Also available in: Unified diff