public class CompletionRequestorWrapper extends CompletionRequestor
| Constructor and Description |
|---|
CompletionRequestorWrapper(ICompletionRequestor requestor)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(CompletionProposal proposal)
Deprecated.
Proposes a completion.
|
void |
completionFailure(IProblem problem)
Deprecated.
Notification of failure to produce any completions.
|
acceptContext, beginReporting, endReporting, getFavoriteReferences, isAllowingRequiredProposals, isExtendedContextRequired, isIgnored, setAllowsRequiredProposals, setFavoriteReferences, setIgnored, setRequireExtendedContextpublic CompletionRequestorWrapper(ICompletionRequestor requestor)
public void accept(CompletionProposal proposal)
CompletionRequestorCompletionRequestor.isIgnored(int) before avoid creating proposal
objects that would only be ignored.
Similarly, implementers should check
isIgnored(proposal.getKind())
and ignore proposals that have been declared as uninteresting.
The proposal object passed is only valid for the duration of
completion operation.
accept in class CompletionRequestorproposal - the completion proposalpublic void completionFailure(IProblem problem)
CompletionRequestorThe default implementation of this method does nothing. Clients may override to receive this kind of notice.
completionFailure in class CompletionRequestorproblem - the problem object