public class LiveTemplateLookupElementImpl extends LiveTemplateLookupElement
sudden
EMPTY_ARRAY
Constructor and Description |
---|
LiveTemplateLookupElementImpl(TemplateImpl template,
boolean sudden) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLookupString() |
TemplateImpl |
getTemplate() |
char |
getTemplateShortcut() |
void |
handleInsert(InsertionContext context) |
static void |
startTemplate(InsertionContext context,
Template template) |
getAutoCompletionPolicy, getItemText, 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 LiveTemplateLookupElementImpl(TemplateImpl template, boolean sudden)
public java.lang.String getLookupString()
getLookupString
in class LiveTemplateLookupElement
public TemplateImpl getTemplate()
public char getTemplateShortcut()
getTemplateShortcut
in class LiveTemplateLookupElement
public void handleInsert(InsertionContext context)
handleInsert
in class LookupElement
public static void startTemplate(InsertionContext context, Template template)