Package org.eclipse.text.edits
Class TextEditCopier
java.lang.Object
org.eclipse.text.edits.TextEditCopier
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 SummaryConstructorsConstructorDescriptionTextEditCopier(TextEdit edit) Constructs a newTextEditCopierfor the given edit.
- 
Method Summary
- 
Constructor Details- 
TextEditCopierConstructs a newTextEditCopierfor the given edit. The actual copy is done by callingperform.- Parameters:
- edit- the edit to copy
- See Also:
 
 
- 
- 
Method Details- 
performPerforms the actual copying.- Returns:
- the copy
 
- 
getCopyReturns the copy for the original text edit.- Parameters:
- original- the original for which the copy is requested
- Returns:
- the copy of the original edit or nullif the original isn't managed by this copier
 
 
-