Changeset 4383
- Timestamp:
- 2003-05-28T11:49:14+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/file/FileManager.java
r4366 r4383 88 88 } 89 89 Task task = new Task(System.currentTimeMillis(), source, source_nodes, target, target_node, type); 90 SwingUtilities.invokeLater(task);90 task.start(); 91 91 } 92 92 … … 124 124 125 125 private class Task 126 implements Runnable{126 extends Thread { 127 127 private byte type; 128 128 private DragComponent source; … … 140 140 } 141 141 public void run() { 142 142 // Reset, and calculate progress bar size. 143 143 queue.calculateSize(source_nodes); 144 144 // Now we queue the job(s). Note that this may fail if a read only file is encountered and we have been asked to delete. 145 145 for(int i = 0; source_nodes != null && i < source_nodes.length; i++) { 146 146 queue.addJob(id, source, source_nodes[i], target, target_node, type, true, true, true);
Note:
See TracChangeset
for help on using the changeset viewer.