public abstract class LiveTemplateLookupElement extends LookupElement
Modifier and Type | Field and Description |
---|---|
boolean |
sudden |
EMPTY_ARRAY
Constructor and Description |
---|
LiveTemplateLookupElement(java.lang.String lookupString,
java.lang.String description,
boolean sudden,
boolean worthShowingInAutoPopup) |
Modifier and Type | Method and Description |
---|---|
AutoCompletionPolicy |
getAutoCompletionPolicy() |
protected java.lang.String |
getItemText() |
java.lang.String |
getLookupString() |
abstract char |
getTemplateShortcut() |
boolean |
isWorthShowingInAutoPopup()
Invoked when the completion autopopup contains only the items that exactly match the user-entered prefix to determine
whether the popup should be closed to not get in the way when navigating through the code.
|
void |
renderElement(LookupElementPresentation presentation) |
as, as, getAllLookupStrings, getObject, getPsiElement, handleInsert, isCaseSensitive, isValid, requiresCommittedDocuments, toString
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
public LiveTemplateLookupElement(java.lang.String lookupString, java.lang.String description, boolean sudden, boolean worthShowingInAutoPopup)
public java.lang.String getLookupString()
getLookupString
in class LookupElement
protected java.lang.String getItemText()
public void renderElement(LookupElementPresentation presentation)
renderElement
in class LookupElement
public AutoCompletionPolicy getAutoCompletionPolicy()
getAutoCompletionPolicy
in class LookupElement
public boolean isWorthShowingInAutoPopup()
LookupElement
isWorthShowingInAutoPopup
in class LookupElement
public abstract char getTemplateShortcut()