JIVE Platform
Release 0.3.1

edu.buffalo.cse.jive.ui.search
Class JiveSearchResult

java.lang.Object
  extended by org.eclipse.search.ui.text.AbstractTextSearchResult
      extended by edu.buffalo.cse.jive.ui.search.JiveSearchResult
All Implemented Interfaces:
IJiveSearchResult, ISearchResult

public class JiveSearchResult
extends AbstractTextSearchResult
implements IJiveSearchResult

A search result for an IJiveSearchQuery. Currently, this uses much of the functionality provided by AbstractTextSearchResult.

NOTE: This dependency will be removed in the future.


Constructor Summary
JiveSearchResult(IJiveSearchQuery query)
          Constructs a JiveSearchResult for the supplied query.
 
Method Summary
 IEditorMatchAdapter getEditorMatchAdapter()
           
 IFileMatchAdapter getFileMatchAdapter()
           
 ImageDescriptor getImageDescriptor()
           
 String getLabel()
           
 ISearchQuery getQuery()
           
 String getTooltip()
           
 
Methods inherited from class org.eclipse.search.ui.text.AbstractTextSearchResult
addListener, addMatch, addMatches, fireChange, getActiveMatchFilters, getAllMatchFilters, getElements, getMatchCount, getMatchCount, getMatches, removeAll, removeListener, removeMatch, removeMatches, setActiveMatchFilters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.search.ui.ISearchResult
addListener, removeListener
 

Constructor Detail

JiveSearchResult

public JiveSearchResult(IJiveSearchQuery query)
Constructs a JiveSearchResult for the supplied query.

Parameters:
query - the query associated with the result
Method Detail

getEditorMatchAdapter

public IEditorMatchAdapter getEditorMatchAdapter()
Specified by:
getEditorMatchAdapter in class AbstractTextSearchResult

getFileMatchAdapter

public IFileMatchAdapter getFileMatchAdapter()
Specified by:
getFileMatchAdapter in class AbstractTextSearchResult

getLabel

public String getLabel()
Specified by:
getLabel in interface ISearchResult

getTooltip

public String getTooltip()
Specified by:
getTooltip in interface ISearchResult

getImageDescriptor

public ImageDescriptor getImageDescriptor()
Specified by:
getImageDescriptor in interface ISearchResult

getQuery

public ISearchQuery getQuery()
Specified by:
getQuery in interface ISearchResult

JIVE Platform
Release 0.3.1