org.eclipse.cdt.internal.ui.search
Class PDOMSearchPatternQuery

java.lang.Object
  extended by org.eclipse.cdt.internal.ui.search.PDOMSearchQuery
      extended by org.eclipse.cdt.internal.ui.search.PDOMSearchPatternQuery
All Implemented Interfaces:
org.eclipse.search.ui.ISearchQuery

public class PDOMSearchPatternQuery
extends PDOMSearchQuery

Author:
Doug Schaefer

Field Summary
static int FIND_ALL_TYPES
           
static int FIND_CLASS_STRUCT
           
static int FIND_ENUM
           
static int FIND_ENUMERATOR
           
static int FIND_FIELD
           
static int FIND_FUNCTION
           
static int FIND_MACRO
           
static int FIND_METHOD
           
static int FIND_NAMESPACE
           
static int FIND_TYPEDEF
           
static int FIND_UNION
           
static int FIND_VARIABLE
           
 
Fields inherited from class org.eclipse.cdt.internal.ui.search.PDOMSearchQuery
FIND_ALL_OCCURANCES, FIND_DECLARATIONS, FIND_DECLARATIONS_DEFINITIONS, FIND_DEFINITIONS, FIND_REFERENCES
 
Constructor Summary
PDOMSearchPatternQuery(org.eclipse.cdt.core.model.ICElement[] scope, java.lang.String scopeDesc, java.lang.String patternStr, boolean isCaseSensitive, int flags)
           
 
Method Summary
 java.lang.String getLabel()
           
 org.eclipse.core.runtime.IStatus runWithIndex(org.eclipse.cdt.core.index.IIndex index, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 
Methods inherited from class org.eclipse.cdt.internal.ui.search.PDOMSearchQuery
canRerun, canRunInBackground, getSearchResult, run
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIND_CLASS_STRUCT

public static final int FIND_CLASS_STRUCT
See Also:
Constant Field Values

FIND_FUNCTION

public static final int FIND_FUNCTION
See Also:
Constant Field Values

FIND_VARIABLE

public static final int FIND_VARIABLE
See Also:
Constant Field Values

FIND_UNION

public static final int FIND_UNION
See Also:
Constant Field Values

FIND_METHOD

public static final int FIND_METHOD
See Also:
Constant Field Values

FIND_FIELD

public static final int FIND_FIELD
See Also:
Constant Field Values

FIND_ENUM

public static final int FIND_ENUM
See Also:
Constant Field Values

FIND_ENUMERATOR

public static final int FIND_ENUMERATOR
See Also:
Constant Field Values

FIND_NAMESPACE

public static final int FIND_NAMESPACE
See Also:
Constant Field Values

FIND_TYPEDEF

public static final int FIND_TYPEDEF
See Also:
Constant Field Values

FIND_MACRO

public static final int FIND_MACRO
See Also:
Constant Field Values

FIND_ALL_TYPES

public static final int FIND_ALL_TYPES
See Also:
Constant Field Values
Constructor Detail

PDOMSearchPatternQuery

public PDOMSearchPatternQuery(org.eclipse.cdt.core.model.ICElement[] scope,
                              java.lang.String scopeDesc,
                              java.lang.String patternStr,
                              boolean isCaseSensitive,
                              int flags)
                       throws java.util.regex.PatternSyntaxException
Throws:
java.util.regex.PatternSyntaxException
Method Detail

runWithIndex

public org.eclipse.core.runtime.IStatus runWithIndex(org.eclipse.cdt.core.index.IIndex index,
                                                     org.eclipse.core.runtime.IProgressMonitor monitor)
                                              throws org.eclipse.core.runtime.OperationCanceledException
Throws:
org.eclipse.core.runtime.OperationCanceledException

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface org.eclipse.search.ui.ISearchQuery
Overrides:
getLabel in class PDOMSearchQuery