Changeset 6148


Ignore:
Timestamp:
2003-12-08T14:21:35+13:00 (20 years ago)
Author:
jmt12
Message:

Greenstone Collection children nodes now appear with their full title followed by the filename in curved brackets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/file/FileNode.java

    r5884 r6148  
    99import org.greenstone.gatherer.Dictionary;
    1010import org.greenstone.gatherer.Gatherer;
     11import org.greenstone.gatherer.collection.BasicCollectionConfiguration;
    1112import org.greenstone.gatherer.collection.Collection;
    1213import org.greenstone.gatherer.file.FileFilter;
     
    268269            File import_dir = new File(cols[i], StaticStrings.IMPORT_FOLDER);
    269270            if(import_dir.exists()) {
    270                 FileNode collection_root = new FileNode(import_dir, cols[i].getName(), true);
     271                BasicCollectionConfiguration collect_cfg = new BasicCollectionConfiguration(new File(cols[i], Utility.CONFIG_DIR));
     272                FileNode collection_root = new FileNode(import_dir, collect_cfg.toString(), true);
    271273                collection_root.setParent(this);
    272274                collection_root.setModel(model);
Note: See TracChangeset for help on using the changeset viewer.