public class RunAnythingRunConfigurationProvider extends RunAnythingRunConfigurationProvider
EP_NAME, EXECUTING_CONTEXT
Constructor and Description |
---|
RunAnythingRunConfigurationProvider() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCompletionGroupTitle()
Returns completion group title.
|
java.util.List<RunAnythingContext> |
getExecutionContexts(DataContext dataContext)
Provides context types that can be chosen as execution contexts:
- project,
RunAnythingContext.ProjectContext
- module, RunAnythingContext.ModuleContext
- working directory, RunAnythingContext.RecentDirectoryContext |
java.lang.String |
getHelpGroupTitle()
Returns help group title this provider belongs to
|
java.util.Collection<ChooseRunConfigurationPopup.ItemWrapper> |
getValues(DataContext dataContext,
java.lang.String pattern)
Gets completions variants for input command prefix.
|
execute, getAdText, getCommand, getIcon, getMainListItem
findMatchingValue, getHelpCommand, getHelpCommandPlaceholder, getHelpDescription, getHelpIcon, getHelpItem, getMatcher
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findMatchedProvider
public java.util.Collection<ChooseRunConfigurationPopup.ItemWrapper> getValues(DataContext dataContext, java.lang.String pattern)
RunAnythingProvider
getValues
in interface RunAnythingProvider<ChooseRunConfigurationPopup.ItemWrapper>
getValues
in class RunAnythingProviderBase<ChooseRunConfigurationPopup.ItemWrapper>
dataContext
- use it to fetch project, module, working directorypattern
- input string, use it to provide specific variants for the input command if needed, e.g. for command arguments completionpublic java.lang.String getHelpGroupTitle()
RunAnythingProvider
public java.lang.String getCompletionGroupTitle()
RunAnythingProvider
null
means that current provider doesn't provide completion.getCompletionGroupTitle
in interface RunAnythingProvider<ChooseRunConfigurationPopup.ItemWrapper>
getCompletionGroupTitle
in class RunAnythingProviderBase<ChooseRunConfigurationPopup.ItemWrapper>
public java.util.List<RunAnythingContext> getExecutionContexts(DataContext dataContext)
RunAnythingProvider
RunAnythingContext.ProjectContext
- module, RunAnythingContext.ModuleContext
- working directory, RunAnythingContext.RecentDirectoryContext
The first context will be chosen as default context.
getExecutionContexts
in interface RunAnythingProvider<ChooseRunConfigurationPopup.ItemWrapper>
getExecutionContexts
in class RunAnythingProviderBase<ChooseRunConfigurationPopup.ItemWrapper>