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 boolean
TRACE_CODE_COMPLETION
Trace enablement for code completion. -
Method Summary
Modifier and Type Method Description Collection<? extends ScriptCompletionProposal>
getProposals(ICompletionContext context)
Calculate all matching proposals for givenICompletionContext
.boolean
isActive(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
-ICompletionContext
with 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
-ICompletionContext
with necessary information to calculate proposals.- Returns:
true
when active
-