Changeset 13605
- Timestamp:
- 2007-01-12T18:02:50+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/file/FileManager.java
r13604 r13605 417 417 public void run() 418 418 { 419 420 419 JFileChooser file_chooser = new JFileChooser(startup_directory); 421 420 file_chooser.setDialogTitle(Dictionary.get("ReplacePrompt.Title")); … … 439 438 // copy the new file in - but don't bring metadata 440 439 file_queue.addJob(System.currentTimeMillis(), Gatherer.g_man.gather_pane.workspace_tree, new FileNode[] { source_node }, collection_tree, (FileNode)collection_tree_node.getParent(), FileJob.COPY_FILE_ONLY); 440 if (Gatherer.isGsdlRemote) { 441 RemoteGreenstoneServer.uploadFilesIntoCollection(CollectionManager.getLoadedCollectionName(), new File[] { new_file }, target_directory); 442 } 441 443 // do a replace of old file with new file 442 444 file_queue.addJob(System.currentTimeMillis(), collection_tree, new FileNode[] { collection_tree_node }, collection_tree, new_collection_tree_node, FileJob.REPLACE); 443 444 } 445 } 446 445 } 446 } 447 447 } 448 449 450 451
Note:
See TracChangeset
for help on using the changeset viewer.