Changeset 11283


Ignore:
Timestamp:
2006-02-17T15:27:58+13:00 (18 years ago)
Author:
kjdon
Message:

changed setHiddenGLI() to setHiddenGLI(bool)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/Argument.java

    r10345 r11283  
    6969    /** An element of the argument type enumeration specifying a regular expression text field. */
    7070    static final public byte REGEXP = 8;
    71     /** true if this argument should actually be hidden within the GLI. This is iportant for arguments such as import dir or other location critical arguments. */
     71    /** true if this argument should actually be hidden within the GLI. This is important for arguments such as import dir or other location critical arguments. */
    7272    private boolean hidden_gli = false;
    7373    /** <i>true</i> if this argument is required for the applicable script to work properly, <i>false</i> otherwise. */
     
    152152    copy.setMaximum(maximum);
    153153    copy.setModeLevel(mode_level);
     154    copy.setHiddenGLI(hidden_gli);
    154155    return copy;
    155156    }
     
    335336
    336337    /** Mark this argument as being hidden in GLI. */
    337     public void setHiddenGLI() {
    338     hidden_gli = true;
     338    public void setHiddenGLI(boolean hidden) {
     339    this.hidden_gli = hidden;
    339340    }
    340341
     
    602603        }
    603604        else if(node_name.equals("HiddenGLI")) {
    604         setHiddenGLI();
     605        setHiddenGLI(true);
    605606        }
    606607        else if(node_name.equals("ModeGLI")) {
Note: See TracChangeset for help on using the changeset viewer.