Revision 41488 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/CheckGeometriesPanel.java
CheckGeometriesPanel.java | ||
---|---|---|
76 | 76 |
public boolean isValidPanel() throws ExporttoPanelValidationException { |
77 | 77 |
return true; |
78 | 78 |
} |
79 |
|
|
79 |
|
|
80 |
public void enterPanel() { |
|
81 |
// Default do nothing |
|
82 |
} |
|
83 |
|
|
80 | 84 |
public JComponent asJComponent() { |
81 | 85 |
return this; |
82 | 86 |
} |
... | ... | |
108 | 112 |
} |
109 | 113 |
} |
110 | 114 |
|
115 |
public boolean getTryToFixGeometry() { |
|
116 |
return this.chkTryFixGeometry.isSelected(); |
|
117 |
} |
|
118 |
|
|
111 | 119 |
private void onChangeRadioButtons() { |
112 | 120 |
if( this.rdbCheckNone.isSelected() ) { |
113 | 121 |
this.cboActionIsCorrupt.setEnabled(false); |
114 | 122 |
this.cboActionIsValid.setEnabled(false); |
123 |
this.chkTryFixGeometry.setEnabled(false); |
|
115 | 124 |
} else if( this.rdbCheckIsCorrupt.isSelected() ) { |
116 | 125 |
this.cboActionIsCorrupt.setEnabled(true); |
117 | 126 |
this.cboActionIsValid.setEnabled(false); |
127 |
this.chkTryFixGeometry.setEnabled(false); |
|
118 | 128 |
} else if( this.rdbCheckIsValid.isSelected()) { |
119 | 129 |
this.cboActionIsCorrupt.setEnabled(false); |
120 | 130 |
this.cboActionIsValid.setEnabled(true); |
131 |
this.chkTryFixGeometry.setEnabled(true); |
|
121 | 132 |
} |
122 | 133 |
} |
123 | 134 |
} |
Also available in: Unified diff