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.boolean
isCompletionProposalAutoActivation
(char c, ITextViewer viewer, int offset) Check if the given event should trigger an automatic completion proposal activationboolean
isContextInformationAutoActivation
(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:IContentAssistProcessor
Returns the characters which when entered by the user should automatically trigger the presentation of possible completions.- Specified by:
getCompletionProposalAutoActivationCharacters
in interfaceIContentAssistProcessor
- Returns:
- the auto activation characters for completion proposal or
null
if 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:IContentAssistProcessor
Returns the characters which when entered by the user should automatically trigger the presentation of context information.- Specified by:
getContextInformationAutoActivationCharacters
in interfaceIContentAssistProcessor
- Returns:
- the auto activation characters for presenting context information
or
null
if 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:
true
if auto activation is desired,false
otherwise
-
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:
true
if auto activation is desired,false
otherwise
-
adapt
-
isCompletionProposalAutoActivation(char, ITextViewer, int)
instead