Changeset 7161


Ignore:
Timestamp:
2004-03-31T09:13:16+12:00 (20 years ago)
Author:
kjdon
Message:

removed the copy_monitor stuff cos its not used anywhere and its confusing. John added it in to be used for the stage where html links got rewritten as part of the mirroring process. if we ever do this, we can add it back in.

Location:
trunk/gli/src/org/greenstone/gatherer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java

    r7115 r7161  
    107107    /** The monitor resposible for parsing the build process. */
    108108    private GShellProgressMonitor build_monitor = null;
    109     /** The monitor resposible for parsing the copy process. */
    110     private GShellProgressMonitor copy_monitor = null;
    111109    /** The monitor resposible for parsing the import process. */
    112110    private GShellProgressMonitor import_monitor = null;
     
    11341132    public void registerBuildMonitor(GShellProgressMonitor monitor) {
    11351133    build_monitor = monitor;
    1136     }
    1137     /** This method associates the collection copy monitor with the copy monitor created in CreatePane.
    1138      * @param monitor A <strong>GShellProgressMonitor</strong> which we will use as the copy monitor.
    1139      */
    1140     public void registerCopyMonitor(GShellProgressMonitor monitor) {
    1141     copy_monitor = monitor;
    11421134    }
    11431135    /** This method associates the collection import monitor with the import monitor created in CreatePane.
  • trunk/gli/src/org/greenstone/gatherer/gui/CreatePane.java

    r7151 r7161  
    114114    /** This monitor tracks the build processes progress. */
    115115    private GShellProgressMonitor build_monitor = null;
    116     /** This monitor tracks the copy processes progress. */
    117     private GShellProgressMonitor copy_monitor = null;
    118116    /** This monitor tracks the import processes progress. */
    119117    private GShellProgressMonitor import_monitor = null;
     
    131129    /** The label alongside the build progress bar gets some special treatment so... */
    132130    private JLabel progress_build_label = null;
    133     /** The label alongside the copy progress bar gets some special treatment so... */
    134     private JLabel progress_copy_label = null;
    135131    /** The label alongside the import progress bar gets some special treatment so... */
    136132    private JLabel progress_import_label = null;
     
    200196    bar_area = new JPanel(); // This component will be shared about
    201197
    202     // what is this???
    203     progress_copy_label = new JLabel();
    204     Dictionary.registerText(progress_copy_label, "CreatePane.Copy_Progress");
    205 
    206     copy_monitor = new GBasicProgressMonitor();
    207     Gatherer.c_man.registerCopyMonitor(copy_monitor);
    208 
    209198    progress_import_label = new JLabel();
    210199    Dictionary.registerText(progress_import_label, "CreatePane.Import_Progress");
     
    370359    JPanel labels_pane = new JPanel();
    371360    labels_pane.setLayout(new GridLayout(2,1,0,5));
    372     //labels_pane.add(progress_copy_label);
    373361    labels_pane.add(progress_import_label);
    374362    labels_pane.add(progress_build_label);
     
    376364    JPanel monitors_pane = new JPanel();
    377365    monitors_pane.setLayout(new GridLayout(2,1,0,5));
    378     //monitors_pane.add(copy_monitor.getProgress());
    379366    monitors_pane.add(import_monitor.getProgress());
    380367    monitors_pane.add(build_monitor.getProgress());
     
    653640        // Reset the stop flag in all the process monitors, just incase.
    654641        ((GBuildProgressMonitor)build_monitor).reset();
    655         copy_monitor.setStop(false);
    656642        import_monitor.setStop(false);
    657643        // Set removeold automatically.
Note: See TracChangeset for help on using the changeset viewer.