Ignore:
Timestamp:
2006-04-07T11:51:11+12:00 (18 years ago)
Author:
mdewsnip
Message:

The workspace and collection tree filters are now owned by the trees themselves, rather than the GUIManager.

File:
1 edited

Legend:

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

    r11616 r11619  
    1717import org.greenstone.gatherer.file.FileNode;
    1818import org.greenstone.gatherer.file.FileSystemModel;
     19import org.greenstone.gatherer.gui.Filter;
    1920import org.greenstone.gatherer.util.DragComponent;
    2021import org.greenstone.gatherer.util.DragGroup;
     
    3132    /** The Group this component belongs to. */
    3233    private DragGroup group;
     34    /** The filter for this tree. */
     35    private Filter filter = null;
    3336    /** The image to use for the disabled background. */
    3437    private ImageIcon disabled_background;
     
    8891    // Init
    8992    this.name = name;
     93    this.filter = new Filter(this, null);
    9094
    9195    // Creation
     
    454458    }
    455459
     460    public Filter getFilter() {
     461    return filter;
     462    }
     463
    456464    public String getSelectionDetails() {
    457465    return ((DragTreeSelectionModel)selectionModel).getDetails();
Note: See TracChangeset for help on using the changeset viewer.