|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.lpex.alef.contentassist.ContextInformationValidator
A default LPEX implementation of the IContextInfomationValidator interface. This implementation determines whether the information is valid by asking the content-assist processor for all context information objects for the current position. If the currently displayed information is in the result set, the context information is considered valid.
Constructor Summary | |
---|---|
ContextInformationValidator(IContentAssistProcessor processor)
Create a new context information validator which is ready to be installed on a particular context information. |
Method Summary | |
---|---|
void | install(IContextInformation contextInformation,
org.eclipse.jface.text.ITextViewer viewer,
LpexDocumentLocation location)
Install this validator for the given context information. |
boolean | isContextInformationValid(LpexDocumentLocation location)
Return whether the information that this validator is installed on, is still valid at the current document location. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ContextInformationValidator(IContentAssistProcessor processor)
Method Detail |
public void install(IContextInformation contextInformation, org.eclipse.jface.text.ITextViewer viewer, LpexDocumentLocation location)
public boolean isContextInformationValid(LpexDocumentLocation location)
|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |