public abstract class ExternalSystemNodeAction<T> extends ExternalSystemAction
AnAction.TransparentUpdateACTIONS_KEY, EMPTY_ARRAY| Constructor and Description |
|---|
ExternalSystemNodeAction(java.lang.Class<T> externalDataClazz) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(AnActionEvent e)
Implement this method to provide your action handler.
|
protected VirtualFile |
getExternalConfig(ExternalConfigPathAware data,
ProjectSystemId externalSystemId) |
protected <T> T |
getExternalData(AnActionEvent e,
java.lang.Class<T> dataClass) |
protected ExternalSystemUiAware |
getExternalSystemUiAware(AnActionEvent e) |
protected boolean |
isEnabled(AnActionEvent e) |
protected boolean |
isIgnoredNode(AnActionEvent e) |
protected abstract void |
perform(Project project,
ProjectSystemId projectSystemId,
T externalData,
AnActionEvent e) |
getProject, getSystemId, hasProject, isVisible, setDescription, setText, setText, updateaddTextOverride, applyTextOverride, beforeActionPerformedUpdate, 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, waitisDumbAwarepublic ExternalSystemNodeAction(java.lang.Class<T> externalDataClazz)
protected boolean isEnabled(AnActionEvent e)
isEnabled in class ExternalSystemActionprotected abstract void perform(Project project, ProjectSystemId projectSystemId, T externalData, AnActionEvent e)
public void actionPerformed(AnActionEvent e)
AnActionactionPerformed in class AnActione - Carries information on the invocation placeprotected ExternalSystemUiAware getExternalSystemUiAware(AnActionEvent e)
protected <T> T getExternalData(AnActionEvent e, java.lang.Class<T> dataClass)
protected boolean isIgnoredNode(AnActionEvent e)
protected VirtualFile getExternalConfig(ExternalConfigPathAware data, ProjectSystemId externalSystemId)