Changeset 6092
- Timestamp:
- 2003-12-02T17:23:46+13:00 (20 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/MetaEditPane.java
r6069 r6092 241 241 242 242 public void run() { 243 System.err.println("Add metadata - '" + value + "'");243 ///ystem.err.println("Add metadata - '" + value + "'"); 244 244 // Check the new metadata is valid 245 245 if(records != null && element != null && value != null) { … … 1265 1265 if (!card_showing.equals(NONE)) { 1266 1266 // Decode val 1267 // System.err.println("Before transforms: " + val);1267 ///ystem.err.println("Before transforms: " + val); 1268 1268 //val = Codec.transform(val, Codec.DECODE_SQUARE_BRACKETS); 1269 1269 //val = Codec.transform(val, Codec.DECODE_PATH); 1270 // System.err.println("Setting selected value to: " + val);1270 ///ystem.err.println("Setting selected value to: " + val); 1271 1271 manual_text_edit_event = val.equals(""); // Set to false unless val == "" 1272 1272 value.setText(val); ///odec.transform(val, /odec.GREENSTONE_TO_TEXT)); … … 1280 1280 private TreePath getClosestPath(String val) 1281 1281 { 1282 System.err.println("Select closest path to: " + val);1282 ///ystem.err.println("Select closest path to: " + val); 1283 1283 // Start at the root of the tree 1284 1284 GValueNode tree_node = (GValueNode) tree.getModel().getRoot(); … … 1349 1349 GValueNode node = (GValueNode) path.getLastPathComponent(); 1350 1350 String val = node.getFullPath(true); 1351 System.err.println("Setting value to: " + val);1351 ///ystem.err.println("Setting value to: " + val); 1352 1352 value.setText(val); 1353 1353 val = null; -
trunk/gli/src/org/greenstone/gatherer/msm/GDMDocument.java
r6069 r6092 196 196 node_value = metadata.getAbsoluteValue(); 197 197 } 198 System.err.println("Creating node in GDMDocument: '" + node_value + "'");198 ///ystem.err.println("Creating node in GDMDocument: '" + node_value + "'"); 199 199 metadata_element.appendChild(base_document.createTextNode(node_value)); 200 200 // Retrieve the first description element for this fileset (there should only be one, but I'll play it safe). … … 380 380 //String current_value = Codec.transform(metadata.getValueNode().getFullPath(false), Codec.TEXT_TO_DOM); 381 381 String current_value = metadata.getValueNode().getFullPath(false); 382 // System.err.println("Checking the current mdv path: " + current_value);383 // System.err.println("Against whats in the metadata file: " + raw_value);382 ///ystem.err.println("Checking the current mdv path: " + current_value); 383 ///ystem.err.println("Against whats in the metadata file: " + raw_value); 384 384 if(!raw_value.equals(current_value)) { 385 385 // Remove old text
Note:
See TracChangeset
for help on using the changeset viewer.