Revision 20646 trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/properties/RasterPropertiesTocMenuEntry.java
RasterPropertiesTocMenuEntry.java | ||
---|---|---|
27 | 27 |
import org.gvsig.raster.gui.IGenericToolBarMenuItem; |
28 | 28 |
import org.gvsig.raster.util.RasterToolsUtil; |
29 | 29 |
|
30 |
import com.iver.andami.PluginServices; |
|
30 |
//import com.iver.andami.PluginServices;
|
|
31 | 31 |
import com.iver.andami.ui.mdiManager.WindowInfo; |
32 | 32 |
import com.iver.cit.gvsig.fmap.layers.FLayer; |
33 | 33 |
import com.iver.cit.gvsig.panelGroup.PanelGroupDialog; |
... | ... | |
96 | 96 |
* @see com.iver.cit.gvsig.project.documents.IContextMenuAction#getText() |
97 | 97 |
*/ |
98 | 98 |
public String getText() { |
99 |
return PluginServices.getText(this, "propiedades_raster");
|
|
99 |
return RasterToolsUtil.getText(this, "propiedades_raster");
|
|
100 | 100 |
} |
101 | 101 |
|
102 | 102 |
/* |
... | ... | |
147 | 147 |
TabbedPanel panelGroup = (TabbedPanel) manager.getPanelGroup(lyr); |
148 | 148 |
PanelGroupLoaderFromExtensionPoint loader = new PanelGroupLoaderFromExtensionPoint("RasterSEPropertiesDialog"); |
149 | 149 |
|
150 |
properties = new PanelGroupDialog(lyr.getName() ,PluginServices.getText(this, "propiedades_raster"), 550, 450, (byte) (WindowInfo.MODELESSDIALOG | WindowInfo.RESIZABLE | WindowInfo.MAXIMIZABLE), panelGroup);
|
|
150 |
properties = new PanelGroupDialog(lyr.getName() ,RasterToolsUtil.getText(this, "propiedades_raster"), 550, 450, (byte) (WindowInfo.MODELESSDIALOG | WindowInfo.RESIZABLE | WindowInfo.MAXIMIZABLE), panelGroup);
|
|
151 | 151 |
properties.loadPanels(loader); |
152 | 152 |
enableEvents = true; |
153 |
PluginServices.getMDIManager().addWindow(properties);
|
|
153 |
RasterToolsUtil.addWindow(properties);
|
|
154 | 154 |
} catch (Exception e) { |
155 | 155 |
RasterToolsUtil.messageBoxInfo("error_props_tabs", this, e); |
156 | 156 |
} finally { |
... | ... | |
163 | 163 |
* @see org.gvsig.rastertools.generictoolbar.IGenericToolBarMenuItem#getIcon() |
164 | 164 |
*/ |
165 | 165 |
public Icon getIcon() { |
166 |
return PluginServices.getIconTheme().get("properties-icon");
|
|
166 |
return RasterToolsUtil.getIcon("properties-icon");
|
|
167 | 167 |
} |
168 | 168 |
} |
Also available in: Unified diff