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

java.lang.Object
  extended by org.eclipse.search.ui.text.AbstractTextSearchResult
      extended by org.eclipse.cdt.internal.ui.search.PDOMSearchResult
All Implemented Interfaces:
org.eclipse.search.ui.ISearchResult, org.eclipse.search.ui.text.IEditorMatchAdapter, org.eclipse.search.ui.text.IFileMatchAdapter

public class PDOMSearchResult
extends org.eclipse.search.ui.text.AbstractTextSearchResult
implements org.eclipse.search.ui.text.IEditorMatchAdapter, org.eclipse.search.ui.text.IFileMatchAdapter

Author:
Doug Schaefer

Constructor Summary
PDOMSearchResult(PDOMSearchQuery query)
           
 
Method Summary
 org.eclipse.search.ui.text.Match[] computeContainedMatches(org.eclipse.search.ui.text.AbstractTextSearchResult result, org.eclipse.ui.IEditorPart editor)
           
 org.eclipse.search.ui.text.Match[] computeContainedMatches(org.eclipse.search.ui.text.AbstractTextSearchResult result, org.eclipse.core.resources.IFile file)
           
 org.eclipse.search.ui.text.IEditorMatchAdapter getEditorMatchAdapter()
           
 org.eclipse.core.resources.IFile getFile(java.lang.Object element)
           
 org.eclipse.search.ui.text.IFileMatchAdapter getFileMatchAdapter()
           
 org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
           
 java.lang.String getLabel()
           
 org.eclipse.search.ui.ISearchQuery getQuery()
           
 java.lang.String getTooltip()
           
 boolean isShownInEditor(org.eclipse.search.ui.text.Match match, org.eclipse.ui.IEditorPart editor)
           
 
Methods inherited from class org.eclipse.search.ui.text.AbstractTextSearchResult
addListener, addMatch, addMatches, getElements, getMatchCount, getMatchCount, getMatches, removeAll, removeListener, removeMatch, removeMatches
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDOMSearchResult

public PDOMSearchResult(PDOMSearchQuery query)
Method Detail

getEditorMatchAdapter

public org.eclipse.search.ui.text.IEditorMatchAdapter getEditorMatchAdapter()
Specified by:
getEditorMatchAdapter in class org.eclipse.search.ui.text.AbstractTextSearchResult

getFileMatchAdapter

public org.eclipse.search.ui.text.IFileMatchAdapter getFileMatchAdapter()
Specified by:
getFileMatchAdapter in class org.eclipse.search.ui.text.AbstractTextSearchResult

isShownInEditor

public boolean isShownInEditor(org.eclipse.search.ui.text.Match match,
                               org.eclipse.ui.IEditorPart editor)
Specified by:
isShownInEditor in interface org.eclipse.search.ui.text.IEditorMatchAdapter

computeContainedMatches

public org.eclipse.search.ui.text.Match[] computeContainedMatches(org.eclipse.search.ui.text.AbstractTextSearchResult result,
                                                                  org.eclipse.ui.IEditorPart editor)
Specified by:
computeContainedMatches in interface org.eclipse.search.ui.text.IEditorMatchAdapter

computeContainedMatches

public org.eclipse.search.ui.text.Match[] computeContainedMatches(org.eclipse.search.ui.text.AbstractTextSearchResult result,
                                                                  org.eclipse.core.resources.IFile file)
Specified by:
computeContainedMatches in interface org.eclipse.search.ui.text.IFileMatchAdapter

getFile

public org.eclipse.core.resources.IFile getFile(java.lang.Object element)
Specified by:
getFile in interface org.eclipse.search.ui.text.IFileMatchAdapter

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface org.eclipse.search.ui.ISearchResult

getTooltip

public java.lang.String getTooltip()
Specified by:
getTooltip in interface org.eclipse.search.ui.ISearchResult

getImageDescriptor

public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
Specified by:
getImageDescriptor in interface org.eclipse.search.ui.ISearchResult

getQuery

public org.eclipse.search.ui.ISearchQuery getQuery()
Specified by:
getQuery in interface org.eclipse.search.ui.ISearchResult