Revision 45920 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/DefaultFeatureAttributePanel.java

View differences:

DefaultFeatureAttributePanel.java
544 544
        swingManager.translate(this.lblIntervalEnd);
545 545
        swingManager.translate(this.lblIntervalStart);
546 546
        swingManager.translate(this.lblIsAutomatic);
547
        swingManager.translate(this.lblIsIndexed);
548
        swingManager.translate(this.lblIsReadOnly);
547 549
        swingManager.translate(this.lblIsPrimaryKey);
548 550
        swingManager.translate(this.lblPrecision);
549 551
        swingManager.translate(this.lblScale);
......
827 829
            descriptor.setAllowNull(this.chkAllowNulls.isSelected());
828 830
            descriptor.setIsPrimaryKey(this.chkIsPrimaryKey.isSelected());
829 831
            descriptor.setIsAutomatic(this.chkIsAutomatic.isSelected());
832
            descriptor.setIsReadOnly(this.chkIsReadOnly.isSelected());
833
            descriptor.setIsIndexed(this.chkIsIndexed.isSelected());
830 834
            descriptor.setSize(this.pickerSize.get(0));
831 835
            descriptor.setDisplaySize(this.pickerDisplaySize.get(0));
832 836
            descriptor.setPrecision(this.pickerPrecision.get(0));
......
974 978

  
975 979
        this.chkAllowNulls.setSelected(false);
976 980
        this.chkIsAutomatic.setSelected(false);
981
        this.chkIsReadOnly.setSelected(false);
982
        this.chkIsIndexed.setSelected(false);
977 983
        this.chkIsPrimaryKey.setSelected(false);
978 984

  
979 985
        this.chkVirtualField.setSelected(false);
......
1069 1075
        }
1070 1076
        this.chkAllowNulls.setSelected(descriptor.allowNull());
1071 1077
        this.chkIsAutomatic.setSelected(descriptor.isAutomatic());
1078
        this.chkIsReadOnly.setSelected(descriptor.isReadOnly());
1079
        this.chkIsIndexed.setSelected(descriptor.isIndexed());
1072 1080
        this.chkIsPrimaryKey.setSelected(descriptor.isPrimaryKey());
1073 1081

  
1074 1082
        this.pickerVirtualField.setEnabled(true);
......
1277 1285

  
1278 1286
                this.chkAllowNulls.setEnabled(true);
1279 1287
                this.chkIsAutomatic.setEnabled(true);
1288
                this.chkIsReadOnly.setEnabled(true);
1289
                this.chkIsIndexed.setEnabled(true);
1280 1290
                if( this.isVirtualField() ) {
1281 1291
                    this.chkIsPrimaryKey.setEnabled(false);
1282 1292
                } else {
......
1336 1346
                this.pickerDisplaySize.setEditable(false);
1337 1347
                this.chkAllowNulls.setEnabled(false);
1338 1348
                this.chkIsAutomatic.setEnabled(false);
1349
                this.chkIsReadOnly.setEnabled(false);
1350
                this.chkIsIndexed.setEnabled(false);
1339 1351
                if( this.isVirtualField() ) {
1340 1352
                    this.chkIsPrimaryKey.setEnabled(false);
1341 1353
                } else {
......
1372 1384

  
1373 1385
                this.chkAllowNulls.setEnabled(false);
1374 1386
                this.chkIsAutomatic.setEnabled(false);
1387
                this.chkIsReadOnly.setEnabled(false);
1388
                this.chkIsIndexed.setEnabled(false);
1375 1389
                this.chkIsPrimaryKey.setEnabled(false);
1376 1390

  
1377 1391
                this.chkVirtualField.setEnabled(false);

Also available in: Unified diff