Revision 47754 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
1194 1194
        swingManager.translate(this.lblIntervalStart);
1195 1195
        swingManager.translate(this.lblIsAutomatic);
1196 1196
        swingManager.translate(this.lblIsIndexed);
1197
        swingManager.translate(this.lblAllowIndexDuplicateds);
1197 1198
        swingManager.translate(this.lblIsReadOnly);
1198 1199
        swingManager.translate(this.lblIsPrimaryKey);
1199 1200
        swingManager.translate(this.lblPrecision);
......
1471 1472
            descriptor.setIsAutomatic(this.chkIsAutomatic.isSelected());
1472 1473
            descriptor.setIsReadOnly(this.chkIsReadOnly.isSelected());
1473 1474
            descriptor.setIsIndexed(this.chkIsIndexed.isSelected());
1475
            descriptor.setAllowIndexDuplicateds(this.chkAllowIndexDuplicateds.isSelected());
1474 1476
            descriptor.setSize(this.pickerSize.get(0));
1475 1477
            descriptor.setDisplaySize(this.pickerDisplaySize.get(0));
1476 1478
            descriptor.setPrecision(this.pickerPrecision.get(0));
......
1795 1797
        this.chkIsAutomatic.setSelected(descriptor.isAutomatic());
1796 1798
        this.chkIsReadOnly.setSelected(descriptor.isReadOnly());
1797 1799
        this.chkIsIndexed.setSelected(descriptor.isIndexed());
1800
        this.chkAllowIndexDuplicateds.setSelected(descriptor.allowIndexDuplicateds());
1798 1801
        this.chkIsPrimaryKey.setSelected(descriptor.isPrimaryKey());
1799 1802

  
1800 1803
        this.pickerVirtualFieldGetter.setEnabled(true);
......
2062 2065
                this.chkIsAutomatic.setEnabled(true);
2063 2066
                this.chkIsReadOnly.setEnabled(true);
2064 2067
                this.chkIsIndexed.setEnabled(true);
2068
                this.chkAllowIndexDuplicateds.setEnabled(true);
2065 2069
                if( this.isVirtualField() ) {
2066 2070
                    this.chkIsPrimaryKey.setEnabled(false);
2067 2071
                } else {
......
2128 2132
                this.chkIsAutomatic.setEnabled(false);
2129 2133
                this.chkIsReadOnly.setEnabled(false);
2130 2134
                this.chkIsIndexed.setEnabled(false);
2135
                this.chkAllowIndexDuplicateds.setEnabled(false);
2131 2136
//                if( this.isVirtualField() ) {
2132 2137
                    this.chkIsPrimaryKey.setEnabled(false);
2133 2138
//                } else {
......
2167 2172
                this.chkIsAutomatic.setEnabled(false);
2168 2173
                this.chkIsReadOnly.setEnabled(false);
2169 2174
                this.chkIsIndexed.setEnabled(false);
2175
                this.chkAllowIndexDuplicateds.setEnabled(false);
2170 2176
                this.chkIsPrimaryKey.setEnabled(false);
2171 2177

  
2172 2178
                this.chkVirtualField.setEnabled(false);
......
2212 2218
                this.chkIsAutomatic.setEnabled(true);
2213 2219
                this.chkIsReadOnly.setEnabled(true);
2214 2220
                this.chkIsIndexed.setEnabled(true);
2221
                this.chkAllowIndexDuplicateds.setEnabled(true);
2215 2222
                if( this.isVirtualField() ) {
2216 2223
                    this.chkIsPrimaryKey.setEnabled(false);
2217 2224
                } else {

Also available in: Unified diff