Changeset 21787 for main/trunk
- Timestamp:
- 2010-03-15T12:43:33+13:00 (14 years ago)
- 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 137 137 Argument argument = build_options.getArgument(i); 138 138 139 //A hack to make the disable_OAI option visible in the GLI for Greenstone 3140 if(argument.getName().equals(StaticStrings.DISABLEOAI_STR) && Gatherer.GS3) {141 argument.setHiddenGLI(false);142 }143 139 if(!argument.isHiddenGLI() && argument.getModeLevel() <= current_mode) { 144 140 // Now attempt to retrieve any existing value for this argument. … … 197 193 Argument argument = schedule_options.getArgument(i); 198 194 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) { 204 196 // Now attempt to retrieve any existing value for this argument. 205 197 boolean enabled = schedule_options.getValueEnabled(argument.getName()); -
main/trunk/gli/src/org/greenstone/gatherer/util/StaticStrings.java
r20455 r21787 89 89 static final public String DESCRIPTION_STR = "description"; 90 90 static final public String DIRECTORY_MAPPINGS_ELEMENT = "DirectoryMappings"; 91 static final public String DISABLEOAI_STR = "disable_OAI";92 91 static final public String DISPLAYITEMLIST_STR = "displayItemList"; 93 92 static final public String DISPLAY_STR = "display";
Note:
See TracChangeset
for help on using the changeset viewer.