Revision 47082 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/feature/impl/DefaultFeatureStore.java

View differences:

DefaultFeatureStore.java
4055 4055
    public boolean canBeEdited() {
4056 4056
        return this.transforms.isEmpty();
4057 4057
    }
4058

  
4059
    @Override
4060
    public String getLabel() {
4061
        FeatureType ft = this.getDefaultFeatureTypeQuietly();
4062
        if( ft == null ) {
4063
            return this.getName();
4064
        }
4065
        String label = ft.getLabel();
4066
        if( StringUtils.isBlank(label) ) {
4067
            return this.getName();
4068
        }
4069
        return label;
4070
    }
4071
    
4058 4072
}

Also available in: Unified diff