Ignore:
Timestamp:
2006-09-21T15:24:25+12:00 (18 years ago)
Author:
mdewsnip
Message:

Removed CollectionManager.configurationChanged() and all 50 calls to it. The CollectionConfiguration class now works out itself whether it needs to be changed or not -- a far more reliable approach.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/FormatManager.java

    r12708 r12808  
    152152        Node target_node = CollectionConfiguration.findInsertionPoint(element);
    153153        add(root, format, target_node);
    154         Gatherer.c_man.configurationChanged();
    155154    }
    156155    }
     
    207206    private void removeFormat(Format format) {
    208207    remove(format);
    209     Gatherer.c_man.configurationChanged();
    210        
    211208    }
    212209
     
    528525        addFormat(format);
    529526        existingFormat();
    530         // Save the collection configuration file immediately
    531    
    532         Gatherer.c_man.configurationChanged();
    533527
    534528            // Update list selection
     
    582576                    if (shouldSave){
    583577            format.setValue(editor_textarea.getText());
    584                         Gatherer.c_man.configurationChanged();
    585578                        model.refresh((DOMProxyListEntry)format);
    586579            }
     
    605598            if (shouldSave){
    606599            format.setState(enabled_checkbox.isSelected());
    607                         Gatherer.c_man.configurationChanged();
    608600                        model.refresh((DOMProxyListEntry)format);
    609601            }
     
    933925            removeFormat((Format)format_list.getSelectedValue());
    934926
    935             // Save the collection configuration file immediately
    936             Gatherer.c_man.configurationChanged();
    937927            // Change buttons
    938928            add_button.setEnabled(true);
    939929            newFormat();
    940                    
    941930        }
    942931        }
Note: See TracChangeset for help on using the changeset viewer.