Revision 8786 org.gvsig.raster/branches/org.gvsig.raster.2.4/org.gvsig.wcs/org.gvsig.wcs.app/org.gvsig.wcs.app.mainplugin/src/main/java/org/gvsig/wcs/app/mainplugin/WCSExtension.java
WCSExtension.java | ||
---|---|---|
24 | 24 |
package org.gvsig.wcs.app.mainplugin; |
25 | 25 |
|
26 | 26 |
|
27 |
import org.gvsig.andami.IconThemeHelper; |
|
27 | 28 |
import org.gvsig.andami.plugins.Extension; |
29 |
import org.gvsig.app.extension.AddLayer; |
|
30 |
import org.gvsig.fmap.mapcontext.MapContextLocator; |
|
31 |
import org.gvsig.wcs.provider.WCSRasterProvider; |
|
28 | 32 |
|
29 | 33 |
/** |
30 | 34 |
* @author fdiaz |
... | ... | |
38 | 42 |
|
39 | 43 |
} |
40 | 44 |
|
45 |
public void postInitialize() { |
|
46 |
initializeIcons(); |
|
47 |
AddLayer.addWizard(WCSAddLayerPanel.class); |
|
48 |
} |
|
49 |
|
|
50 |
|
|
41 | 51 |
@Override |
42 | 52 |
public void execute(String actionCommand) { |
43 | 53 |
// TODO Auto-generated method stub |
... | ... | |
56 | 66 |
return false; |
57 | 67 |
} |
58 | 68 |
|
69 |
void initializeIcons(){ |
|
70 |
|
|
71 |
// IconThemeHelper.registerIcon("layer", "layer-icon-wcs", this); |
|
72 |
// MapContextLocator.getMapContextManager().registerIconLayer(WCSRasterProvider.NAME, "layer-icon-wcs"); |
|
73 |
// |
|
74 |
// IconThemeHelper.registerIcon("wcs", "first-value-icon", this); |
|
75 |
// IconThemeHelper.registerIcon("wcs", "previous-value-icon", this); |
|
76 |
// IconThemeHelper.registerIcon("wcs", "next-value-icon", this); |
|
77 |
// IconThemeHelper.registerIcon("wcs", "last-value-icon", this); |
|
78 |
|
|
79 |
} |
|
80 |
|
|
81 |
|
|
59 | 82 |
} |
Also available in: Unified diff