public class GotoPrevElementUnderCaretUsageAction extends BaseCodeInsightAction
highlight usages| Modifier and Type | Class and Description |
|---|---|
protected static class |
GotoElementUnderCaretUsageBase.Direction |
AnAction.TransparentUpdateACTIONS_KEY, EMPTY_ARRAY| Constructor and Description |
|---|
GotoPrevElementUnderCaretUsageAction() |
| Modifier and Type | Method and Description |
|---|---|
protected CodeInsightActionHandler |
getHandler() |
void |
invoke(Project project,
Editor editor,
PsiFile file) |
boolean |
startInWriteAction()
Indicate whether this action should be invoked inside write action.
|
getBaseEditor, getEditor, getInjectedEditor, getInjectedEditor, isValidForLookup, updateactionPerformed, actionPerformedImpl, beforeActionPerformedUpdate, getCommandName, isValidForFile, update, 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, waitgetElementToMakeWritableisDumbAwarepublic GotoPrevElementUnderCaretUsageAction()
protected CodeInsightActionHandler getHandler()
getHandler in class CodeInsightActionpublic void invoke(Project project, Editor editor, PsiFile file)
invoke in interface CodeInsightActionHandlerpublic boolean startInWriteAction()
WriteActionAwarefalse if e.g. modal dialog is shown inside the action.
If false is returned the action itself is responsible for starting write action
when needed, by calling Application.runWriteAction(Runnable).startInWriteAction in interface WriteActionAwaretrue if the action requires a write action (default), false otherwise.