public interface IJavaCompletionProposalComputer
Modifier and Type | Method and Description |
---|---|
List<ICompletionProposal> |
computeCompletionProposals(ContentAssistInvocationContext context,
IProgressMonitor monitor)
Returns a list of completion proposals valid at the given invocation context.
|
List<IContextInformation> |
computeContextInformation(ContentAssistInvocationContext context,
IProgressMonitor monitor)
Returns context information objects valid at the given invocation context.
|
String |
getErrorMessage()
Returns the reason why this computer was unable to produce any completion proposals or
context information.
|
void |
sessionEnded()
Informs the computer that a content assist session has ended.
|
void |
sessionStarted()
Informs the computer that a content assist session has started.
|
void sessionStarted()
sessionEnded()
call, but not necessarily by calls to
computeCompletionProposals
or
computeContextInformation.List<ICompletionProposal> computeCompletionProposals(ContentAssistInvocationContext context, IProgressMonitor monitor)
context
- the context of the content assist invocationmonitor
- a progress monitor to report progress. The monitor is private to this
invocation, i.e. there is no need for the receiver to spawn a sub monitor.ICompletionProposal
)List<IContextInformation> computeContextInformation(ContentAssistInvocationContext context, IProgressMonitor monitor)
context
- the context of the content assist invocationmonitor
- a progress monitor to report progress. The monitor is private to this
invocation, i.e. there is no need for the receiver to spawn a sub monitor.IContextInformation
)String getErrorMessage()
null
if no error occurredvoid sessionEnded()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.