Revision 41663
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.exportto/org.gvsig.exportto.swing/org.gvsig.exportto.swing.impl/src/main/java/org/gvsig/exportto/swing/impl/panel/ExportFilterPanel.java | ||
---|---|---|
199 | 199 |
this.rdoUseNewExpresion.setEnabled(true); |
200 | 200 |
this.rdoUseSavedExpresion.setEnabled(true); |
201 | 201 |
|
202 |
if( this.rdoUseNewExpresion.isSelected() ) { |
|
202 |
if( this.rdoUseSavedExpresion.isSelected() ) { |
|
203 |
this.lstFilters.setEnabled(true); |
|
204 |
this.txtName.setEnabled(false); |
|
205 |
this.txtExpresion.setEnabled(false); |
|
206 |
this.butTest.setEnabled(false); |
|
207 |
this.butFilterDialog.setEnabled(false); |
|
208 |
} else { |
|
209 |
this.rdoUseNewExpresion.setSelected(false); |
|
210 |
|
|
203 | 211 |
this.lstFilters.setEnabled(false); |
204 | 212 |
this.txtName.setEnabled(true); |
205 | 213 |
this.txtExpresion.setEnabled(true); |
206 | 214 |
this.butTest.setEnabled(true); |
207 | 215 |
this.butFilterDialog.setEnabled(true); |
208 |
} else { |
|
209 |
this.rdoUseSavedExpresion.setSelected(true); |
|
210 |
|
|
211 |
this.lstFilters.setEnabled(true); |
|
212 |
this.txtName.setEnabled(false); |
|
213 |
this.txtExpresion.setEnabled(false); |
|
214 |
this.butTest.setEnabled(false); |
|
215 |
this.butFilterDialog.setEnabled(false); |
|
216 | 216 |
} |
217 | 217 |
|
218 | 218 |
} else if( this.rdbSelectedRows.isSelected() ) { |
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.exportto/org.gvsig.exportto.swing/org.gvsig.exportto.swing.prov/org.gvsig.exportto.swing.prov.jdbc/src/main/java/org/gvsig/exportto/swing/prov/jdbc/panel/SelectPkPanel.java | ||
---|---|---|
116 | 116 |
|
117 | 117 |
public void enterPanel() { |
118 | 118 |
this.fillListOfFields(); |
119 |
if( this.provider.canCreatetable() ) { |
|
119 |
if( !this.provider.canCreatetable() ) {
|
|
120 | 120 |
this.rdoCreatePrimaryNewKey.setEnabled(false); |
121 | 121 |
this.rdoUseExistingFieldAsPrimariKey.setEnabled(false); |
122 | 122 |
this.rdoDoNotCreatePrimaryKey.setEnabled(false); |
Also available in: Unified diff