- Timestamp:
- 2006-01-20T10:52:24+13:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/file/FileQueue.java
r11049 r11073 37 37 import org.greenstone.gatherer.Gatherer; 38 38 import org.greenstone.gatherer.collection.CollectionTreeNode; 39 import org.greenstone.gatherer.gui. LongProgressBar;39 import org.greenstone.gatherer.gui.GProgressBar; 40 40 import org.greenstone.gatherer.gui.tree.DragTree; 41 41 import org.greenstone.gatherer.metadata.MetadataValue; … … 64 64 private ArrayList queue = null; 65 65 /** A progress bar which shows how many bytes, out of the total size of bytes, has been moved. */ 66 private LongProgressBar progress = null;66 private GProgressBar progress = null; 67 67 68 68 … … 74 74 file_status = new JLabel(); 75 75 Dictionary.setText(file_status, "FileActions.No_Activity"); 76 progress = new LongProgressBar();76 progress = new GProgressBar(); 77 77 progress.setBackground(Configuration.getColor("coloring.collection_tree_background", false)); 78 78 progress.setForeground(Configuration.getColor("coloring.collection_tree_foreground", false)); … … 200 200 201 201 /** Access to the progress bar. */ 202 public LongProgressBar getProgressBar() {202 public GProgressBar getProgressBar() { 203 203 return progress; 204 204 } … … 210 210 * @see org.greenstone.gatherer.file.FileJob 211 211 * @see org.greenstone.gatherer.file.FileNode 212 * @see org.greenstone.gatherer.gui. LongProgressBar212 * @see org.greenstone.gatherer.gui.GProgressBar 213 213 * @see org.greenstone.gatherer.util.Utility 214 214 */ … … 583 583 * @see org.greenstone.gatherer.Gatherer 584 584 */ 585 public void copyDirectoryContents(File source, File destination, LongProgressBar progress)585 public void copyDirectoryContents(File source, File destination, GProgressBar progress) 586 586 throws FileAlreadyExistsException, FileNotFoundException, InsufficientSpaceException, IOException, ReadNotPermittedException, UnknownFileErrorException, WriteNotPermittedException 587 587 { … … 610 610 * @see org.greenstone.gatherer.Gatherer 611 611 */ 612 public void copyFile(File source, File destination, LongProgressBar progress)612 public void copyFile(File source, File destination, GProgressBar progress) 613 613 throws FileAlreadyExistsException, FileNotFoundException, InsufficientSpaceException, IOException, ReadNotPermittedException, UnknownFileErrorException, WriteNotPermittedException { 614 614 if(source.isDirectory()) {
Note:
See TracChangeset
for help on using the changeset viewer.