Revision 9097

View differences:

trunk/libraries/libUI/src-test/org/gvsig/gui/beans/comboBoxItemsSeeker/userTests/JPanelUserTestOfJComboBoxItemsSeekerConfigurable.java
94 94
 * @author Pablo Piqueras Bartolom? (p_queras@hotmail.com)
95 95
 */
96 96
public class JPanelUserTestOfJComboBoxItemsSeekerConfigurable extends JPanel implements Serializable {
97
	private static final long serialVersionUID = 567514317232254432L;
97
	private static final long serialVersionUID = -6215950904003508523L;
98 98
	private final int panelWidth = 735;
99 99
	private final int panelHeight = 530;
100 100
	private final int testWidth = 260;
......
1218 1218
				getJCheckBoxToForceToOnlyCoincidencesInTheSearch().setEnabled(false);
1219 1219
				getJLabelToForceToOnlyCoincidencesInTheSearch().setEnabled(false);
1220 1220
				getJCheckBoxUseHighLight().setEnabled(false);
1221
				getJLabelUseHighLight().setEnabled(false);		
1221
				getJLabelUseHighLight().setEnabled(false);
1222
				getJCheckBoxSelectAnItemWhenLosesFocus().setEnabled(false);
1223
				getJLabelSelectAnItemWhenLosesFocus().setEnabled(false);
1222 1224
			}
1223 1225
			else
1224 1226
			{
1225 1227
				// If its selected the constructor parameters for all configuration attributes
1226
				if (numberOfParameters == 10)
1228
				if (numberOfParameters == 11)
1227 1229
				{
1228 1230
					getJComboBoxStartBehavior().setEnabled(true);
1229 1231
					getJLabelStartBehavior().setEnabled(true);
......
1245 1247
					getJLabelToForceToOnlyCoincidencesInTheSearch().setEnabled(true);
1246 1248
					getJCheckBoxUseHighLight().setEnabled(true);
1247 1249
					getJLabelUseHighLight().setEnabled(true);
1250
					getJCheckBoxSelectAnItemWhenLosesFocus().setEnabled(true);
1251
					getJLabelSelectAnItemWhenLosesFocus().setEnabled(true);
1248 1252
				}
1249 1253
				else
1250 1254
				{
......
1270 1274
					getJLabelToForceToOnlyCoincidencesInTheSearch().setEnabled(false);
1271 1275
					getJCheckBoxUseHighLight().setEnabled(false);
1272 1276
					getJLabelUseHighLight().setEnabled(false);
1277
					getJCheckBoxSelectAnItemWhenLosesFocus().setEnabled(false);
1278
					getJLabelSelectAnItemWhenLosesFocus().setEnabled(false);
1273 1279
				}
1274 1280
			}
1275 1281
		}
branches/v10/libraries/libUI/src-test/org/gvsig/gui/beans/comboBoxItemsSeeker/userTests/JPanelUserTestOfJComboBoxItemsSeekerConfigurable.java
94 94
 * @author Pablo Piqueras Bartolom? (p_queras@hotmail.com)
95 95
 */
96 96
public class JPanelUserTestOfJComboBoxItemsSeekerConfigurable extends JPanel implements Serializable {
97
	private static final long serialVersionUID = 567514317232254432L;
97
	private static final long serialVersionUID = -6215950904003508523L;
98 98
	private final int panelWidth = 735;
99 99
	private final int panelHeight = 530;
100 100
	private final int testWidth = 260;
......
1218 1218
				getJCheckBoxToForceToOnlyCoincidencesInTheSearch().setEnabled(false);
1219 1219
				getJLabelToForceToOnlyCoincidencesInTheSearch().setEnabled(false);
1220 1220
				getJCheckBoxUseHighLight().setEnabled(false);
1221
				getJLabelUseHighLight().setEnabled(false);		
1221
				getJLabelUseHighLight().setEnabled(false);
1222
				getJCheckBoxSelectAnItemWhenLosesFocus().setEnabled(false);
1223
				getJLabelSelectAnItemWhenLosesFocus().setEnabled(false);
1222 1224
			}
1223 1225
			else
1224 1226
			{
1225 1227
				// If its selected the constructor parameters for all configuration attributes
1226
				if (numberOfParameters == 10)
1228
				if (numberOfParameters == 11)
1227 1229
				{
1228 1230
					getJComboBoxStartBehavior().setEnabled(true);
1229 1231
					getJLabelStartBehavior().setEnabled(true);
......
1245 1247
					getJLabelToForceToOnlyCoincidencesInTheSearch().setEnabled(true);
1246 1248
					getJCheckBoxUseHighLight().setEnabled(true);
1247 1249
					getJLabelUseHighLight().setEnabled(true);
1250
					getJCheckBoxSelectAnItemWhenLosesFocus().setEnabled(true);
1251
					getJLabelSelectAnItemWhenLosesFocus().setEnabled(true);
1248 1252
				}
1249 1253
				else
1250 1254
				{
......
1270 1274
					getJLabelToForceToOnlyCoincidencesInTheSearch().setEnabled(false);
1271 1275
					getJCheckBoxUseHighLight().setEnabled(false);
1272 1276
					getJLabelUseHighLight().setEnabled(false);
1277
					getJCheckBoxSelectAnItemWhenLosesFocus().setEnabled(false);
1278
					getJLabelSelectAnItemWhenLosesFocus().setEnabled(false);
1273 1279
				}
1274 1280
			}
1275 1281
		}

Also available in: Unified diff