public abstract class TemplateContextType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<TemplateContextType> |
EP_NAME |
Modifier | Constructor and Description |
---|---|
protected |
TemplateContextType(java.lang.String id,
java.lang.String presentableName) |
protected |
TemplateContextType(java.lang.String id,
java.lang.String presentableName,
java.lang.Class<? extends TemplateContextType> baseContextType) |
Modifier and Type | Method and Description |
---|---|
void |
clearCachedBaseContextType() |
Document |
createDocument(java.lang.CharSequence text,
Project project) |
SyntaxHighlighter |
createHighlighter() |
TemplateContextType |
getBaseContextType() |
java.lang.String |
getContextId() |
java.lang.String |
getPresentableName() |
boolean |
isExpandableFromEditor() |
abstract boolean |
isInContext(PsiFile file,
int offset) |
public static final ExtensionPointName<TemplateContextType> EP_NAME
protected TemplateContextType(java.lang.String id, java.lang.String presentableName)
protected TemplateContextType(java.lang.String id, java.lang.String presentableName, java.lang.Class<? extends TemplateContextType> baseContextType)
public java.lang.String getPresentableName()
public java.lang.String getContextId()
public abstract boolean isInContext(PsiFile file, int offset)
public boolean isExpandableFromEditor()
public SyntaxHighlighter createHighlighter()
public TemplateContextType getBaseContextType()
public void clearCachedBaseContextType()