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.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.
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 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.