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/LanguageManager.java

    r12800 r12808  
    112112        CollectionDesignManager.collectionmeta_manager.addMetadatum(metadatum);
    113113        add(getSize(), language);
    114         Gatherer.c_man.configurationChanged();
    115114    }
    116115    }
     
    204203    }
    205204
    206     // Schedule the collection for saving
    207     Gatherer.c_man.configurationChanged();
    208205    return new_position;
    209206    }
     
    221218        setDefault(null);
    222219    }
    223     Gatherer.c_man.configurationChanged();
    224220    }
    225221
     
    239235    remove(old_language);
    240236    add(position, new_language);
    241 
    242     // Schedule the collection for saving
    243     Gatherer.c_man.configurationChanged();
    244 
    245     }
     237    }
     238
     239
    246240    /** Method to set the default language.
    247241     * @param language The <strong>Language</strong> to use as a default, or <i>null</i> for no default.
     
    271265        }
    272266    }
    273     Gatherer.c_man.configurationChanged();
    274267    }
    275268
     
    372365            language_metadata.setAttribute(StaticStrings.ASSIGNED_ATTRIBUTE, StaticStrings.TRUE_STR);
    373366            language_metadata.setAttribute(StaticStrings.NAME_ATTRIBUTE, value);
    374             Gatherer.c_man.configurationChanged();
    375367            }
    376368        });
Note: See TracChangeset for help on using the changeset viewer.