public abstract class AbstractCompletionProvider extends java.lang.Object implements ICompletionProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractCompletionProvider.DescriptorImageResolver |
TRACE_CODE_COMPLETION| Constructor and Description |
|---|
AbstractCompletionProvider() |
| Modifier and Type | Method and Description |
|---|---|
ICompletionContext |
getContext()
Get the current context.
|
java.util.Collection<? extends ScriptCompletionProposal> |
getProposals(ICompletionContext context)
Calculate all matching proposals for given
ICompletionContext. |
boolean |
isActive(ICompletionContext context)
Query indicating that this providers completion proposals should be taken into account.
|
public boolean isActive(ICompletionContext context)
ICompletionProviderisActive in interface ICompletionProvidercontext - ICompletionContext with necessary information to calculate proposals.true when activepublic java.util.Collection<? extends ScriptCompletionProposal> getProposals(ICompletionContext context)
ICompletionProviderICompletionContext.getProposals in interface ICompletionProvidercontext - ICompletionContext with necessary information to calculate proposals.public ICompletionContext getContext()
prepareProposals(ICompletionContext) is
called.null when proposals are not evaluated