Interface IContentAssistProcessorExtension
-
- All Superinterfaces:
IContentAssistProcessor
public interface IContentAssistProcessorExtension extends IContentAssistProcessor
Extension interface ofIContentAssistProcessorthat allows to get additional information when queried for auto activation- Since:
- 3.17
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description static IContentAssistProcessorExtensionadapt(IContentAssistProcessor processor)default char[]getCompletionProposalAutoActivationCharacters()Deprecated.default char[]getContextInformationAutoActivationCharacters()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 activation-
Methods inherited from interface org.eclipse.jface.text.contentassist.IContentAssistProcessor
computeCompletionProposals, computeContextInformation, getContextInformationValidator, getErrorMessage
-
-
-
-
Method Detail
-
getCompletionProposalAutoActivationCharacters
@Deprecated default char[] 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 default char[] 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
boolean isCompletionProposalAutoActivation(char c, ITextViewer viewer, int offset)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
boolean isContextInformationAutoActivation(char c, ITextViewer viewer, int offset)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
static IContentAssistProcessorExtension adapt(IContentAssistProcessor processor)
-
-