Class GUIConfigurationFilter


  • class GUIConfigurationFilter
    extends java.lang.Object
    Container for usable ViewerFilter.
    Author:
    El-Sharkawy
    • Field Detail

      • filters

        private org.eclipse.jface.viewers.ViewerFilter[] filters
    • Constructor Detail

      • GUIConfigurationFilter

        public GUIConfigurationFilter()
        Sole constructor of this class for creating an empty filter, which filter nothing.
    • Method Detail

      • countElements

        private int countElements()
        Determines how many active filters are set.
        Returns:
        0 if no filter was set, otherwise a number greater than 0.
      • getFilters

        org.eclipse.jface.viewers.ViewerFilter[] getFilters()
        Returns only the configured (not null) filters as an array.
        Returns:
        A array of filter, if now filter was specified an empty array will be returned.