Class FontFileFilter

java.lang.Object
org.eclipse.jface.viewers.ViewerFilter
com.iizigo.font.FontFileFilter

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

    Constructors
    Constructor
    Description
    Creates the viewer filter.
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    Checks if the file has the file extension for font files.
    boolean
    select(org.eclipse.jface.viewers.Viewer viewer, Object parentElement, 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 Details

    • FontFileFilter

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

    • select

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

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