org.eclipse.xtext.ui.refactoring.ui
Class ReplaceEditExtractor

java.lang.Object
  extended by org.eclipse.xtext.ui.refactoring.ui.ReplaceEditExtractor

public class ReplaceEditExtractor
extends java.lang.Object

Extracts the ReplaceEdits for a specific IDocument from a Change.

Author:
Jan Koehnlein - Initial contribution and API

Constructor Summary
ReplaceEditExtractor()
           
 
Method Summary
protected  void addTextEdits(org.eclipse.ltk.core.refactoring.Change change, org.eclipse.jface.text.IDocument document, IAcceptor<org.eclipse.text.edits.TextEdit> textEdits)
           
protected  void addTextEdits(org.eclipse.ltk.core.refactoring.TextChange change, IAcceptor<org.eclipse.text.edits.TextEdit> textEdits)
           
protected  void addTextEdits(org.eclipse.text.edits.TextEdit edit, IAcceptor<org.eclipse.text.edits.TextEdit> textEdits)
           
 java.util.List<org.eclipse.text.edits.ReplaceEdit> getReplaceEditsForDocument(org.eclipse.ltk.core.refactoring.Change change, org.eclipse.jface.text.IDocument document)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplaceEditExtractor

public ReplaceEditExtractor()
Method Detail

getReplaceEditsForDocument

public java.util.List<org.eclipse.text.edits.ReplaceEdit> getReplaceEditsForDocument(org.eclipse.ltk.core.refactoring.Change change,
                                                                                     org.eclipse.jface.text.IDocument document)

addTextEdits

protected void addTextEdits(org.eclipse.ltk.core.refactoring.Change change,
                            org.eclipse.jface.text.IDocument document,
                            IAcceptor<org.eclipse.text.edits.TextEdit> textEdits)

addTextEdits

protected void addTextEdits(org.eclipse.ltk.core.refactoring.TextChange change,
                            IAcceptor<org.eclipse.text.edits.TextEdit> textEdits)

addTextEdits

protected void addTextEdits(org.eclipse.text.edits.TextEdit edit,
                            IAcceptor<org.eclipse.text.edits.TextEdit> textEdits)