Changeset 4469
- Timestamp:
- 2003-06-04T10:13:08+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/file/FileQueue.java
r4447 r4469 73 73 private HashMap recycle_folder_mappings = new HashMap(); 74 74 /** A label explaining the current moving files status. */ 75 private SmudgyLabel file_status = null;75 private JLabel file_status = null; // was a SmudgyLabel 76 76 /** A label explaining the status of this job. */ 77 private JLabel job_status = null;77 //private JLabel job_status = null; // no longer used 78 78 /** A list containing a queue of waiting movement jobs. */ 79 79 //private LinkedList queue; … … 95 95 args[0] = "0"; 96 96 args[1] = "0"; 97 file_status = new SmudgyLabel(get("Selected", args));98 job_status = new JLabel(get("No_Activity"));97 file_status = new JLabel(get("Selected", args)); //new SmudgyLabel(get("Selected", args)); 98 //job_status = new JLabel(get("No_Activity")); 99 99 progress = new LongProgressBar(); 100 100 progress.setBackground(Gatherer.config.getColor("coloring.collection_tree_background", false)); … … 172 172 } 173 173 /** Access to the job state label. */ 174 public JLabel getJobStatus() {175 return job_status;176 }174 // public JLabel getJobStatus() { 175 // return job_status; 176 // } 177 177 /** Access to the progress bar. */ 178 178 public LongProgressBar getProgress() { … … 267 267 String args[] = new String[1]; 268 268 args[0] = "" + (queue.size() + 1) + ""; 269 job_status.setText(get("Jobs", args));269 //job_status.setText(get("Jobs", args)); 270 270 if(job.type == FileJob.COPY) { 271 271 args[0] = Utility.formatPath("FileActions.Copying", source_file.getAbsolutePath(), file_status.getSize().width); … … 277 277 } 278 278 args = null; 279 file_status.setToolTipText(Utility.formatHTMLWidth(file_status.getText(), 80));279 //file_status.setToolTipText(Utility.formatHTMLWidth(file_status.getText(), 80)); 280 280 // If source is a file 281 281 if(source_file.isFile()) { … … 446 446 String args[] = new String[1]; 447 447 args[0] = "" + (queue.size() + 1) + ""; 448 job_status.setText(get("Jobs", args));448 //job_status.setText(get("Jobs", args)); 449 449 args[0] = Utility.formatPath("FileActions.Deleting", source_file.getAbsolutePath(), file_status.getSize().width); 450 450 file_status.setText(get("Deleting", args)); 451 451 args = null; 452 file_status.setToolTipText(Utility.formatHTMLWidth(file_status.getText(), 80));452 //file_status.setToolTipText(Utility.formatHTMLWidth(file_status.getText(), 80)); 453 453 // Remove its metadata 454 454 ArrayList metadatum = null; … … 582 582 } 583 583 // Reset status area 584 job_status.setText(get("No_Selection"));584 //job_status.setText(get("No_Selection")); 585 585 file_status.setText(get("No_Activity")); 586 586 progress.reset(); … … 640 640 args[0] = "" + file_count + ""; 641 641 args[1] = "" + dir_count + ""; 642 job_status.setText(get("Selected", args));642 //job_status.setText(get("Selected", args)); 643 643 args = null; 644 644 }
Note:
See TracChangeset
for help on using the changeset viewer.