Revision 1174 org.gvsig.raster.tools/trunk/org.gvsig.raster.tools/org.gvsig.raster.tools.app/org.gvsig.raster.tools.app.basic/src/main/java/org/gvsig/raster/tools/app/basic/tool/infobypoint/InfoByRasterPointTocMenuEntry.java
InfoByRasterPointTocMenuEntry.java | ||
---|---|---|
21 | 21 |
import javax.swing.Icon; |
22 | 22 |
|
23 | 23 |
import org.gvsig.andami.PluginServices; |
24 |
import org.gvsig.andami.plugins.Extension; |
|
24 | 25 |
import org.gvsig.app.project.documents.view.ViewDocument; |
25 | 26 |
import org.gvsig.app.project.documents.view.gui.AbstractViewPanel; |
26 | 27 |
import org.gvsig.app.project.documents.view.toc.AbstractTocContextMenuAction; |
... | ... | |
38 | 39 |
*/ |
39 | 40 |
public class InfoByRasterPointTocMenuEntry extends AbstractTocContextMenuAction implements IGenericToolBarMenuItem { |
40 | 41 |
static private InfoByRasterPointTocMenuEntry singleton = null; |
41 |
private InfoByRasterPointExtension extension = null;
|
|
42 |
private Extension extension = null;
|
|
42 | 43 |
|
43 | 44 |
/** |
44 | 45 |
* Nadie puede crear una instancia a esta clase ?nica, hay que usar el |
... | ... | |
48 | 49 |
extension = new InfoByRasterPointExtension(); |
49 | 50 |
extension.initialize(); |
50 | 51 |
} |
52 |
|
|
53 |
/** |
|
54 |
* Assigns the extension to be executed |
|
55 |
* @param ext |
|
56 |
*/ |
|
57 |
public void setExtension(Extension ext) { |
|
58 |
this.extension = ext; |
|
59 |
} |
|
51 | 60 |
|
52 | 61 |
/** |
53 | 62 |
* Devuelve un objeto unico a dicha clase |
... | ... | |
71 | 80 |
* @see com.iver.cit.gvsig.project.documents.contextMenu.AbstractContextMenuAction#getGroupOrder() |
72 | 81 |
*/ |
73 | 82 |
public int getGroupOrder() { |
74 |
return 55;
|
|
83 |
return 10;
|
|
75 | 84 |
} |
76 | 85 |
|
77 | 86 |
/* |
... | ... | |
79 | 88 |
* @see com.iver.cit.gvsig.project.documents.contextMenu.AbstractContextMenuAction#getOrder() |
80 | 89 |
*/ |
81 | 90 |
public int getOrder() { |
82 |
return 1;
|
|
91 |
return 50;
|
|
83 | 92 |
} |
84 | 93 |
|
85 | 94 |
/* |
... | ... | |
132 | 141 |
* @see org.gvsig.rastertools.generictoolbar.IGenericToolBarMenuItem#getIcon() |
133 | 142 |
*/ |
134 | 143 |
public Icon getIcon() { |
135 |
return RasterToolsUtil.getIcon("info-by-pixel"); |
|
144 |
return RasterToolsUtil.getIcon("layer-info-by-pixel");
|
|
136 | 145 |
} |
137 | 146 |
} |
Also available in: Unified diff