return result;
}
private org.richfaces.model.TreeNode createClassicNode(TreeNode node) {
TreeNodeImpl result = new DataHolderTreeNodeImpl(node.isLeaf(), ((SwingTreeNodeImpl<?>) node).getData());
for (int i = 0; i < node.getChildCount(); i++) {
result.addChild(i, createClassicNode(node.getChildAt(i)));
}
return result;
}