- Timestamp:
- 2007-01-12T14:05:00+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/GeneralManager.java
r13453 r13586 38 38 import org.greenstone.gatherer.Dictionary; 39 39 import org.greenstone.gatherer.Gatherer; 40 import org.greenstone.gatherer.collection.CollectionManager; 40 41 import org.greenstone.gatherer.gui.DesignPaneHeader; 41 42 import org.greenstone.gatherer.gui.EmailField; … … 152 153 153 154 JLabel short_name_label = new JLabel(Dictionary.get("NewCollectionPrompt.Collection_Name")); 154 JTextField short_name_textfield = new JTextField( Gatherer.c_man.getCollection().getName());155 JTextField short_name_textfield = new JTextField(CollectionManager.getLoadedCollectionName()); 155 156 short_name_textfield.setEditable(false); 156 157 short_name_textfield.setBackground(Configuration.getColor("coloring.collection_tree_background", false)); … … 317 318 318 319 public BrowseListener(String prefix_raw) { 319 this.prefix = prefix_raw.replaceAll(StaticStrings.COLNAME_PATTERN, Gatherer.c_man.getCollection().getName());320 this.prefix = prefix_raw.replaceAll(StaticStrings.COLNAME_PATTERN, CollectionManager.getLoadedCollectionName()); 320 321 } 321 322 … … 346 347 // If we're using a remote Greenstone server, upload the image 347 348 if (Gatherer.isGsdlRemote) { 348 RemoteGreenstoneServer.uploadCollectionFile( Gatherer.c_man.getCollection().getName(), collection_image_file);349 RemoteGreenstoneServer.uploadCollectionFile(CollectionManager.getLoadedCollectionName(), collection_image_file); 349 350 } 350 351 } … … 415 416 // Set the title 416 417 String collection_title = name_textfield.getText(); 417 String collection_name = Gatherer.c_man.getCollection().getName();418 String collection_name = CollectionManager.getLoadedCollectionName(); 418 419 Gatherer.g_man.setTitle(collection_title, collection_name); 419 420 collection_name_collectionmeta.setValue(name_textfield.getText());
Note:
See TracChangeset
for help on using the changeset viewer.