Ignore:
Timestamp:
2008-11-27T15:38:09+13:00 (15 years ago)
Author:
kjdon
Message:

I think I have disabled scheduling for systems specialist mode. now only available for expert mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/gui/CreatePane.java

    r16400 r17940  
    155155    public String homepage = null;
    156156
    157 
    158157    /** The constructor creates important helper classes, and initializes all the components.
    159158     * @see org.greenstone.gatherer.collection.CollectionManager
     
    365364        sargument_configuration_panel = options_pane.buildImport(null);
    366365        sargument_configuration_panel = options_pane.buildBuild(sargument_configuration_panel);
    367         if(CollectionManager.canDoScheduling()) {
    368         sargument_configuration_panel = options_pane.buildSchedule(sargument_configuration_panel);
    369         }
     366        // if(CollectionManager.canDoScheduling()) {
     367        //  sargument_configuration_panel = options_pane.buildSchedule(sargument_configuration_panel);
     368        // }
    370369    }
    371370    else {
     
    487486        sargument_configuration_panel = options_pane.buildImport(null);
    488487        sargument_configuration_panel = options_pane.buildBuild(sargument_configuration_panel);
    489         if(CollectionManager.canDoScheduling()) {
    490             sargument_configuration_panel = options_pane.buildSchedule(sargument_configuration_panel);
    491         }
     488        //  if(CollectionManager.canDoScheduling()) {
     489        //  sargument_configuration_panel = options_pane.buildSchedule(sargument_configuration_panel);
     490        //}
    492491        }
    493492        else {
     
    631630        sargument_configuration_panel = options_pane.buildImport(null);
    632631        sargument_configuration_panel = options_pane.buildBuild(sargument_configuration_panel);
    633         if(CollectionManager.canDoScheduling()) {
    634         sargument_configuration_panel = options_pane.buildSchedule(sargument_configuration_panel);
    635         }
     632        //if(CollectionManager.canDoScheduling()) {
     633        //sargument_configuration_panel = options_pane.buildSchedule(sargument_configuration_panel);
     634        //}
    636635        sargument_configuration_scroll = new JScrollPane(sargument_configuration_panel);
    637636        sargument_configuration_scroll.setPreferredSize(ARGUMENT_SIZE);
     
    792791        }
    793792       
     793        // have commented this out for now - scheduling currently not
     794        // available except in expert mode
    794795        //only schedule in SYSTEM mode - also done in EXPERT mode, but that is handled elsewhere
    795         if(Configuration.getMode() ==  Configuration.SYSTEMS_MODE) {
     796        /*      if(Configuration.getMode() ==  Configuration.SYSTEMS_MODE) {
    796797           if(Gatherer.c_man.getCollection().schedule_options.getValueEnabled("schedule")) {
    797798            Gatherer.c_man.getCollection().schedule_options.setValue("action",true,"add");
     
    809810        }
    810811        }
     812        */
    811813        //Re-setting the rebuildTypeRequired is handled by CollectionManager.processComplete(GShellEvent)
    812814    }
Note: See TracChangeset for help on using the changeset viewer.