Eclipse Platform
Release 3.1

Uses of Class
org.eclipse.search.ui.text.Match

Packages that use Match
org.eclipse.search.ui.text Provides the base classes to implement a search result view part for searches with textual matches.  
 

Uses of Match in org.eclipse.search.ui.text
 

Fields in org.eclipse.search.ui.text declared as Match
protected static Match[] AbstractTextSearchViewPage.EMPTY_MATCH_ARRAY
          An empty array.
 

Methods in org.eclipse.search.ui.text that return Match
 Match[] MatchEvent.getMatches()
          Returns the concerned matches.
 Match[] IFileMatchAdapter.computeContainedMatches(AbstractTextSearchResult result, IFile file)
          Returns an array with all matches contained in the given file in the given search result.
 Match[] IEditorMatchAdapter.computeContainedMatches(AbstractTextSearchResult result, IEditorPart editor)
          Returns all matches that are contained in the element shown in the given editor.
 Match AbstractTextSearchViewPage.getCurrentMatch()
          Returns the currently selected match.
 Match[] AbstractTextSearchViewPage.getDisplayedMatches(Object element)
          Returns the matches that are currently displayed for the given element.
 Match[] AbstractTextSearchResult.getMatches(Object element)
          Returns an array with all matches reported against the given element.
 

Methods in org.eclipse.search.ui.text with parameters of type Match
protected  void MatchEvent.setMatch(Match match)
          Sets the match for the change this event reports.
protected  void MatchEvent.setMatches(Match[] matches)
          Sets the matches for the change this event reports.
 IDocument ISearchEditorAccess.getDocument(Match match)
          Finds the document displaying the match.
 IAnnotationModel ISearchEditorAccess.getAnnotationModel(Match match)
          Finds the annotation model for the given match
 boolean IEditorMatchAdapter.isShownInEditor(Match match, IEditorPart editor)
          Determines whether a match should be displayed in the given editor.
protected  void AbstractTextSearchViewPage.showMatch(Match match, int currentOffset, int currentLength)
          Deprecated.  
protected  void AbstractTextSearchViewPage.showMatch(Match match, int currentOffset, int currentLength, boolean activate)
          Opens an editor on the given element and selects the given range of text.
 void AbstractTextSearchResult.addMatch(Match match)
          Adds a Match to this search result.
 void AbstractTextSearchResult.addMatches(Match[] matches)
          Adds a number of Matches to this search result.
 void AbstractTextSearchResult.removeMatch(Match match)
          Removes the given match from this search result.
 void AbstractTextSearchResult.removeMatches(Match[] matches)
          Removes the given matches from this search result.
 


Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.