public class LiveTemplateBuilder
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LiveTemplateBuilder.Marker |
Constructor and Description |
---|
LiveTemplateBuilder() |
LiveTemplateBuilder(boolean addEndVariableAtTheEndOfTemplate,
int segmentLimit) |
Modifier and Type | Method and Description |
---|---|
TemplateImpl |
buildTemplate() |
LiveTemplateBuilder.Marker |
createMarker(int offset) |
boolean |
findVarOccurence(java.lang.String name) |
java.lang.CharSequence |
getText() |
int |
insertTemplate(int offset,
TemplateImpl template,
java.util.Map<java.lang.String,java.lang.String> predefinedVarValues) |
void |
insertText(int offset,
java.lang.String text,
boolean disableEndVariable) |
static boolean |
isEndVariable(java.lang.String name) |
int |
length() |
void |
setIsToReformat(boolean isToReformat) |
public LiveTemplateBuilder()
public LiveTemplateBuilder(boolean addEndVariableAtTheEndOfTemplate, int segmentLimit)
public void setIsToReformat(boolean isToReformat)
public java.lang.CharSequence getText()
public static boolean isEndVariable(java.lang.String name)
public boolean findVarOccurence(java.lang.String name)
public TemplateImpl buildTemplate()
public void insertText(int offset, java.lang.String text, boolean disableEndVariable)
public int length()
public int insertTemplate(int offset, TemplateImpl template, java.util.Map<java.lang.String,java.lang.String> predefinedVarValues)
public LiveTemplateBuilder.Marker createMarker(int offset)