|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mockcentral.editor.search.SearchManager
public class SearchManager
A class used to manage searching for java elements, providing an embedded
TypeNameRequestor to accept matching results which are then used
to construct MatchingType instances.
| Constructor Summary | |
|---|---|
SearchManager()
|
|
| Method Summary | |
|---|---|
java.util.ArrayList<MatchingType> |
doSearch(char[] typename,
int typeMatchRule)
Searches the workspace scope using the SearchPattern.R_PREFIX_MATCH for java elements matching the
supplied typename and element type match rule, returning an
ArrayList of MatchingType instances containing
information about all results. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SearchManager()
| Method Detail |
|---|
public java.util.ArrayList<MatchingType> doSearch(char[] typename,
int typeMatchRule)
throws org.eclipse.jdt.core.JavaModelException
SearchPattern.R_PREFIX_MATCH for java elements matching the
supplied typename and element type match rule, returning an
ArrayList of MatchingType instances containing
information about all results.
typename - the char array containing the type name to search for.typeMatchRule - the element type match rule to use during the search, one of
IJavaSearchConstants.CLASS, IJavaSearchConstants.INTERFACE or
IJavaSearchConstants.ENUM;
ArrayList of MatchingType instances
containing information about all results.
org.eclipse.jdt.core.JavaModelException - if the search failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||