Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-dev] TreeViewer filter

Hi,

I have a small problem concerning a ViewerFilter. I have a quite large
tree (around 10.000 elements in it) showing a file system, and I would
like to filter this using the inut of a Text field. The only problem
is that for every matching Object (select() = true), I would also need
all of the elements parents, and all of its children. So if I am
looking for "myfilter" I need all files/folders with this string, but
also the full path to the root, AND all files and subfolders of a
folder matching the filter.

root
--mydir
  |-myfilter (matches the filter), I also need the root and all subfiles/subdirs
      |-myfile
      |-mydir2
             |-myfile2
             |-myfile


Does anyone know how to do this?

Regards,
Leen Toelen


Back to the top