public abstract class AbstractShowDiffAction extends AbstractVcsAction
AnAction.TransparentUpdate
ACTIONS_KEY, EMPTY_ARRAY
Constructor and Description |
---|
AbstractShowDiffAction() |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(VcsContext vcsContext) |
protected abstract DiffActionExecutor |
getExecutor(DiffProvider diffProvider,
VirtualFile selectedFile,
Project project,
Editor editor) |
protected static boolean |
isEnabled(VcsContext vcsContext,
boolean disableIfRunning) |
protected static boolean |
isVisible(VcsContext vcsContext) |
protected void |
update(VcsContext vcsContext,
Presentation presentation) |
protected static void |
updateDiffAction(Presentation presentation,
VcsContext vcsContext) |
actionPerformed, forceSyncUpdate, getActiveVcses, performUpdate, update
create, create
addTextOverride, applyTextOverride, beforeActionPerformedUpdate, copyFrom, copyShortcutFrom, displayTextInToolbar, getEventProject, getShortcutSet, getTemplatePresentation, getTemplateText, isDefaultIcon, isEnabledInModalContext, isInInjectedContext, isTransparentUpdate, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, startInTransaction, toString, unregisterCustomShortcutSet, useSmallerFontForTextInToolbar
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isDumbAware
protected void update(VcsContext vcsContext, Presentation presentation)
update
in class AbstractVcsAction
protected static void updateDiffAction(Presentation presentation, VcsContext vcsContext)
protected static boolean isVisible(VcsContext vcsContext)
protected static boolean isEnabled(VcsContext vcsContext, boolean disableIfRunning)
protected void actionPerformed(VcsContext vcsContext)
actionPerformed
in class AbstractVcsAction
protected abstract DiffActionExecutor getExecutor(DiffProvider diffProvider, VirtualFile selectedFile, Project project, Editor editor)