Class ShowOnlyFailedTestsViewerFilter


  • public class ShowOnlyFailedTestsViewerFilter
    extends org.eclipse.jface.viewers.ViewerFilter
    Viewer filter which only selects tests that have failed. This viewer can be enabled and disabled at will, using setEnabled(boolean), but the filtered viewer must be refreshed elsewhere.
    Version:
    1.0
    Author:
    Antonio García-Domínguez
    • Constructor Detail

      • ShowOnlyFailedTestsViewerFilter

        public ShowOnlyFailedTestsViewerFilter()
    • Method Detail

      • select

        public boolean select​(org.eclipse.jface.viewers.Viewer viewer,
                              Object parentElement,
                              Object element)
        Specified by:
        select in class org.eclipse.jface.viewers.ViewerFilter
      • isEnabled

        public boolean isEnabled()
      • setEnabled

        public void setEnabled​(boolean enabled)