code: private void addTasks(MpxjTreeNode parentNode, ChildTaskContainer parent)
     {
        for (Task task : parent.getChildTasks())
        {
           final Task t = task;
           MpxjTreeNode childNode = new MpxjTreeNode(task, TASK_EXCLUDED_METHODS)
           {
              @Override public String toString()
              {
                 return t.getName();
              }
           };
           parentNode.add(childNode);
           addTasks(childNode, task);
        }
     }
docs: Add tasks to the tree.
  
  @param parentNode parent tree node
  @param parent parent task container