|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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.
Constructor Summary | |
---|---|
TextEditCopier(TextEdit edit)
Constructs a new TextEditCopier for the
given edit. |
Method Summary | |
---|---|
TextEdit |
getCopy(TextEdit original)
Returns the copy for the original text edit. |
TextEdit |
perform()
Performs the actual copying. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TextEditCopier(TextEdit edit)
TextEditCopier
for the
given edit. The actual copy is done by calling
perform
.
edit
- the edit to copyperform()
Method Detail |
public TextEdit perform()
public TextEdit getCopy(TextEdit original)
original
- the original for which the copy
is requested
null
if the original isn't managed by this copier
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.