Revision 46500 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
DefaultFeatureAttributePanel.java | ||
---|---|---|
1300 | 1300 |
this.chkIsReadOnly.setEnabled(true); |
1301 | 1301 |
this.chkIsIndexed.setEnabled(true); |
1302 | 1302 |
if( this.isVirtualField() ) { |
1303 |
this.chkIsPrimaryKey.setEnabled(true); |
|
1304 |
} else { |
|
1303 | 1305 |
this.chkIsPrimaryKey.setEnabled(false); |
1304 |
} else { |
|
1305 |
this.chkIsPrimaryKey.setEnabled(true); |
|
1306 | 1306 |
} |
1307 | 1307 |
|
1308 | 1308 |
this.chkVirtualField.setEnabled(true); |
... | ... | |
1362 | 1362 |
this.chkIsReadOnly.setEnabled(false); |
1363 | 1363 |
this.chkIsIndexed.setEnabled(false); |
1364 | 1364 |
if( this.isVirtualField() ) { |
1365 |
this.chkIsPrimaryKey.setEnabled(true); |
|
1366 |
} else { |
|
1365 | 1367 |
this.chkIsPrimaryKey.setEnabled(false); |
1366 |
} else { |
|
1367 |
this.chkIsPrimaryKey.setEnabled(true); |
|
1368 | 1368 |
} |
1369 | 1369 |
|
1370 | 1370 |
this.chkVirtualField.setEnabled(false); |
Also available in: Unified diff