org.eclipse.xtext.purexbase.ui.autoedit
Class ReplAutoEdit
java.lang.Object
org.eclipse.xtext.purexbase.ui.autoedit.ReplAutoEdit
- All Implemented Interfaces:
- org.eclipse.jface.text.IAutoEditStrategy
public class ReplAutoEdit
- extends java.lang.Object
- implements org.eclipse.jface.text.IAutoEditStrategy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReplAutoEdit
public ReplAutoEdit()
customizeDocumentCommand
public void customizeDocumentCommand(org.eclipse.jface.text.IDocument document,
org.eclipse.jface.text.DocumentCommand command)
- Description copied from interface:
org.eclipse.jface.text.IAutoEditStrategy
- Allows the strategy to manipulate the document command.
- Specified by:
customizeDocumentCommand
in interface org.eclipse.jface.text.IAutoEditStrategy
- Parameters:
document
- the document that will be changedcommand
- the document command describing the change
computeResultText
protected java.lang.String computeResultText(org.eclipse.jface.text.IDocument document,
org.eclipse.jface.text.DocumentCommand command,
XtextResource resource)
throws org.eclipse.jface.text.BadLocationException
- Throws:
org.eclipse.jface.text.BadLocationException
getConfiguredInterpreter
protected XbaseInterpreter getConfiguredInterpreter(XtextResource resource)