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.text
Interface ISearchEditorAccess


public interface ISearchEditorAccess

This interface allows editors to provide customized access to editor internals for the search implementation to highlight matches. The search system will use the document to do line/character offset conversion if needed and it will add annotations to the annotation model.

The search system will ask an editor for an adapter of this class whenever it needs access to the document or the annotation model of the editor. Since an editor might use multiple documents and/or annotation models, the match is passed in when asking the editor. The editor is then expected to return the proper annotation model or document for the given match.

This interface is intended to be implemented by clients.

Since:
3.0

Method Summary
  IAnnotationModel getAnnotationModel ( Match match)
          Finds the annotation model for the given match
  IDocument getDocument ( Match match)
          Finds the document displaying the match.
 

Method Detail

getDocument


IDocument getDocument(
Match match)
Finds the document displaying the match.

Parameters:
match - the match
Returns:
the document displaying the given match.

getAnnotationModel


IAnnotationModel getAnnotationModel(
Match match)
Finds the annotation model for the given match

Parameters:
match - the match
Returns:
the annotation model displaying the given match.

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