Changeset 14679
- Timestamp:
- 2007-10-15T12:47:57+13:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/cdm/CollectionDesignManager.java
r14237 r14679 190 190 /** Cause the current collection configuration to be written out to disk. 191 191 */ 192 public void save() 193 { 192 public void save() { 194 193 collect_config.saveIfNecessary(); 195 196 // if (Gatherer.GS3 == false) {197 // collect_config.saveIfNecessary();198 // return;199 // }200 //// String msg = XMLParser.parseDOM(CollectionManager.getLoadedCollectionCfgFilePath());201 // Element root = this.collect_config.getDocumentElement();202 // String msg = XMLTools.parseDOM(XMLTools.xmlNodeToString(root));203 // if(msg.startsWith(XMLTools.NOTWELLFORMED)) {204 // String str = new String("The collection configuration file is not wellformed, and cannot be saved to disk.");205 // JOptionPane.showMessageDialog(null, str, XMLTools.NOTWELLFORMED, JOptionPane.ERROR_MESSAGE);206 // } else {207 //208 // collect_config.saveIfNecessary();209 // }210 194 } 211 195
Note:
See TracChangeset
for help on using the changeset viewer.