Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.search.ui
Interface ISearchResultViewEntry


Deprecated. Part of the old ('classic') search result view. Since 3.0 clients can create their own search result view pages (see 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.

Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.

Method Summary
  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

getGroupByKey


Object getGroupByKey()
Deprecated. 
Returns the key by which this entry's markers are logically grouped. A line in a text could be such a key. Clients supply this key as a parameter to ISearchResultView.addMatch.

Returns:
the common resource of this entry's markers
See Also:
ISearchResultView.addMatch(java.lang.String, java.lang.Object, org.eclipse.core.resources.IResource, org.eclipse.core.resources.IMarker)

getResource


IResource getResource()
Deprecated. 
Returns the resource to which this entry's markers are attached. This is a convenience method for getSelectedMarker().getResource().

Returns:
the common resource of this entry's markers

getMatchCount

int getMatchCount()
Deprecated. 
Returns the number of markers grouped by this entry.

Returns:
the number of markers

getSelectedMarker


IMarker getSelectedMarker()
Deprecated. 
Returns the selected marker of this entry, or the first one if no marker is selected. A search results view entry can group markers which the UI allows the user to step through them while this entry remains selected.

Returns:
the selected marker inside this entry, or null if the entry has no markers

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire