public class ParameterInfoController extends UserDataHolderBase implements Disposable
Modifier and Type | Class and Description |
---|---|
static class |
ParameterInfoController.Model |
static class |
ParameterInfoController.RawSignatureItem |
static class |
ParameterInfoController.SignatureItem |
static interface |
ParameterInfoController.SignatureItemModel |
Disposable.Parent
Constructor and Description |
---|
ParameterInfoController(Project project,
Editor editor,
int lbraceOffset,
java.lang.Object[] descriptors,
java.lang.Object highlighted,
PsiElement parameterOwner,
ParameterInfoHandler handler,
boolean showHint,
boolean requestFocus) |
Modifier and Type | Method and Description |
---|---|
static boolean |
areParameterTemplatesEnabledOnCompletion() |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
static boolean |
existsForEditor(Editor editor) |
static boolean |
existsWithVisibleHintForEditor(Editor editor,
boolean anyHintType) |
static <E extends PsiElement> |
findArgumentList(PsiFile file,
int offset,
int lbraceOffset) |
static ParameterInfoController |
findControllerAtOffset(Editor editor,
int offset) |
java.lang.Object |
getHighlighted() |
java.lang.Object[] |
getObjects() |
protected void |
hideHint() |
void |
hideLoading(HintListener hintListener) |
boolean |
isHintShown(boolean anyType) |
void |
setPreservedOnHintHidden(boolean value) |
void |
showHint(boolean requestFocus,
boolean singleParameterInfo) |
boolean |
showLoading(HintListener hintListener) |
void |
updateComponent() |
static void |
waitForDelayedActions(Editor editor,
long timeout,
java.util.concurrent.TimeUnit unit) |
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
public ParameterInfoController(Project project, Editor editor, int lbraceOffset, java.lang.Object[] descriptors, java.lang.Object highlighted, PsiElement parameterOwner, ParameterInfoHandler handler, boolean showHint, boolean requestFocus)
public static ParameterInfoController findControllerAtOffset(Editor editor, int offset)
public static boolean existsForEditor(Editor editor)
public static boolean existsWithVisibleHintForEditor(Editor editor, boolean anyHintType)
public boolean isHintShown(boolean anyType)
public void dispose()
Disposable
dispose
in interface Disposable
public boolean showLoading(HintListener hintListener)
public void hideLoading(HintListener hintListener)
public void showHint(boolean requestFocus, boolean singleParameterInfo)
public void updateComponent()
public static <E extends PsiElement> E findArgumentList(PsiFile file, int offset, int lbraceOffset)
public java.lang.Object[] getObjects()
public java.lang.Object getHighlighted()
public void setPreservedOnHintHidden(boolean value)
public static void waitForDelayedActions(Editor editor, long timeout, java.util.concurrent.TimeUnit unit) throws java.util.concurrent.TimeoutException
java.util.concurrent.TimeoutException
public static boolean areParameterTemplatesEnabledOnCompletion()
protected void hideHint()