public abstract class Macro
extends java.lang.Object
Register in extension point com.intellij.liveTemplateMacro
.
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<Macro> |
EP_NAME |
Constructor and Description |
---|
Macro() |
Modifier and Type | Method and Description |
---|---|
LookupElement [] |
calculateLookupItems(Expression [] params,
ExpressionContext context) |
Result |
calculateQuickResult(Expression [] params,
ExpressionContext context) |
abstract Result |
calculateResult(Expression [] params,
ExpressionContext context) |
java.lang.String |
getDefaultValue() |
LookupFocusDegree |
getLookupFocusDegree() |
abstract java.lang.String |
getName() |
abstract java.lang.String |
getPresentableName() |
boolean |
isAcceptableInContext(TemplateContextType context) |
public static final ExtensionPointName<Macro> EP_NAME
public abstract java.lang.String getName()
public abstract java.lang.String getPresentableName()
public java.lang.String getDefaultValue()
public abstract Result calculateResult(Expression [] params, ExpressionContext context)
public Result calculateQuickResult(Expression [] params, ExpressionContext context)
public LookupElement [] calculateLookupItems(Expression [] params, ExpressionContext context)
public boolean isAcceptableInContext(TemplateContextType context)
public LookupFocusDegree getLookupFocusDegree()
LookupFocusDegree