Package org.eclipse.text.edits
Class TextEditCopier
- java.lang.Object
-
- org.eclipse.text.edits.TextEditCopier
-
public final class TextEditCopier extends Object
Copies a tree of text edits. A text edit copier keeps a map between original and new text edits. It can be used to map a copy back to its original edit.- Since:
- 3.0
-
-
Constructor Summary
Constructors Constructor Description TextEditCopier(TextEdit edit)Constructs a newTextEditCopierfor the given edit.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextEditgetCopy(TextEdit original)Returns the copy for the original text edit.TextEditperform()Performs the actual copying.
-
-
-
Method Detail
-
perform
public TextEdit perform()
Performs the actual copying.- Returns:
- the copy
-
-