Changeset 21787


Ignore:
Timestamp:
2010-03-15T12:43:33+13:00 (14 years ago)
Author:
kjdon
Message:

got rid of hack code for disable_OAI build option as this option is no longer used

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

Legend:

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

    r18370 r21787  
    137137        Argument argument = build_options.getArgument(i);
    138138       
    139         //A hack to make the disable_OAI option visible in the GLI for Greenstone 3
    140         if(argument.getName().equals(StaticStrings.DISABLEOAI_STR) && Gatherer.GS3) {
    141           argument.setHiddenGLI(false);
    142         }
    143139        if(!argument.isHiddenGLI() && argument.getModeLevel() <= current_mode) {
    144140          // Now attempt to retrieve any existing value for this argument.
     
    197193        Argument argument = schedule_options.getArgument(i);
    198194       
    199         //A hack to make the disable_OAI option visible in the GLI for Greenstone 3
    200         if(argument.getName().equals(StaticStrings.DISABLEOAI_STR) && Gatherer.GS3) {
    201           argument.setHiddenGLI(false);
    202         }
    203         if(!argument.isHiddenGLI() && argument.getModeLevel() <= current_mode) {
     195       if(!argument.isHiddenGLI() && argument.getModeLevel() <= current_mode) {
    204196          // Now attempt to retrieve any existing value for this argument.
    205197          boolean enabled = schedule_options.getValueEnabled(argument.getName());
  • main/trunk/gli/src/org/greenstone/gatherer/util/StaticStrings.java

    r20455 r21787  
    8989    static final public String DESCRIPTION_STR = "description";
    9090    static final public String DIRECTORY_MAPPINGS_ELEMENT = "DirectoryMappings";
    91     static final public String DISABLEOAI_STR = "disable_OAI";
    9291    static final public String DISPLAYITEMLIST_STR = "displayItemList";
    9392    static final public String DISPLAY_STR = "display";
Note: See TracChangeset for help on using the changeset viewer.