public class NavigateAction<T extends PsiElement> extends AnAction
AnAction.TransparentUpdate
ACTIONS_KEY, EMPTY_ARRAY
Constructor and Description |
---|
NavigateAction(LineMarkerInfo<T> info) |
NavigateAction(java.lang.String text,
LineMarkerInfo<T> info,
java.lang.String originalActionId) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(AnActionEvent e)
Implement this method to provide your action handler.
|
java.lang.String |
getOriginalActionId() |
static <T extends PsiElement> |
setNavigateAction(LineMarkerInfo<T> info,
java.lang.String text,
java.lang.String originalActionId) |
static <T extends PsiElement> |
setNavigateAction(LineMarkerInfo<T> info,
java.lang.String text,
java.lang.String originalActionId,
javax.swing.Icon icon) |
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, update, useSmallerFontForTextInToolbar
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isDumbAware
public NavigateAction(java.lang.String text, LineMarkerInfo<T> info, java.lang.String originalActionId)
public NavigateAction(LineMarkerInfo<T> info)
public void actionPerformed(AnActionEvent e)
AnAction
actionPerformed
in class AnAction
e
- Carries information on the invocation placepublic static <T extends PsiElement> LineMarkerInfo<T> setNavigateAction(LineMarkerInfo<T> info, java.lang.String text, java.lang.String originalActionId)
public static <T extends PsiElement> LineMarkerInfo<T> setNavigateAction(LineMarkerInfo<T> info, java.lang.String text, java.lang.String originalActionId, javax.swing.Icon icon)
public java.lang.String getOriginalActionId()