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

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.jface.text.contentassist
Interface IContextInformationPresenter

All Known Subinterfaces:
ISubjectControlContextInformationPresenter

public interface IContextInformationPresenter

A context information presenter determines the presentation of context information depending on a given document position.

The interface can be implemented by clients.

Since:
2.0

Method Summary
 void install ( IContextInformation info, ITextViewer viewer, int offset)
          Installs this presenter for the given context information.
 boolean updatePresentation (int offset, TextPresentation presentation)
          Updates the given presentation of the given context information at the given document position.
 

Method Detail

install

void install(
IContextInformation info,
             
ITextViewer viewer,
             int offset)
Installs this presenter for the given context information.

Parameters:
info - the context information which this presenter should style
viewer - the text viewer on which the information is presented
offset - the document offset for which the information has been computed

updatePresentation

boolean updatePresentation(int offset,
                           
TextPresentation presentation)
Updates the given presentation of the given context information at the given document position. Returns whether update changed the presentation.

Parameters:
offset - the current offset within the document
presentation - the presentation to be updated
Returns:
true if the given presentation has been changed

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