TextSearchScope.newSearchScope(
IResource[] rootResources,
Pattern fileNamePattern,
boolean visitDerivedResources)
Creates a scope that consists of all files that match the fileNamePattern and that
either are one of the roots, or have one of the roots in their parent chain.