|
SWT LPEX v3.0.5 |
|||||||||||
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 location. The interface can be implemented by clients.
This is the LPEX version of
org.eclipse.jface.text.contentassist.IContextInformationPresenter
.
Method Summary | |
---|---|
void |
install(IContextInformation info,
ITextViewer viewer,
LpexDocumentLocation documentLocation)
Installs this presenter for the given context information. |
boolean |
updatePresentation(LpexDocumentLocation documentLocation,
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, LpexDocumentLocation documentLocation)
info
- the context information which this presenter should styleviewer
- the LpexTextViewer on which the information is presenteddocumentLocation
- the document location for which the information
has been computedpublic boolean updatePresentation(LpexDocumentLocation documentLocation, TextPresentation presentation)
documentLocation
- the current location within the documentpresentation
- the presentation to be updated
true
if the given presentation has been changed
|
SWT LPEX v3.0.5 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |