Overview

 
Package  Use  Tree  Serialized  Deprecated  Index  Help 
SWT LPEX
v3.0.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

com.ibm.lpex.alef.contentassist
Interface IContextInformationPresenter


public interface IContextInformationPresenter

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, org.eclipse.jface.text.ITextViewer viewer, LpexDocumentLocation documentLocation)
          Installs this presenter for the given context information.
 boolean updatePresentation(LpexDocumentLocation documentLocation, org.eclipse.jface.text.TextPresentation presentation)
          Updates the given presentation of the given context information at the given document position.
 

Method Detail

 

 

install

public void install(IContextInformation info,
                    org.eclipse.jface.text.ITextViewer viewer,
                    LpexDocumentLocation documentLocation)

Installs this presenter for the given context information.

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


 

 

updatePresentation

public boolean updatePresentation(LpexDocumentLocation documentLocation,
                                  org.eclipse.jface.text.TextPresentation presentation)

Updates the given presentation of the given context information at the given document position. Returns whether the update changed the presentation.

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


 

Overview

 
Package  Use  Tree  Serialized  Deprecated  Index  Help 
SWT LPEX
v3.0.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD