Changeset 12467
- Timestamp:
- 2006-08-18T09:31:19+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/ArgumentControl.java
r12352 r12467 435 435 } 436 436 } 437 438 439 public boolean updateArgument(boolean checkRequired) { 440 441 442 if (checkRequired){ 443 return updateArgument(); 444 } 445 else{ 446 if (argument.getType() == Argument.STRING){ 447 String result = ((JTextField)value_control).getText(); 448 449 if(result.length() > 0) { 450 argument.setValue(result); 451 argument.setAssigned(true); 452 } 453 } 454 } 455 456 return true; 457 458 } 459 460 461 437 462 /** Method to ensure that a certain value is selected, if it exists within that combobox to begin with. 438 463 * @param combobox The <strong>JComboBox</strong> whose selection we are trying to preset.
Note:
See TracChangeset
for help on using the changeset viewer.