public abstract class RunLineMarkerContributor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RunLineMarkerContributor.Info |
Modifier and Type | Field and Description |
---|---|
static java.util.function.Function<PsiElement,java.lang.String> |
RUN_TEST_TOOLTIP_PROVIDER |
Constructor and Description |
---|
RunLineMarkerContributor() |
Modifier and Type | Method and Description |
---|---|
abstract RunLineMarkerContributor.Info |
getInfo(PsiElement element) |
protected static javax.swing.Icon |
getTestStateIcon(java.lang.String url,
Project project,
boolean isClass) |
protected static javax.swing.Icon |
getTestStateIcon(TestStateStorage.Record state,
boolean isClass) |
protected static java.lang.String |
getText(AnAction action,
PsiElement element) |
boolean |
producesAllPossibleConfigurations(PsiFile file) |
static RunLineMarkerContributor.Info |
withExecutorActions(javax.swing.Icon icon) |
public static final java.util.function.Function<PsiElement,java.lang.String> RUN_TEST_TOOLTIP_PROVIDER
public static RunLineMarkerContributor.Info withExecutorActions(javax.swing.Icon icon)
public abstract RunLineMarkerContributor.Info getInfo(PsiElement element)
public boolean producesAllPossibleConfigurations(PsiFile file)
file
- any file with a language this contributor is registered forRunConfigurationProducer
'would
return a configuration not returned by this contributor in this file. Used to speed up "Run..." context action update.protected static java.lang.String getText(AnAction action, PsiElement element)
protected static javax.swing.Icon getTestStateIcon(java.lang.String url, Project project, boolean isClass)
protected static javax.swing.Icon getTestStateIcon(TestStateStorage.Record state, boolean isClass)