Mercurial > hg > Members > shoshi > TreeCMSv1
changeset 16:36d4445b349d
hogehoge
author | shoshi |
---|---|
date | Sun, 29 Aug 2010 23:10:45 +0900 |
parents | 6b8f33b7e09f |
children | cc89a4664927 |
files | src/treecms/proto/test/Test3.java |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/treecms/proto/test/Test3.java Sun Aug 29 23:08:47 2010 +0900 +++ b/src/treecms/proto/test/Test3.java Sun Aug 29 23:10:45 2010 +0900 @@ -46,10 +46,13 @@ child21.addChild(child211); child21.addChild(child212); + //i want to edit child22 + System.out.println("Path of Root to Target --------------"); EditableNodeAPITreeBuilder builder2 = new EditableNodeAPITreeBuilder(child212,builder); System.out.println("-----------------------------"); + //check that tree correctly copied. PreOrderTreeWalkerRecursive walker = new PreOrderTreeWalkerRecursive(builder2.getContents()); Iterator<NodeAPI> itr = walker.iterator(); while(itr.hasNext()){