Interface IContentAssistProcessorExtension
- All Superinterfaces:
IContentAssistProcessor
Extension interface of
IContentAssistProcessor that allows to get additional information
when queried for auto activation- Since:
- 3.17
-
Method Summary
Modifier and TypeMethodDescriptionadapt(IContentAssistProcessor processor) default char[]Deprecated.default char[]Deprecated.booleanisCompletionProposalAutoActivation(char c, ITextViewer viewer, int offset) Check if the given event should trigger an automatic completion proposal activationbooleanisContextInformationAutoActivation(char c, ITextViewer viewer, int offset) Check if the given event should trigger an automatic context info activationMethods inherited from interface org.eclipse.jface.text.contentassist.IContentAssistProcessor
computeCompletionProposals, computeContextInformation, getContextInformationValidator, getErrorMessage
-
Method Details
-
getCompletionProposalAutoActivationCharacters
Deprecated.Description copied from interface:IContentAssistProcessorReturns the characters which when entered by the user should automatically trigger the presentation of possible completions.- Specified by:
getCompletionProposalAutoActivationCharactersin interfaceIContentAssistProcessor- Returns:
- the auto activation characters for completion proposal or
nullif no auto activation is desired - Restriction:
- use
isCompletionProposalAutoActivation(char, ITextViewer, int)instead - Restriction:
- This default method is not intended to be re-implemented or extended by
clients.noimplement implement
isCompletionProposalAutoActivation(char, ITextViewer, int)instead
-
getContextInformationAutoActivationCharacters
Deprecated.Description copied from interface:IContentAssistProcessorReturns the characters which when entered by the user should automatically trigger the presentation of context information.- Specified by:
getContextInformationAutoActivationCharactersin interfaceIContentAssistProcessor- Returns:
- the auto activation characters for presenting context information
or
nullif no auto activation is desired - Restriction:
- use
isContextInformationAutoActivation(char, ITextViewer, int)instead - Restriction:
- This default method is not intended to be re-implemented or extended by
clients.noimplement implement
isContextInformationAutoActivation(char, ITextViewer, int)instead
-
isCompletionProposalAutoActivation
Check if the given event should trigger an automatic completion proposal activation- Parameters:
c- the character to checkviewer- the vieweroffset- the current offset- Returns:
trueif auto activation is desired,falseotherwise
-
isContextInformationAutoActivation
Check if the given event should trigger an automatic context info activation- Parameters:
c- the character to checkviewer- the vieweroffset- the current offset- Returns:
trueif auto activation is desired,falseotherwise
-
adapt
-
isCompletionProposalAutoActivation(char, ITextViewer, int)instead