public interface IContextInformationPresenter
The interface can be implemented by clients.
| Modifier and Type | Method and Description |
|---|---|
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.
|
void install(IContextInformation info, ITextViewer viewer, int offset)
info - the context information which this presenter should styleviewer - the text viewer on which the information is presentedoffset - the document offset for which the information has been computedboolean updatePresentation(int offset,
TextPresentation presentation)
offset - the current offset within the documentpresentation - the presentation to be updatedtrue if the given presentation has been changedGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.