org.eclipse.cdt.internal.refactoring
Class TextSearchWrapper
java.lang.Object
org.eclipse.cdt.internal.refactoring.TextSearchWrapper
- All Implemented Interfaces:
- ICRefactoringSearch
public class TextSearchWrapper
- extends java.lang.Object
- implements ICRefactoringSearch
Wraps the platform text search and uses a scanner to categorize the text-matches
by location (comments, string-literals, etc.).
Method Summary |
void |
categorizeMatches(java.util.List matches,
org.eclipse.core.runtime.IProgressMonitor monitor)
|
org.eclipse.core.runtime.IStatus |
searchWord(int scope,
org.eclipse.core.resources.IFile resource,
java.lang.String workingSet,
java.lang.String[] patterns,
java.lang.String word,
org.eclipse.core.runtime.IProgressMonitor monitor,
java.util.List target)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextSearchWrapper
public TextSearchWrapper()
searchWord
public org.eclipse.core.runtime.IStatus searchWord(int scope,
org.eclipse.core.resources.IFile resource,
java.lang.String workingSet,
java.lang.String[] patterns,
java.lang.String word,
org.eclipse.core.runtime.IProgressMonitor monitor,
java.util.List target)
- Specified by:
searchWord
in interface ICRefactoringSearch
- Parameters:
monitor
-
categorizeMatches
public void categorizeMatches(java.util.List matches,
org.eclipse.core.runtime.IProgressMonitor monitor)