public class JavaGotoSuperHandler extends java.lang.Object implements PresentableCodeInsightActionHandler
| Constructor and Description |
|---|
JavaGotoSuperHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected PsiElement |
getElement(PsiFile file,
int offset) |
void |
invoke(Project project,
Editor editor,
PsiFile file) |
boolean |
startInWriteAction()
Indicate whether this action should be invoked inside write action.
|
void |
update(Editor editor,
PsiFile file,
Presentation presentation) |
void |
update(Editor editor,
PsiFile file,
Presentation presentation,
java.lang.String actionPlace) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementToMakeWritablepublic void invoke(Project project, Editor editor, PsiFile file)
invoke in interface CodeInsightActionHandlerprotected PsiElement getElement(PsiFile file, int offset)
public 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.public void update(Editor editor, PsiFile file, Presentation presentation)
update in interface PresentableCodeInsightActionHandlerpublic void update(Editor editor, PsiFile file, Presentation presentation, java.lang.String actionPlace)
update in interface PresentableCodeInsightActionHandler