| |
|
| java.lang.Object org.eclipse.text.edits.TextEditCopier
TextEditCopier | final public class TextEditCopier (Code) | | 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 |
TextEditCopier | public TextEditCopier(TextEdit edit)(Code) | | Constructs a new TextEditCopier for the
given edit. The actual copy is done by calling
perform .
Parameters: edit - the edit to copy See Also: TextEditCopier.perform() |
getCopy | public TextEdit getCopy(TextEdit original)(Code) | | Returns the copy for the original text edit.
Parameters: original - the original for which the copyis requested the copy of the original edit or null if the original isn't managed by this copier |
perform | public TextEdit perform()(Code) | | Performs the actual copying.
the copy |
|
|
|