Changeset 6061
- Timestamp:
- 2003-12-01T13:50:58+13:00 (20 years ago)
- 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 49 49 import org.greenstone.gatherer.cdm.CollectionMeta; 50 50 import org.greenstone.gatherer.cdm.CollectionMetaManager; 51 import org.greenstone.gatherer.collection.BasicCollectionConfiguration; 51 52 import org.greenstone.gatherer.collection.Collection; 52 53 import org.greenstone.gatherer.collection.SaveCollectionTask; … … 300 301 if(collection.msm.getSets().size() == 0) { 301 302 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 = newCollectionConfiguration(new File(base_collection_directory, Utility.CONFIG_DIR));303 BasicCollectionConfiguration col_con = new BasicCollectionConfiguration(new File(base_collection_directory, Utility.CONFIG_DIR)); 303 304 // If the source collection is one of the 'big five' then we know what the metadata set is. 304 305 String collection_name = col_con.getName(); -
trunk/gli/src/org/greenstone/gatherer/collection/DeleteCollectionPrompt.java
r5893 r6061 44 44 import org.greenstone.gatherer.Dictionary; 45 45 import org.greenstone.gatherer.Gatherer; 46 import org.greenstone.gatherer.collection.BasicCollectionConfiguration; 46 47 import org.greenstone.gatherer.collection.Collection; 47 48 import org.greenstone.gatherer.gui.ModalDialog; … … 226 227 File config_file = Utility.findConfigFile(collections[i]); 227 228 if (config_file != null) { 228 CollectionConfiguration config = newCollectionConfiguration(config_file);229 BasicCollectionConfiguration config = new BasicCollectionConfiguration(config_file); 229 230 if (config != null) { 230 231 CollectionEntry col = new CollectionEntry(collections[i].getName(), config); … … 336 337 337 338 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) { 341 342 this.name = name; 342 343 this.config = config; -
trunk/gli/src/org/greenstone/gatherer/collection/ExportCollectionPrompt.java
r6057 r6061 47 47 import org.greenstone.gatherer.Dictionary; 48 48 import org.greenstone.gatherer.Gatherer; 49 import org.greenstone.gatherer.collection.BasicCollectionConfiguration; 49 50 import org.greenstone.gatherer.collection.Collection; 50 51 import org.greenstone.gatherer.gui.ModalDialog; … … 342 343 File config_file = Utility.findConfigFile(collections[i]); 343 344 if (config_file != null) { 344 CollectionConfiguration config = newCollectionConfiguration(config_file);345 BasicCollectionConfiguration config = new BasicCollectionConfiguration(config_file); 345 346 if (config != null) { 346 347 CollectionEntry col = new CollectionEntry(collections[i].getName(), config); … … 472 473 473 474 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) { 477 478 this.name = name; 478 479 this.config = config;
Note:
See TracChangeset
for help on using the changeset viewer.