Uses of Class
org.eclipse.search.ui.text.Match
Packages that use Match
Package
Description
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 MatchModifier and TypeFieldDescriptionprotected static final Match[]
AbstractTextSearchViewPage.EMPTY_MATCH_ARRAY
An empty array.Methods in org.eclipse.search.ui.text that return MatchModifier and TypeMethodDescriptionMatch[]
IEditorMatchAdapter.computeContainedMatches
(AbstractTextSearchResult result, IEditorPart editor) Returns all matches that are contained in the element shown in the given editor.Match[]
IFileMatchAdapter.computeContainedMatches
(AbstractTextSearchResult result, IFile file) Returns an array with all matches contained in the given file in the given search result.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.Match[]
MatchEvent.getMatches()
Returns the concerned matches.Match[]
FilterUpdateEvent.getUpdatedMatches()
Returns the matches updated by the filter update.Methods in org.eclipse.search.ui.text that return types with arguments of type MatchModifier and TypeMethodDescriptionAbstractTextSearchResult.getMatchSet
(Object element) Returns an Enumeration of all matches reported against the given element.Methods in org.eclipse.search.ui.text with parameters of type MatchModifier and TypeMethodDescriptionvoid
Adds aMatch
to this search result.void
AbstractTextSearchResult.addMatches
(Match[] matches) Adds a number of Matches to this search result.protected void
AbstractTextSearchViewPage.evaluateChangedElements
(Match[] matches, Set<Object> changedElements) Evaluates the elements to that are later passed toAbstractTextSearchViewPage.elementsChanged(Object[])
.abstract boolean
Returns whether the given match is filtered by this filter.ISearchEditorAccess.getAnnotationModel
(Match match) Finds the annotation model for the given matchAbstractTextSearchViewPage.getCurrentMatchLocation
(Match match) Returns the current location of the match.ISearchEditorAccess.getDocument
(Match match) Finds the document displaying the match.boolean
IEditorMatchAdapter.isShownInEditor
(Match match, IEditorPart editor) Determines whether a match should be displayed in the given editor.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.protected void
Sets the match for the change this event reports.protected void
MatchEvent.setMatches
(Match[] matches) Sets the matches for the change this event reports.protected void
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.Constructors in org.eclipse.search.ui.text with parameters of type MatchModifierConstructorDescriptionFilterUpdateEvent
(ISearchResult searchResult, Match[] matches, MatchFilter[] filters) Constructs a newFilterUpdateEvent
.
AbstractTextSearchViewPage.showMatch(Match, int, int, boolean)
instead