|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A content assist processor proposes completions and computes context information for a particular content type. A content assist processor is an IContentAssistant text viewer plug-in. This interface must be implemented by clients. Implementers should be registered with a content assistant in order to get involved in the assisting process.
This is the LPEX version of org.eclipse.jface.text.contentassist.IContentAssistProcessor.
Method Summary | |
---|---|
ICompletionProposal[] | computeCompletionProposals(org.eclipse.jface.text.ITextViewer viewer,
int documentOffset)
Return a list of completion proposals based on the specified location within the document that corresponds to the current cursor position within the text viewer. |
IContextInformation[] | computeContextInformation(org.eclipse.jface.text.ITextViewer viewer,
int documentOffset)
Return information about possible contexts, based on the specified location within the document that corresponds to the current cursor position within the text viewer. |
char[] | getCompletionProposalAutoActivationCharacters()
Return the characters which, when entered by the user, should automatically trigger the presentation of possible completions. |
char[] | getContextInformationAutoActivationCharacters()
Return the characters which, when entered by the user, should automatically trigger the presentation of context information. |
IContextInformationValidator | getContextInformationValidator()
Return a validator used to determine when displayed context information should be dismissed. |
String | getErrorMessage()
Return the reason why this content assist processor was unable to produce any completion proposals or context information. |
Method Detail |
public ICompletionProposal[] computeCompletionProposals(org.eclipse.jface.text.ITextViewer viewer, int documentOffset)
public IContextInformation[] computeContextInformation(org.eclipse.jface.text.ITextViewer viewer, int documentOffset)
public char[] getCompletionProposalAutoActivationCharacters()
public char[] getContextInformationAutoActivationCharacters()
public String getErrorMessage()
public IContextInformationValidator getContextInformationValidator()
|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |