Changeset 14094
- Timestamp:
- 2007-05-25T09:03:06+12:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/CollectionDesignManager.java
r14038 r14094 192 192 public void save() 193 193 { 194 if (Gatherer.GS3 == false) { 195 collect_config.saveIfNecessary(); 196 return; 197 } 194 198 // String msg = XMLParser.parseDOM(CollectionManager.getLoadedCollectionCfgFilePath()); 195 199 Element root = this.collect_config.getDocumentElement (); 196 200 String msg = XMLTools.parseDOM(XMLTools.xmlNodeToString(root)); 197 201 if(msg.startsWith(XMLTools.NOTWELLFORMED)) { 198 202 String str = new String("The collection configuration file is not wellformed, and cannot be saved to disk."); 199 203 JOptionPane.showMessageDialog(null, str, XMLTools.NOTWELLFORMED, JOptionPane.ERROR_MESSAGE); 200 204 } else { 201 205 202 206 collect_config.saveIfNecessary();
Note:
See TracChangeset
for help on using the changeset viewer.