public class CustomLiveTemplateLookupElement extends LiveTemplateLookupElement
sudden
EMPTY_ARRAY
Constructor and Description |
---|
CustomLiveTemplateLookupElement(CustomLiveTemplateBase customLiveTemplate,
java.lang.String templateKey,
java.lang.String itemText,
java.lang.String description,
boolean sudden,
boolean worthShowingInAutoPopup) |
Modifier and Type | Method and Description |
---|---|
void |
expandTemplate(Editor editor,
PsiFile file) |
CustomLiveTemplateBase |
getCustomLiveTemplate() |
protected java.lang.String |
getItemText() |
char |
getTemplateShortcut() |
void |
handleInsert(InsertionContext context) |
getAutoCompletionPolicy, getLookupString, isWorthShowingInAutoPopup, renderElement
as, as, getAllLookupStrings, getObject, getPsiElement, isCaseSensitive, isValid, requiresCommittedDocuments, toString
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
public CustomLiveTemplateLookupElement(CustomLiveTemplateBase customLiveTemplate, java.lang.String templateKey, java.lang.String itemText, java.lang.String description, boolean sudden, boolean worthShowingInAutoPopup)
protected java.lang.String getItemText()
getItemText
in class LiveTemplateLookupElement
public CustomLiveTemplateBase getCustomLiveTemplate()
public char getTemplateShortcut()
getTemplateShortcut
in class LiveTemplateLookupElement
public void handleInsert(InsertionContext context)
handleInsert
in class LookupElement