|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.core.CompletionRequestor
org.eclipse.jdt.internal.codeassist.CompletionRequestorWrapper
public class CompletionRequestorWrapper
This CompletionRequetor wrap the old requestor ICOmpletionRequestor
Constructor Summary | |
---|---|
CompletionRequestorWrapper(ICompletionRequestor requestor)
Deprecated. |
Method Summary | |
---|---|
void |
accept(CompletionProposal proposal)
Deprecated. Proposes a completion. |
void |
completionFailure(IProblem problem)
Deprecated. Notification of failure to produce any completions. |
Methods inherited from class org.eclipse.jdt.core.CompletionRequestor |
---|
acceptContext, beginReporting, endReporting, getFavoriteReferences, isAllowingRequiredProposals, isExtendedContextRequired, isIgnored, setAllowsRequiredProposals, setFavoriteReferences, setIgnored, setRequireExtendedContext |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompletionRequestorWrapper(ICompletionRequestor requestor)
Method Detail |
---|
public void accept(CompletionProposal proposal)
CompletionRequestor
CompletionRequestor.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 CompletionRequestor
proposal
- the completion proposalpublic void completionFailure(IProblem problem)
CompletionRequestor
The default implementation of this method does nothing. Clients may override to receive this kind of notice.
completionFailure
in class CompletionRequestor
problem
- the problem object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |