Revision 46186

View differences:

trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.mapcontext/org.gvsig.fmap.mapcontext.api/src/main/java/org/gvsig/fmap/mapcontext/layers/FLayers.java
888 888
        }
889 889
    }
890 890

  
891
    public void setActive(boolean active, boolean applySublayers) {
892
        super.setActive(active);
893
        if( applySublayers ) {
894
            for (FLayer layer : this.layers) {
895
                layer.setActive(active);
896
            }
897
        }
898
    }
899

  
891 900
    @Override
892 901
    public boolean addLayerListener(LayerListener o) {
893 902
        for (FLayer layer : this.layers) {

Also available in: Unified diff