Revision 4234 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrRaster.java
FLyrRaster.java | ||
---|---|---|
365 | 365 |
} |
366 | 366 |
|
367 | 367 |
xml.putProperty("driverName", getSource().getDriver().getName()); |
368 |
//xml.putProperty("raster.opacityLevel", ""+getTransparency()); |
|
369 |
if(status!=null) |
|
370 |
status.getXMLEntity(xml, true, this); |
|
368 |
|
|
369 |
//Si no hay ning?n Status aplicamos el StatusLayerRaster que se usa por defecto |
|
370 |
if(status == null) |
|
371 |
status = new StatusLayerRaster(); |
|
372 |
|
|
373 |
status.getXMLEntity(xml, true, this); |
|
374 |
|
|
371 | 375 |
|
372 | 376 |
return xml; |
373 | 377 |
} |
... | ... | |
401 | 405 |
setSource(adapter); |
402 | 406 |
// Para notificar al adapter-driver cual es la proyecci?n. |
403 | 407 |
setProjection(super.getProjection()); |
404 |
String claseStr = null; |
|
408 |
|
|
409 |
//Inicializamos la clase a la que se usa por defecto para |
|
410 |
//compatibilidad con proyectos antiguos |
|
411 |
String claseStr = StatusLayerRaster.defaultClass; |
|
405 | 412 |
if (xml.contains("raster.class")) { |
406 | 413 |
claseStr = xml.getStringProperty("raster.class"); |
407 | 414 |
} |
Also available in: Unified diff