if you are looking for a specific type hierarchy I recommend using: org.eclipse.dltk.core.IType.newSupertypeHierarchy(ISourceModule[], IProgressMonitor)
can you tell me the context of your request? Roy -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Robert Gruendler Sent: Friday, June 19, 2009 5:33 PM To: PDT Developers Subject: [pdt-dev] Usage of SearchEngine.createSuperHierarchyScope() Hi all, i'm trying to search for all classes being or extending a specific class inside a user defined library. Right now, this approach doesn't return any results: IDLTKSearchScope projectScope = PHPModelUtils.createProjectSearchScope(scriptProject); IType[] types = PHPModelUtils.getTypes("baseClass", projectScope); IDLTKSearchScope taskScope = SearchEngine.createSuperHierarchyScope(type); IType[] classes = PHPModelUtils.getAllClasses(taskScope); Is there any recommended way to search for a class hierarchy ? thanks ! -robert _______________________________________________ pdt-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/pdt-dev _______________________________________________ pdt-dev mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/pdt-dev
