public class SingleLineTerminalsStrategy extends AbstractTerminalsEditStrategy
MultiLineTerminalsEditStrategy| Modifier and Type | Class and Description |
|---|---|
static class |
SingleLineTerminalsStrategy.Factory |
static interface |
SingleLineTerminalsStrategy.StrategyPredicate |
| Modifier and Type | Field and Description |
|---|---|
static SingleLineTerminalsStrategy.StrategyPredicate |
DEFAULT |
utildebug, DEBUG| Constructor and Description |
|---|
SingleLineTerminalsStrategy(String left,
String right,
SingleLineTerminalsStrategy.StrategyPredicate strategy) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
appliedText(org.eclipse.jface.text.IDocument document,
org.eclipse.jface.text.DocumentCommand command) |
protected void |
handleDeletion(org.eclipse.jface.text.IDocument document,
org.eclipse.jface.text.DocumentCommand command) |
protected void |
handleInsertLeftTerminal(org.eclipse.jface.text.IDocument document,
org.eclipse.jface.text.DocumentCommand command) |
protected void |
handleInsertRightTerminal(org.eclipse.jface.text.IDocument document,
org.eclipse.jface.text.DocumentCommand command) |
protected void |
internalCustomizeDocumentCommand(org.eclipse.jface.text.IDocument document,
org.eclipse.jface.text.DocumentCommand command) |
protected boolean |
isInsertClosingTerminal(org.eclipse.jface.text.IDocument document,
int i) |
allowsEqualTerminals, findStartTerminal, findStopTerminal, getDocumentUtil, getLeftTerminal, getRightTerminal, setDocumentUtilcount, customizeDocumentCommand, getDocumentContent, handleBadLocationException, isIdentifierPart, verifyKeypublic static SingleLineTerminalsStrategy.StrategyPredicate DEFAULT
public SingleLineTerminalsStrategy(String left, String right, SingleLineTerminalsStrategy.StrategyPredicate strategy)
protected void internalCustomizeDocumentCommand(org.eclipse.jface.text.IDocument document,
org.eclipse.jface.text.DocumentCommand command)
throws org.eclipse.jface.text.BadLocationException
internalCustomizeDocumentCommand in class AbstractEditStrategyorg.eclipse.jface.text.BadLocationExceptionprotected void handleInsertLeftTerminal(org.eclipse.jface.text.IDocument document,
org.eclipse.jface.text.DocumentCommand command)
throws org.eclipse.jface.text.BadLocationException
org.eclipse.jface.text.BadLocationExceptionprotected boolean isInsertClosingTerminal(org.eclipse.jface.text.IDocument document,
int i)
protected String appliedText(org.eclipse.jface.text.IDocument document, org.eclipse.jface.text.DocumentCommand command) throws org.eclipse.jface.text.BadLocationException
org.eclipse.jface.text.BadLocationExceptionprotected void handleDeletion(org.eclipse.jface.text.IDocument document,
org.eclipse.jface.text.DocumentCommand command)
throws org.eclipse.jface.text.BadLocationException
org.eclipse.jface.text.BadLocationExceptionprotected void handleInsertRightTerminal(org.eclipse.jface.text.IDocument document,
org.eclipse.jface.text.DocumentCommand command)
throws org.eclipse.jface.text.BadLocationException
org.eclipse.jface.text.BadLocationExceptionCopyright © 2016. All Rights Reserved.