Changeset 13531


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

Removed some unused functions.

Location:
trunk/gli/src/org/greenstone/gatherer/gui
Files:
4 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
  • trunk/gli/src/org/greenstone/gatherer/gui/GUIManager.java

    r13519 r13531  
    597597
    598598
    599     /** Returns to some "initial" pane (when no collection is loaded) */
    600     public void returnToInitialPane()
    601     {
    602     if (gather_pane != null) {
    603         tab_pane.setSelectedComponent(gather_pane);
    604     }
    605     }
    606 
    607 
    608599    /** Specifies whether a certain tab is enabled or not. */
    609600    private void setTabEnabled(String rawname, boolean state) {
  • trunk/gli/src/org/greenstone/gatherer/gui/WriteCDImagePrompt.java

    r12730 r13531  
    281281
    282282   
    283     protected long getFileSize(File file)
     283    private long getFileSize(File file)
    284284    {
    285285    long file_size = 0;
  • trunk/gli/src/org/greenstone/gatherer/gui/metaaudit/MetaAuditFrame.java

    r12115 r13531  
    156156    }
    157157
    158     public void setRecords(CollectionTreeNode[] records) {
    159     this.records = records;
    160     if(isVisible()) {
    161         rebuildModel();
    162     }
    163     else {
    164         invalid = true;
    165     }
    166     }
    167 
    168158    /** This method is called whenever the selection within the collection tree changes. This causes the table to be rebuilt with a new model.
    169159     * @param event A <strong>TreeSelectionEvent</strong> containing information about the event.
Note: See TracChangeset for help on using the changeset viewer.