Bug 292787 [Filters] Should filters work only with IFileInfo?
This came to my mind while reviewing the filters code. I thought that some people would like to filter out some resources relying on their markers, properties or content types. What do you think?
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/misc/OrFileInfoMatcher.java
/* (non-Javadoc)
	 * @see org.eclipse.core.resources.AbstractFileInfoMatcher#matches(org.eclipse.core.filesystem.IFileInfo)
	 */
	public boolean matches(IFileInfo fileInfo) {
		if (filterTypes.length > 0) {
			for (int i = 0; i < filterTypes.length; i++) {
				if (filterTypes[i].matches(fileInfo))
					return true;
			}
			return false;
		}
		return true;
	}
}