Package org.eclipse.ease.ui.completion
Interface ICompletionProvider
- All Known Implementing Classes:
AbstractCompletionProvider,AbstractFileLocationCompletionProvider,EnvironmentLocationCompletionProvider,LoadedModuleCompletionProvider,LoadModuleCompletionProvider,PythonCompletionProviderWrapper,VariablesCompletionProvider
public interface ICompletionProvider
-
Field Summary
Fields Modifier and Type Field Description static booleanTRACE_CODE_COMPLETIONTrace enablement for code completion. -
Method Summary
Modifier and Type Method Description Collection<? extends ScriptCompletionProposal>getProposals(ICompletionContext context)Calculate all matching proposals for givenICompletionContext.booleanisActive(ICompletionContext context)Query indicating that this providers completion proposals should be taken into account.
-
Field Details
-
TRACE_CODE_COMPLETION
static final boolean TRACE_CODE_COMPLETIONTrace enablement for code completion.
-
-
Method Details
-
getProposals
Calculate all matching proposals for givenICompletionContext.- Parameters:
context-ICompletionContextwith necessary information to calculate proposals.- Returns:
- Collection of matching proposals.
-
isActive
Query indicating that this providers completion proposals should be taken into account.- Parameters:
context-ICompletionContextwith necessary information to calculate proposals.- Returns:
truewhen active
-