Class ProjectAndFolderFilter

java.lang.Object
org.eclipse.jface.viewers.ViewerFilter
com.iizigo.swt.ProjectAndFolderFilter

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

    • ProjectAndFolderFilter

      public ProjectAndFolderFilter()
  • Method Details

    • select

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