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, getMainListItemfindMatchingValue, getHelpCommand, getHelpCommandPlaceholder, getHelpDescription, getHelpIcon, getHelpItem, getMatcherclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindMatchedProviderpublic java.util.Collection<ChooseRunConfigurationPopup.ItemWrapper> getValues(DataContext dataContext, java.lang.String pattern)
RunAnythingProvidergetValues 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()
RunAnythingProviderpublic java.lang.String getCompletionGroupTitle()
RunAnythingProvidernull 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)
RunAnythingProviderRunAnythingContext.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>