public class IntentionHintComponent extends java.lang.Object implements Disposable, ScrollAwareHint
Disposable.Parent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INTENTION_PREVIEW_SHORTCUT_TEXT |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Usually not invoked directly, see class javadoc.
|
void |
editorScrolled() |
IntentionAction |
getAction(int index) |
CachedIntentions |
getCachedIntentions() |
LightweightHint |
getComponentHint() |
void |
hide() |
boolean |
isDisposed() |
boolean |
isVisible() |
void |
recreate() |
static IntentionHintComponent |
showIntentionHint(Project project,
PsiFile file,
Editor editor,
boolean showExpanded,
CachedIntentions cachedIntentions) |
public static final java.lang.String INTENTION_PREVIEW_SHORTCUT_TEXT
public CachedIntentions getCachedIntentions()
public boolean isVisible()
public static IntentionHintComponent showIntentionHint(Project project, PsiFile file, Editor editor, boolean showExpanded, CachedIntentions cachedIntentions)
public boolean isDisposed()
public void dispose()
Disposable
dispose
in interface Disposable
public void editorScrolled()
editorScrolled
in interface ScrollAwareHint
public void recreate()
public IntentionAction getAction(int index)
public void hide()
public LightweightHint getComponentHint()