Class ProjectAndFolderFilter


  • public class ProjectAndFolderFilter
    extends org.eclipse.jface.viewers.ViewerFilter
    Filter for viewers to show only Projects and Folders.
    Author:
    Christopher Mindus
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean select​(org.eclipse.jface.viewers.Viewer viewer, java.lang.Object parentElement, java.lang.Object element)
      The selection accepts only IProject and IFolder.
      • Methods inherited from class org.eclipse.jface.viewers.ViewerFilter

        filter, filter, isFilterProperty
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProjectAndFolderFilter

        public ProjectAndFolderFilter()
    • Method Detail

      • select

        public boolean select​(org.eclipse.jface.viewers.Viewer viewer,
                              java.lang.Object parentElement,
                              java.lang.Object element)
        The selection accepts only IProject and IFolder.
        Specified by:
        select in class org.eclipse.jface.viewers.ViewerFilter