|
LPEX 4.2.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.
It has different methods.
IContextInformationPresenter| Method Summary | |
|---|---|
void |
install(IContextInformation info,
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 |
|---|
void install(IContextInformation info,
ITextViewer viewer,
LpexDocumentLocation documentLocation)
info - the context information which this validator should checkviewer - the LpexTextViewer on which the information is presenteddocumentLocation - the document location for which the information has been
computedboolean isContextInformationValid(LpexDocumentLocation documentLocation)
documentLocation - the current document location
true if the information is also valid at the given
document location
|
LPEX 4.2.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||