org.eclipse.xtext.ui.editor.autoedit
Class CompoundMultiLineTerminalsEditStrategy

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategy
      extended by org.eclipse.xtext.ui.editor.autoedit.CompoundMultiLineTerminalsEditStrategy
All Implemented Interfaces:
java.util.EventListener, org.eclipse.jface.text.IAutoEditStrategy, org.eclipse.swt.custom.VerifyKeyListener, org.eclipse.swt.internal.SWTEventListener

public class CompoundMultiLineTerminalsEditStrategy
extends AbstractEditStrategy

Since:
2.0
Author:
Sebastian Zarnekow - Initial contribution and API

Nested Class Summary
static class CompoundMultiLineTerminalsEditStrategy.Factory
           
 
Field Summary
 
Fields inherited from class org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategy
debug, DEBUG
 
Constructor Summary
protected CompoundMultiLineTerminalsEditStrategy()
           
 
Method Summary
 CompoundMultiLineTerminalsEditStrategy and(java.lang.String leftTerminal, java.lang.String rightTerminal)
           
 CompoundMultiLineTerminalsEditStrategy and(java.lang.String leftTerminal, java.lang.String indentationString, java.lang.String rightTerminal)
           
protected  void internalCustomizeDocumentCommand(org.eclipse.jface.text.IDocument document, org.eclipse.jface.text.DocumentCommand command)
           
 
Methods inherited from class org.eclipse.xtext.ui.editor.autoedit.AbstractEditStrategy
count, customizeDocumentCommand, getDocumentContent, handleBadLocationException, isIdentifierPart, verifyKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundMultiLineTerminalsEditStrategy

protected CompoundMultiLineTerminalsEditStrategy()
Method Detail

and

public CompoundMultiLineTerminalsEditStrategy and(java.lang.String leftTerminal,
                                                  java.lang.String indentationString,
                                                  java.lang.String rightTerminal)

and

public CompoundMultiLineTerminalsEditStrategy and(java.lang.String leftTerminal,
                                                  java.lang.String rightTerminal)

internalCustomizeDocumentCommand

protected void internalCustomizeDocumentCommand(org.eclipse.jface.text.IDocument document,
                                                org.eclipse.jface.text.DocumentCommand command)
                                         throws org.eclipse.jface.text.BadLocationException
Specified by:
internalCustomizeDocumentCommand in class AbstractEditStrategy
Throws:
org.eclipse.jface.text.BadLocationException