|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.codegen.merge.java.facade.ast.ASTJCompilationUnit.AbstractRewriter org.eclipse.emf.codegen.merge.java.facade.ast.ASTJCompilationUnit.NodeContentsReplacer
protected class ASTJCompilationUnit.NodeContentsReplacer
Field Summary | |
---|---|
protected java.util.Map<org.eclipse.jdt.core.dom.rewrite.ITrackedNodePosition,java.lang.String> |
trackedNodePositionsMap
|
Constructor Summary | |
---|---|
ASTJCompilationUnit.NodeContentsReplacer()
Enables tracking for all nodes in tracked contents map ( ASTJCompilationUnit.getAllTrackedContentsMap() ). |
Method Summary | |
---|---|
protected TextEdit |
addEdits(TextEdit existingEdits,
IDocument doc)
Creates a TextEdit that replaces contents of all tracked nodes. |
Methods inherited from class org.eclipse.emf.codegen.merge.java.facade.ast.ASTJCompilationUnit.AbstractRewriter |
---|
createEdits |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map<org.eclipse.jdt.core.dom.rewrite.ITrackedNodePosition,java.lang.String> trackedNodePositionsMap
Constructor Detail |
---|
public ASTJCompilationUnit.NodeContentsReplacer()
ASTJCompilationUnit.getAllTrackedContentsMap()
).
This constructor must be called before call to ASTRewrite.rewriteAST()
or ASTRewrite.rewriteAST(IDocument, Map)
.
ASTRewrite.track(ASTNode)
Method Detail |
---|
protected TextEdit addEdits(TextEdit existingEdits, IDocument doc)
TextEdit
that replaces contents of all tracked nodes.
addEdits
in class ASTJCompilationUnit.AbstractRewriter
existingEdits
- existing edits ondoc
- document after call to ASTRewrite.rewriteAST()
or ASTRewrite.rewriteAST(IDocument, Map)
.
trackedNodePositionsMap
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |