* Creates a tree of Swing TreeNodes wrapping Cayenne project object. Returns the root
* node of the tree.
*/
public static DefaultMutableTreeNode wrapProjectNode(Object node) {
TraversalHelper helper = new TraversalHelper();
new ProjectTraversal(helper, true).traverse(node);
return helper.getStartNode();
}