Class Index | File Index

Classes


Class orion.searchResults.SearchResultsGenerator

A search results generator for display search results to an end user
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.ui/web/orion/searchResults.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a new search results generator.
Method Summary
Method Attributes Method Name and Description
 
_search(resultsNode, query, excludeFile, generateHeading, onResultReady, hideSummaries, useSimpleFormat)
Runs a search and displays the results under the given DOM node.
 
loadResults(query)
Performs the given query and generates the user interface representation of the search results.
Class Detail
orion.searchResults.SearchResultsGenerator()
Creates a new search results generator.
Method Detail
_search(resultsNode, query, excludeFile, generateHeading, onResultReady, hideSummaries, useSimpleFormat)
Runs a search and displays the results under the given DOM node.
Parameters:
{DOMNode} resultsNode
Node under which results will be added.
{String} query
URI of the query to run.
{String} excludeFile Optional
URI of a file to exclude from the result listing.
{Boolean} generateHeading Optional
generate a heading for the results
{Function(DOMNode)} onResultReady Optional
If any results were found, this is called on the resultsNode.
{Boolean} hideSummaries Optional
Don't show the summary of what matched beside each result.
{Boolean} useSimpleFormat Optional
Use simple format that only shows the file name to show the result, other wise use a complex format with search details.

loadResults(query)
Performs the given query and generates the user interface representation of the search results.
Parameters:
{String} query
The search query

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Apr 01 2014 22:58:24 GMT-0400 (EDT)