Class FontFileFilter


  • public class FontFileFilter
    extends org.eclipse.jface.viewers.ViewerFilter
    A viewer filter for extends properties.
    Author:
    Christopher Mindus
    • Constructor Summary

      Constructors 
      Constructor Description
      FontFileFilter()
      Creates the viewer filter.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isFontExtension​(java.lang.String fileName)
      Checks if the file has the file extension for font files.
      boolean select​(org.eclipse.jface.viewers.Viewer viewer, java.lang.Object parentElement, java.lang.Object element)
      Filters what is passed through.
      • 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

      • FontFileFilter

        public FontFileFilter()
        Creates the viewer filter.
    • Method Detail

      • select

        public boolean select​(org.eclipse.jface.viewers.Viewer viewer,
                              java.lang.Object parentElement,
                              java.lang.Object element)
        Filters what is passed through.
        Specified by:
        select in class org.eclipse.jface.viewers.ViewerFilter
      • isFontExtension

        public static boolean isFontExtension​(java.lang.String fileName)
        Checks if the file has the file extension for font files.