- Timestamp:
- 2004-11-18T09:55:22+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/Preferences.java
r8506 r8590 41 41 import org.greenstone.gatherer.cdm.PlugInManager; 42 42 import org.greenstone.gatherer.checklist.CheckList; 43 import org.greenstone.gatherer.checklist. Entry;43 import org.greenstone.gatherer.checklist.CheckListEntry; 44 44 import org.greenstone.gatherer.collection.Collection; 45 45 import org.greenstone.gatherer.gui.tree.DragTree; … … 496 496 // Remove 'warning.' 497 497 String title = Dictionary.get(property.substring(8) + ".Title"); 498 Entry entry = newEntry(title, value.equalsIgnoreCase(TRUE));498 CheckListEntry entry = new CheckListEntry(title, value.equalsIgnoreCase(TRUE)); 499 499 entry.setProperty(property); 500 500 warning_preferences_check_list.addEntry(entry); … … 683 683 ListModel warning_preferences_check_list_model = warning_preferences_check_list.getModel(); 684 684 for (int i = 0; i < warning_preferences_check_list_model.getSize(); i++) { 685 Entry entry = (Entry) warning_preferences_check_list_model.getElementAt(i);685 CheckListEntry entry = (CheckListEntry) warning_preferences_check_list_model.getElementAt(i); 686 686 Configuration.set(entry.getProperty(), true, entry.isSelected()); 687 687 }
Note:
See TracChangeset
for help on using the changeset viewer.