Changeset 18368 for gli/branches/rtl-gli/src/org/greenstone/gatherer/cdm/CollectionDesignManager.java
- Timestamp:
- 2009-01-12T12:20:53+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/branches/rtl-gli/src/org/greenstone/gatherer/cdm/CollectionDesignManager.java
r18352 r18368 196 196 /** Cause the current collection configuration to be written out to disk. 197 197 */ 198 public void save() 199 { 198 public void save() { 200 199 collect_config.saveIfNecessary(); 201 202 // if (Gatherer.GS3 == false) {203 // collect_config.saveIfNecessary();204 // return;205 // }206 //// String msg = XMLParser.parseDOM(CollectionManager.getLoadedCollectionCfgFilePath());207 // Element root = this.collect_config.getDocumentElement();208 // String msg = XMLTools.parseDOM(XMLTools.xmlNodeToString(root));209 // if(msg.startsWith(XMLTools.NOTWELLFORMED)) {210 // String str = new String("The collection configuration file is not wellformed, and cannot be saved to disk.");211 // JOptionPane.showMessageDialog(null, str, XMLTools.NOTWELLFORMED, JOptionPane.ERROR_MESSAGE);212 // } else {213 //214 // collect_config.saveIfNecessary();215 // }216 200 } 217 201
Note:
See TracChangeset
for help on using the changeset viewer.