Changeset 6061


Ignore:
Timestamp:
2003-12-01T13:50:58+13:00 (20 years ago)
Author:
jmt12
Message:

Classes that I forgot to rewrite to use the new BasicCollectionConfiguration

Location:
trunk/gli/src/org/greenstone/gatherer/collection
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java

    r6051 r6061  
    4949import org.greenstone.gatherer.cdm.CollectionMeta;
    5050import org.greenstone.gatherer.cdm.CollectionMetaManager;
     51import org.greenstone.gatherer.collection.BasicCollectionConfiguration;
    5152import org.greenstone.gatherer.collection.Collection;
    5253import org.greenstone.gatherer.collection.SaveCollectionTask;
     
    300301        if(collection.msm.getSets().size() == 0) {
    301302            Gatherer.println("As there are no metadata sets loaded yet, we'll make special checks for the collections available on the GS2.39CD.");
    302             CollectionConfiguration col_con = new CollectionConfiguration(new File(base_collection_directory, Utility.CONFIG_DIR));
     303            BasicCollectionConfiguration col_con = new BasicCollectionConfiguration(new File(base_collection_directory, Utility.CONFIG_DIR));
    303304            // If the source collection is one of the 'big five' then we know what the metadata set is.
    304305            String collection_name = col_con.getName();
  • trunk/gli/src/org/greenstone/gatherer/collection/DeleteCollectionPrompt.java

    r5893 r6061  
    4444import org.greenstone.gatherer.Dictionary;
    4545import org.greenstone.gatherer.Gatherer;
     46import org.greenstone.gatherer.collection.BasicCollectionConfiguration;
    4647import org.greenstone.gatherer.collection.Collection;
    4748import org.greenstone.gatherer.gui.ModalDialog;
     
    226227            File config_file = Utility.findConfigFile(collections[i]);
    227228            if (config_file != null) {
    228             CollectionConfiguration config = new CollectionConfiguration(config_file);
     229            BasicCollectionConfiguration config = new BasicCollectionConfiguration(config_file);
    229230            if (config != null) {
    230231                CollectionEntry col = new CollectionEntry(collections[i].getName(), config);
     
    336337
    337338    private String name = null;
    338     private CollectionConfiguration config = null;
    339 
    340     public CollectionEntry(String name, CollectionConfiguration config) {
     339    private BasicCollectionConfiguration config = null;
     340
     341    public CollectionEntry(String name, BasicCollectionConfiguration config) {
    341342        this.name = name;
    342343        this.config = config;
  • trunk/gli/src/org/greenstone/gatherer/collection/ExportCollectionPrompt.java

    r6057 r6061  
    4747import org.greenstone.gatherer.Dictionary;
    4848import org.greenstone.gatherer.Gatherer;
     49import org.greenstone.gatherer.collection.BasicCollectionConfiguration;
    4950import org.greenstone.gatherer.collection.Collection;
    5051import org.greenstone.gatherer.gui.ModalDialog;
     
    342343            File config_file = Utility.findConfigFile(collections[i]);
    343344            if (config_file != null) {
    344             CollectionConfiguration config = new CollectionConfiguration(config_file);
     345            BasicCollectionConfiguration config = new BasicCollectionConfiguration(config_file);
    345346            if (config != null) {
    346347                CollectionEntry col = new CollectionEntry(collections[i].getName(), config);
     
    472473
    473474    private String name = null;
    474     private CollectionConfiguration config = null;
    475 
    476     public CollectionEntry(String name, CollectionConfiguration config) {
     475    private BasicCollectionConfiguration config = null;
     476
     477    public CollectionEntry(String name, BasicCollectionConfiguration config) {
    477478        this.name = name;
    478479        this.config = config;
Note: See TracChangeset for help on using the changeset viewer.