- Timestamp:
- 2006-09-21T15:24:25+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/FormatManager.java
r12708 r12808 152 152 Node target_node = CollectionConfiguration.findInsertionPoint(element); 153 153 add(root, format, target_node); 154 Gatherer.c_man.configurationChanged();155 154 } 156 155 } … … 207 206 private void removeFormat(Format format) { 208 207 remove(format); 209 Gatherer.c_man.configurationChanged();210 211 208 } 212 209 … … 528 525 addFormat(format); 529 526 existingFormat(); 530 // Save the collection configuration file immediately531 532 Gatherer.c_man.configurationChanged();533 527 534 528 // Update list selection … … 582 576 if (shouldSave){ 583 577 format.setValue(editor_textarea.getText()); 584 Gatherer.c_man.configurationChanged();585 578 model.refresh((DOMProxyListEntry)format); 586 579 } … … 605 598 if (shouldSave){ 606 599 format.setState(enabled_checkbox.isSelected()); 607 Gatherer.c_man.configurationChanged();608 600 model.refresh((DOMProxyListEntry)format); 609 601 } … … 933 925 removeFormat((Format)format_list.getSelectedValue()); 934 926 935 // Save the collection configuration file immediately936 Gatherer.c_man.configurationChanged();937 927 // Change buttons 938 928 add_button.setEnabled(true); 939 929 newFormat(); 940 941 930 } 942 931 }
Note:
See TracChangeset
for help on using the changeset viewer.