org.eclipse.jdt.internal.codeassist
Class CompletionRequestorWrapper

java.lang.Object
  extended by org.eclipse.jdt.core.CompletionRequestor
      extended by org.eclipse.jdt.internal.codeassist.CompletionRequestorWrapper

Deprecated.

public class CompletionRequestorWrapper
extends CompletionRequestor

This CompletionRequetor wrap the old requestor ICOmpletionRequestor

Since:
3.1

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

CompletionRequestorWrapper

public CompletionRequestorWrapper(ICompletionRequestor requestor)
Deprecated. 
Method Detail

accept

public void accept(CompletionProposal proposal)
Deprecated. 
Description copied from class: CompletionRequestor
Proposes a completion. Has no effect if the kind of proposal is being ignored by this requestor. Callers should consider checking 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.

Specified by:
accept in class CompletionRequestor
Parameters:
proposal - the completion proposal

completionFailure

public void completionFailure(IProblem problem)
Deprecated. 
Description copied from class: CompletionRequestor
Notification of failure to produce any completions. The problem object explains what prevented completing.

The default implementation of this method does nothing. Clients may override to receive this kind of notice.

Overrides:
completionFailure in class CompletionRequestor
Parameters:
problem - the problem object