Ignore:
Timestamp:
2006-12-20T14:10:13+13:00 (17 years ago)
Author:
mdewsnip
Message:

Removed some unused functions.

File:
1 edited

Legend:

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

    r12119 r13531  
    126126    add(combobox, BorderLayout.CENTER);
    127127    }
    128     /** Retrieve the combobox associated with this filter.
    129      * @return A <strong>GComboBox</strong>.
    130      */
    131     public GComboBox getComboBox() {
    132     return combobox;
    133     }
    134128
    135129    /** Used to restore the filter state to enabled, the normal state during collection editing.
     
    170164    public void setFirst(boolean first) {
    171165    this.first = first;
    172     }
    173 
    174     /** Spawn produces a copy of this filter, which has new controls, but shares listeners with this filter, and vice versa. Thus we can have two synchronized, but differing sets of controls.
    175      * @param tree_spawn The <strong>JTree</strong> this filter will affect.
    176      * @return A new <strong>Filter</strong> which is in the same run as this filter.
    177      */
    178     public Filter spawn(DragTree tree_spawn) {
    179     Filter filter = new Filter(tree_spawn, others);
    180     filter.setFirst(false); // No spawned copies should generate error messages, but fail silently.
    181     filter.setComboBoxModel(combobox.getModel());
    182     filter.setComboBoxSelection((Entry)combobox.getSelectedItem());
    183     return filter;
    184166    }
    185167
Note: See TracChangeset for help on using the changeset viewer.