Package com.iizigo.font
Class FontFileFilter
- java.lang.Object
- org.eclipse.jface.viewers.ViewerFilter
- com.iizigo.font.FontFileFilter
public class FontFileFilter extends org.eclipse.jface.viewers.ViewerFilterA 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 booleanisFontExtension(java.lang.String fileName)Checks if the file has the file extension for font files.booleanselect(org.eclipse.jface.viewers.Viewer viewer, java.lang.Object parentElement, java.lang.Object element)Filters what is passed through.
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:
selectin classorg.eclipse.jface.viewers.ViewerFilter
isFontExtension
public static boolean isFontExtension(java.lang.String fileName)
Checks if the file has the file extension for font files.