public class ShowParameterInfoHandler extends java.lang.Object implements CodeInsightActionHandler
Constructor and Description |
---|
ShowParameterInfoHandler() |
ShowParameterInfoHandler(boolean requestFocus) |
Modifier and Type | Method and Description |
---|---|
static ParameterInfoHandler[] |
getHandlers(Project project,
Language... languages) |
void |
invoke(Project project,
Editor editor,
PsiFile file) |
static void |
invoke(Project project,
Editor editor,
PsiFile file,
int lbraceOffset,
PsiElement highlightedElement)
Deprecated.
|
static void |
invoke(Project project,
Editor editor,
PsiFile file,
int lbraceOffset,
PsiElement highlightedElement,
boolean requestFocus) |
static void |
invoke(Project project,
Editor editor,
PsiFile file,
int lbraceOffset,
PsiElement highlightedElement,
boolean requestFocus,
boolean singleParameterHint,
java.lang.String progressTitle,
java.util.function.Consumer<IndexNotReadyException> indexNotReadyExceptionConsumer) |
boolean |
startInWriteAction()
Indicate whether this action should be invoked inside write action.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getElementToMakeWritable
public ShowParameterInfoHandler()
public ShowParameterInfoHandler(boolean requestFocus)
public void invoke(Project project, Editor editor, PsiFile file)
invoke
in interface CodeInsightActionHandler
public boolean startInWriteAction()
WriteActionAware
false
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 WriteActionAware
true
if the action requires a write action (default), false
otherwise.@Deprecated public static void invoke(Project project, Editor editor, PsiFile file, int lbraceOffset, PsiElement highlightedElement)
invoke(Project, Editor, PsiFile, int, PsiElement, boolean)
insteadpublic static void invoke(Project project, Editor editor, PsiFile file, int lbraceOffset, PsiElement highlightedElement, boolean requestFocus)
public static void invoke(Project project, Editor editor, PsiFile file, int lbraceOffset, PsiElement highlightedElement, boolean requestFocus, boolean singleParameterHint, java.lang.String progressTitle, java.util.function.Consumer<IndexNotReadyException> indexNotReadyExceptionConsumer)
public static ParameterInfoHandler[] getHandlers(Project project, Language... languages)