Revision 44507 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
DefaultFeatureStore.java | ||
---|---|---|
1235 | 1235 |
throw new NullFeatureTypeException(getName()); |
1236 | 1236 |
} |
1237 | 1237 |
if (mode == MODE_QUERY && type.hasOnlyMetadataChanges(this.defaultFeatureType)) { |
1238 |
FeatureType theType = type.getCopy(); |
|
1238 |
notifyChange(FeatureStoreNotification.BEFORE_UPDATE_TYPE, type); |
|
1239 |
FeatureType theType = type.getNotEditableCopy(); |
|
1239 | 1240 |
if( defaultFeatureType.getId().equals(theType.getId()) ) { |
1240 | 1241 |
defaultFeatureType = theType; |
1241 | 1242 |
} |
... | ... | |
1249 | 1250 |
} |
1250 | 1251 |
this.featureTypes = newtypes; |
1251 | 1252 |
saveDALFile(); |
1253 |
notifyChange(FeatureStoreNotification.AFTER_UPDATE_TYPE, type); |
|
1252 | 1254 |
return ; |
1253 | 1255 |
} |
1254 | 1256 |
boolean typehasStrongChanges = ((DefaultEditableFeatureType) type).hasStrongChanges(); |
Also available in: Unified diff