Revision 16329 trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/colortable/ColorTableListener.java
ColorTableListener.java | ||
---|---|---|
43 | 43 |
import com.iver.andami.PluginServices; |
44 | 44 |
import com.iver.cit.gvsig.fmap.ViewPort; |
45 | 45 |
import com.iver.cit.gvsig.fmap.layers.FLayer; |
46 |
|
|
47 | 46 |
/** |
48 | 47 |
* @version 27/06/2007 |
49 | 48 |
* @author BorSanZa - Borja S?nchez Zamorano (borja.sanchez@iver.es) |
... | ... | |
153 | 152 |
filterList.remove(LinearEnhancementFilter.class); |
154 | 153 |
filterList.remove(TailTrimFilter.class); |
155 | 154 |
GridPalette gridPalette = new GridPalette(colorTableData.getColorTable()); |
155 |
|
|
156 |
// Asignamos la transparencia del render actual al filterList |
|
157 |
filterList.addEnvParam("Transparency", rendering.getRender().getLastTransparency()); |
|
158 |
|
|
156 | 159 |
cManager.addColorTableFilter(gridPalette); |
160 |
|
|
157 | 161 |
if (!isPreview) { |
158 | 162 |
gridPalette.compressPalette(); |
159 | 163 |
((FLyrRasterSE) getColorTablePanel().getLayer()).setLastLegend(gridPalette); |
Also available in: Unified diff