- Timestamp:
- 2005-08-24T15:50:05+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/file/FileManager.java
r10555 r10557 45 45 import org.greenstone.gatherer.gui.NewFolderOrFilePrompt; 46 46 import org.greenstone.gatherer.gui.tree.DragTree; 47 import org.greenstone.gatherer.remote.RemoteFileQueue;48 47 import org.greenstone.gatherer.remote.RemoteGreenstoneServer; 49 48 import org.greenstone.gatherer.util.DragComponent; … … 58 57 /** Not only the queue of files to be moved, but also the object that moves them. */ 59 58 static private FileQueue file_queue = null; 60 static private RemoteFileQueue remote_file_queue = null;61 59 62 60 public static int FILE_TYPE = 0; … … 71 69 file_queue = new FileQueue(); 72 70 file_queue.start(); 73 74 if (Gatherer.isGsdlRemote) {75 remote_file_queue = new RemoteFileQueue();76 remote_file_queue.start();77 }78 71 } 79 72 … … 177 170 file_queue.addJob(id, source, source_nodes, target, target_node, type, true); 178 171 if (Gatherer.isGsdlRemote) { 179 remote_file_queue.addJob(id, source_nodes, target_node, type);172 RemoteGreenstoneServer.addJob(id, source_nodes, target_node, type); 180 173 } 181 174 } … … 262 255 long id = System.currentTimeMillis(); 263 256 CollectionTreeNode new_folder_node = new CollectionTreeNode(folder_file); 264 remote_file_queue.addJob(id, new FileNode[] { new_folder_node }, null, FileJob.NEW_FOLDER);257 RemoteGreenstoneServer.addJob(id, new FileNode[] { new_folder_node }, null, FileJob.NEW_FOLDER); 265 258 } 266 259 }
Note:
See TracChangeset
for help on using the changeset viewer.