/** * Returns true if the given resource's name matches the name filter. * * e.g. if the name filter is "*.java", and this resource is "readme.txt", this method will * return false. If the resource is named "readme.java", this method will return true. */ boolean isApplicableName(IResource resource) { return _nameFilter.isApplicableName(resource); }
/** * Return true if the given resource is both applicable and include="true". */ boolean isApplicableTo(IResource resource) { return (isApplicableName(resource) && isInclude()); }