Revision 20500 trunk/libraries/libDataSource/src/org/gvsig/data/vectorial/AbstractFeatureStore.java
AbstractFeatureStore.java | ||
---|---|---|
184 | 184 |
this.observable.notifyObservers( |
185 | 185 |
new AttributeStoreNotification(this,AttributeStoreNotification.BEFORE_UPDATE_ATTRIBUTE,attributeDescriptor) |
186 | 186 |
); |
187 |
commands.update(attributeDescriptor,((DefaultAttributeDescriptor)attributeDescriptor).getOldAttributeDescriptor());
|
|
187 |
commands.update(((DefaultAttributeDescriptor)attributeDescriptor).getNewAttributeDescriptor(),attributeDescriptor);
|
|
188 | 188 |
((DefaultAttributeDescriptor)attributeDescriptor).stopEditing(); |
189 | 189 |
this.observable.notifyObservers( |
190 | 190 |
new AttributeStoreNotification(this,AttributeStoreNotification.AFTER_UPDATE_ATTRIBUTE,attributeDescriptor) |
... | ... | |
230 | 230 |
this.observable.notifyObservers( |
231 | 231 |
new FeatureStoreNotification(this,FeatureStoreNotification.BEFORE_UPDATE,feature) |
232 | 232 |
); |
233 |
commands.update(feature,((Feature)feature).getOldFeature());
|
|
233 |
commands.update(((Feature)feature).getNewFeature(),feature);
|
|
234 | 234 |
((Feature)feature).stopEditing(); |
235 | 235 |
this.observable.notifyObservers( |
236 | 236 |
new FeatureStoreNotification(this,FeatureStoreNotification.AFTER_UPDATE,feature) |
Also available in: Unified diff