|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Extension interface to ICompletionProposal. It adds the following functions:
This is the LPEX version of org.eclipse.jface.text.contentassist.ICompletionProposalExtension.
Method Summary | |
---|---|
void | apply(org.eclipse.jface.text.ITextViewer textViewer,
char trigger,
int offset)
Apply the proposed completion to the document of the specified LpexTextViewer. |
int | getContextInformationPosition()
Return the position to which the computed context information refers to, or -1 if no context information can be provided by this completion proposal. |
char[] | getTriggerCharacters()
Return the characters which trigger the application of this completion proposal. |
boolean | isValidFor(org.eclipse.jface.text.ITextViewer textViewer,
LpexDocumentLocation location)
Return whether this completion proposal is valid for the given position in the given document. |
Method Detail |
public void apply(org.eclipse.jface.text.ITextViewer textViewer, char trigger, int offset)
public boolean isValidFor(org.eclipse.jface.text.ITextViewer textViewer, LpexDocumentLocation location)
public char[] getTriggerCharacters()
public int getContextInformationPosition()
|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |