|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ISearchResultPage
), leaving it up to the search
how to model search results. AbstractTextSearchResult
and Match
can be used to port old searches to the new API design.
public interface ISearchResultViewEntry
Specifies a search result view entry. This entry provides information about the markers it groups by a client defined key. Each entry in the search result view corresponds to a different key.
The UI allows stepping through this entry's markers grouped by the key.
This interface is not intended to be implemented by clients.
Method Summary | |
---|---|
java.lang.Object |
getGroupByKey()
Deprecated. Returns the key by which this entry's markers are logically grouped. |
int |
getMatchCount()
Deprecated. Returns the number of markers grouped by this entry. |
IResource |
getResource()
Deprecated. Returns the resource to which this entry's markers are attached. |
IMarker |
getSelectedMarker()
Deprecated. Returns the selected marker of this entry, or the first one if no marker is selected. |
Method Detail |
---|
java.lang.Object getGroupByKey()
ISearchResultView.addMatch
.
ISearchResultView.addMatch(java.lang.String, java.lang.Object, org.eclipse.core.resources.IResource, org.eclipse.core.resources.IMarker)
IResource getResource()
getSelectedMarker().getResource()
.
int getMatchCount()
IMarker getSelectedMarker()
null
if the entry has no markers
|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.