public class BaseGenerateTestSupportMethodAction extends BaseGenerateAction
| Modifier and Type | Class and Description |
|---|---|
static class |
BaseGenerateTestSupportMethodAction.MyHandler |
AnAction.TransparentUpdate| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
LOG |
ACTIONS_KEY, EMPTY_ARRAY| Constructor and Description |
|---|
BaseGenerateTestSupportMethodAction(TestIntegrationUtils.MethodKind methodKind) |
| Modifier and Type | Method and Description |
|---|---|
AnAction |
createEditTemplateAction(DataContext dataContext) |
protected PsiClass |
getTargetClass(Editor editor,
PsiFile file) |
protected boolean |
isValidFor(PsiClass targetClass,
TestFramework framework) |
protected boolean |
isValidForClass(PsiClass targetClass) |
protected boolean |
isValidForFile(Project project,
Editor editor,
PsiFile file) |
getHandler, update, updateactionPerformed, actionPerformedImpl, beforeActionPerformedUpdate, getCommandName, getEditor, updateaddTextOverride, applyTextOverride, copyFrom, copyShortcutFrom, displayTextInToolbar, getEventProject, getShortcutSet, getTemplatePresentation, getTemplateText, isDefaultIcon, isEnabledInModalContext, isInInjectedContext, isTransparentUpdate, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, startInTransaction, toString, unregisterCustomShortcutSet, useSmallerFontForTextInToolbarclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisDumbAwareprotected static final Logger LOG
public BaseGenerateTestSupportMethodAction(TestIntegrationUtils.MethodKind methodKind)
public AnAction createEditTemplateAction(DataContext dataContext)
createEditTemplateAction in interface GenerateActionPopupTemplateInjectorcreateEditTemplateAction in class BaseGenerateActionprotected PsiClass getTargetClass(Editor editor, PsiFile file)
getTargetClass in class BaseGenerateActionprotected boolean isValidForClass(PsiClass targetClass)
isValidForClass in class BaseGenerateActionprotected boolean isValidForFile(Project project, Editor editor, PsiFile file)
isValidForFile in class BaseGenerateActionprotected boolean isValidFor(PsiClass targetClass, TestFramework framework)