Revision 43362 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.impl/src/main/java/org/gvsig/fmap/dal/impl/DefaultEditingNotificationManager.java
DefaultEditingNotificationManager.java | ||
---|---|---|
241 | 241 |
|
242 | 242 |
for (FeatureAttributeDescriptor attrDesc : attributeDescriptors) { |
243 | 243 |
if ( attrDesc.isAutomatic() ) { |
244 |
break;
|
|
244 |
continue;
|
|
245 | 245 |
} |
246 | 246 |
if ( (attrDesc.isPrimaryKey() || !attrDesc.allowNull()) |
247 | 247 |
&& feature.get(attrDesc.getName()) == null ) { |
... | ... | |
287 | 287 |
); |
288 | 288 |
dialog.show(WindowManager.MODE.DIALOG); |
289 | 289 |
if( dialog.getAction() == WindowManager_v2.BUTTON_OK ) { |
290 |
this.userCancelValue = true; |
|
291 |
} else { |
|
292 | 290 |
form.fetch((EditableFeature) feature); |
293 | 291 |
this.userCancelValue = false; |
292 |
} else { |
|
293 |
this.userCancelValue = true; |
|
294 | 294 |
} |
295 | 295 |
|
296 | 296 |
} catch (Exception ex) { |
Also available in: Unified diff