public class LookupManagerImpl extends LookupManager
Modifier and Type | Field and Description |
---|---|
static Key<java.lang.Boolean> |
SUPPRESS_AUTOPOPUP_JAVADOC |
PROP_ACTIVE_LOOKUP
Constructor and Description |
---|
LookupManagerImpl(Project project,
MessageBus bus) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener) |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener,
Disposable disposable) |
void |
clearLookup() |
protected LookupImpl |
createLookup(Editor editor,
LookupArranger arranger,
Project project) |
LookupImpl |
createLookup(Editor editor,
LookupElement [] items,
java.lang.String prefix,
LookupArranger arranger) |
void |
forceSelection(char completion,
int index) |
void |
forceSelection(char completion,
LookupElement item) |
LookupEx |
getActiveLookup() |
void |
hideActiveLookup() |
protected boolean |
isAutoPopupJavadocSupportedBy(LookupElement lookupItem) |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener) |
LookupEx |
showLookup(Editor editor,
LookupElement [] items,
java.lang.String prefix,
LookupArranger arranger) |
getActiveLookup, getInstance, hideActiveLookup, showLookup, showLookup
public static final Key<java.lang.Boolean> SUPPRESS_AUTOPOPUP_JAVADOC
public LookupManagerImpl(Project project, MessageBus bus)
public LookupEx showLookup(Editor editor, LookupElement [] items, java.lang.String prefix, LookupArranger arranger)
showLookup
in class LookupManager
public LookupImpl createLookup(Editor editor, LookupElement [] items, java.lang.String prefix, LookupArranger arranger)
createLookup
in class LookupManager
protected boolean isAutoPopupJavadocSupportedBy(LookupElement lookupItem)
protected LookupImpl createLookup(Editor editor, LookupArranger arranger, Project project)
public void hideActiveLookup()
hideActiveLookup
in class LookupManager
public LookupEx getActiveLookup()
getActiveLookup
in class LookupManager
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in class LookupManager
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener, Disposable disposable)
addPropertyChangeListener
in class LookupManager
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in class LookupManager
public void forceSelection(char completion, int index)
public void forceSelection(char completion, LookupElement item)
public void clearLookup()