public class CodeBlockReformattingProcessor extends java.lang.Object implements TemplateOptionalProcessor, DumbAware
EP_NAME
Constructor and Description |
---|
CodeBlockReformattingProcessor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOptionName() |
boolean |
isEnabled(Template template) |
boolean |
isVisible(Template template,
TemplateContext context) |
void |
processText(Project project,
Template template,
Document document,
RangeMarker templateRange,
Editor editor)
Invoked inside a write action when a live template is finished.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isVisible, setEnabled
public void processText(Project project, Template template, Document document, RangeMarker templateRange, Editor editor)
TemplateOptionalProcessor
processText
in interface TemplateOptionalProcessor
public java.lang.String getOptionName()
getOptionName
in interface TemplateOptionalProcessor
public boolean isEnabled(Template template)
isEnabled
in interface TemplateOptionalProcessor
public boolean isVisible(Template template, TemplateContext context)
isVisible
in interface TemplateOptionalProcessor