Hi Wolfgang,
I'd recommend extending TreeNodeBase to get the parent node name. You
could try adding a "parent"-attribute to the implementation and your own
adder-methods to add child elements.
Cheers,
Christopher
Wolfgang schrieb:
Hi,
is there a possibility to get the name of a parentTreeNode?
e.g.:
docu = new TreeNodeBase("simpleNode", "Documentation", false);
faq = new treeNodeNavigation("navNode", "FAQ", false, "faq");
userManual = new treeNodeNavigation("navNode", "User
Manual", false, "userManual");
docu.getChildren().add(faq);
docu.getChildren().add(userManual);
Something like this: faq.getParentName(); ????
Cheers Wolfgang