public abstract class AbstractTerminalsEditStrategy extends AbstractEditStrategy
| Modifier and Type | Field and Description |
|---|---|
protected DocumentUtil |
util |
debug, DEBUG| Constructor and Description |
|---|
AbstractTerminalsEditStrategy(String leftTerminal,
String rightTerminal) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
allowsEqualTerminals() |
protected org.eclipse.jface.text.IRegion |
findStartTerminal(org.eclipse.jface.text.IDocument document,
int offset)
finds the first start terminal which is not closed before the cursor position.
|
protected org.eclipse.jface.text.IRegion |
findStopTerminal(org.eclipse.jface.text.IDocument document,
int offset)
finds the first stop terminal which has not been started after the cursor position.
|
protected DocumentUtil |
getDocumentUtil() |
String |
getLeftTerminal() |
String |
getRightTerminal() |
void |
setDocumentUtil(DocumentUtil util) |
count, customizeDocumentCommand, getDocumentContent, handleBadLocationException, internalCustomizeDocumentCommand, isIdentifierPart, verifyKey@Inject protected DocumentUtil util
public void setDocumentUtil(DocumentUtil util)
public String getLeftTerminal()
public String getRightTerminal()
protected boolean allowsEqualTerminals()
protected DocumentUtil getDocumentUtil()
protected org.eclipse.jface.text.IRegion findStopTerminal(org.eclipse.jface.text.IDocument document,
int offset)
throws org.eclipse.jface.text.BadLocationException
org.eclipse.jface.text.BadLocationExceptionprotected org.eclipse.jface.text.IRegion findStartTerminal(org.eclipse.jface.text.IDocument document,
int offset)
throws org.eclipse.jface.text.BadLocationException
org.eclipse.jface.text.BadLocationExceptionCopyright © 2016. All Rights Reserved.