Class ItemFilter

    • Constructor Detail

      • ItemFilter

        public ItemFilter()
    • Method Detail

      • filter

        public List<TreeViewerItem> filter​(List<TreeViewerItem> items)
        Filters the given set of items.
        Parameters:
        items - the given set of items, can not be null
        Returns:
        the filtered items, never null
      • select

        public abstract boolean select​(TreeViewerItem item)
        Returns whether the given item makes it through this filter.
        Parameters:
        item - the given item, can not be null
        Returns:
        true if the item is included in the filtered set and false otherwise