public class TemplateState extends java.lang.Object implements Disposable
Disposable.Parent
Modifier and Type | Method and Description |
---|---|
void |
addTemplateStateListener(TemplateEditingListener listener) |
void |
considerNextTabOnLookupItemSelected(LookupElement item) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
ExpressionContext |
getCurrentExpressionContext() |
int |
getCurrentVariableNumber() |
TextRange |
getCurrentVariableRange() |
Editor |
getEditor() |
ExpressionContext |
getExpressionContextForSegment(int segmentNumber) |
java.util.Map |
getProperties() |
TextRange |
getSegmentRange(int segment) |
int |
getSegmentsCount() |
TemplateImpl |
getTemplate() |
TextRange |
getVariableRange(java.lang.String variableName) |
TextResult |
getVariableValue(java.lang.String variableName) |
void |
gotoEnd() |
void |
gotoEnd(boolean brokenOff) |
boolean |
isFinished() |
boolean |
isToProcessTab() |
void |
nextTab() |
void |
previousTab() |
void |
setSegmentsGreedy(boolean greedy) |
void |
setTabStopHighlightersGreedy(boolean greedy) |
public void dispose()
Disposable
dispose
in interface Disposable
public boolean isToProcessTab()
public TextResult getVariableValue(java.lang.String variableName)
public TextRange getCurrentVariableRange()
public TextRange getVariableRange(java.lang.String variableName)
public int getSegmentsCount()
public TextRange getSegmentRange(int segment)
public boolean isFinished()
public void setSegmentsGreedy(boolean greedy)
public void setTabStopHighlightersGreedy(boolean greedy)
public ExpressionContext getCurrentExpressionContext()
public ExpressionContext getExpressionContextForSegment(int segmentNumber)
public int getCurrentVariableNumber()
public void previousTab()
public void nextTab()
public void considerNextTabOnLookupItemSelected(LookupElement item)
public void gotoEnd(boolean brokenOff)
public void gotoEnd()
public void addTemplateStateListener(TemplateEditingListener listener)
public java.util.Map getProperties()
public TemplateImpl getTemplate()
public Editor getEditor()