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 IContextInformationValidator

All Known Implementing Classes:
ContextInformationValidator


public interface IContextInformationValidator

A context information validator is used to determine whether a displayed context information is still valid at the current cursor position, or should be dismissed. The interface can be implemented by clients.

This is the LPEX version of org.eclipse.jface.text.contentassist.IContextInformationValidator.

See Also:
IContextInformationPresenter


Method Summary
 void install(IContextInformation info, org.eclipse.jface.text.ITextViewer viewer, LpexDocumentLocation documentLocation)
          Install this validator for the given context information.
 boolean isContextInformationValid(LpexDocumentLocation documentLocation)
          Return whether the information that this validator is installed on, is still valid at the current document location.
 

Method Detail

 

 

install

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

Install this validator for the given context information.

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


 

 

isContextInformationValid

public boolean isContextInformationValid(LpexDocumentLocation documentLocation)

Return whether the information that this validator is installed on, is still valid at the current document location.

Parameters:
documentLocation - the current document location
Returns:
true if the information is also valid at the given document location


 

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