Revision 44094 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/swing/impl/featuretype/DefaultFeatureTypeAttributePanel.java
DefaultFeatureTypeAttributePanel.java | ||
---|---|---|
299 | 299 |
this.clean(); |
300 | 300 |
return; |
301 | 301 |
} |
302 |
if (!(descriptor instanceof EditableFeatureAttributeDescriptor)) { |
|
303 |
this.setEditable(false); |
|
302 |
ExpressionEvaluatorSwingManager expressionSwingManager = ExpressionEvaluatorSwingLocator.getManager(); |
|
303 |
if( this.pickerVirtualField!=null ) { |
|
304 |
this.pickerVirtualField.unbind(); |
|
304 | 305 |
} |
305 |
ExpressionEvaluatorSwingManager expressionSwingManager = ExpressionEvaluatorSwingLocator.getManager(); |
|
306 | 306 |
this.pickerVirtualField = ExpressionEvaluatorSwingLocator.getManager() |
307 | 307 |
.createExpressionPickerController(txtVirtualField, btnVirtualField); |
308 | 308 |
if( descriptor.getFeatureType()!=null && descriptor.getFeatureType().getStore()!=null ) { |
... | ... | |
314 | 314 |
) |
315 | 315 |
); |
316 | 316 |
} |
317 |
if (!(descriptor instanceof EditableFeatureAttributeDescriptor)) { |
|
318 |
this.setEditable(false); |
|
319 |
} |
|
317 | 320 |
|
318 | 321 |
this.pickerDefaultValue.set(descriptor.getDefaultValue()); |
319 | 322 |
this.pickerFieldName.set(descriptor.getName()); |
Also available in: Unified diff