*/
public HashTree addSubTree(HashTree subTree, ReportTreeNode current)
throws IllegalUserActionException {
Iterator<Object> iter = subTree.list().iterator();
while (iter.hasNext()) {
TestElement item = (TestElement) iter.next();
if (item instanceof ReportPlan) {
current = (ReportTreeNode) ((ReportTreeNode) getRoot())
.getChildAt(0);
((TestElement) current.getUserObject()).addTestElement(item);
((ReportPlan) current.getUserObject()).setName(item.getName());
addSubTree(subTree.getTree(item), current);
} else {
if (subTree.getTree(item) != null) {
addSubTree(subTree.getTree(item), addComponent(item, current));
}