|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A context information presenter determines the presentation of context information depending on a given document position. The interface can be implemented by clients.
Method Summary | |
void |
install(IContextInformation info,
ITextViewer viewer,
int documentPosition)
Installs this presenter for the given context information. |
boolean |
updatePresentation(int documentPosition,
TextPresentation presentation)
Updates the given presentation of the given context information at the given document position. |
Method Detail |
public void install(IContextInformation info, ITextViewer viewer, int documentPosition)
info
- the context information which this presenter should styleviewer
- the text viewer on which the information is presenteddocumentPosition
- the document position for which the information has been computedpublic boolean updatePresentation(int documentPosition, TextPresentation presentation)
documentPosition
- the current position within the documentpresentation
- the presentation to be updated
true
if the given presentation has been changed
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |