Revision 25706
trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/selectrasterlayer/SelectLayerTocMenuEntry.java | ||
---|---|---|
104 | 104 |
if (!(selectedItems[0] instanceof FLyrRasterSE)) |
105 | 105 |
return false; |
106 | 106 |
|
107 |
return ((FLyrRasterSE) selectedItems[0]).isActionEnabled(IRasterLayerActions.REPROJECT);
|
|
107 |
return ((FLyrRasterSE) selectedItems[0]).isActionEnabled(IRasterLayerActions.SELECT_LAYER);
|
|
108 | 108 |
} |
109 | 109 |
|
110 | 110 |
/** |
trunk/extensions/extRasterTools-SE/src/org/gvsig/fmap/raster/layers/FLyrRasterSE.java | ||
---|---|---|
1717 | 1717 |
case IRasterLayerActions.BRIGHTNESSCONTRAST: |
1718 | 1718 |
case IRasterLayerActions.ENHANCED: |
1719 | 1719 |
case IRasterLayerActions.PANSHARPENING: |
1720 |
case IRasterLayerActions.SELECT_LAYER: |
|
1720 | 1721 |
return true; |
1721 | 1722 |
} |
1722 | 1723 |
return true; |
trunk/extensions/extRasterTools-SE/src/org/gvsig/fmap/raster/layers/IRasterLayerActions.java | ||
---|---|---|
44 | 44 |
public static int GEOLOCATION = 15; |
45 | 45 |
public static int CREATEOVERVIEWS = 16; |
46 | 46 |
public static int REPROJECT = 17; |
47 |
public static int SELECT_LAYER = 18; |
|
47 | 48 |
|
48 | 49 |
|
49 | 50 |
/** |
Also available in: Unified diff