localProductsNode.add(new WorkProductDescriptorTreeNode((WorkProductDescriptor) localElement)) ;
localProductsNode.add(new WorkProductDescriptorTreeNode((WorkProductDescriptor) localElement, treeModel)) ;
	public ComponentTreeNode (Component _component)	{		super() ;		this.component = _component ;		this.setUserObject(component.getDescriptor().getName()) ;		DefaultMutableTreeNode localWDNode = new DefaultMutableTreeNode(Bundle.getText("MainTreeNodeWorkDefinitions")) ;		DefaultMutableTreeNode localRoleNode = new DefaultMutableTreeNode(Bundle.getText("MainTreeNodeRoles")) ;		DefaultMutableTreeNode localProductsNode = new DefaultMutableTreeNode(Bundle.getText("MainTreeNodeWorkProducts")) ;				Collection <BreakdownElement> localNested = component.getNestedElements() ;		BreakdownElement localElement ;		Iterator <BreakdownElement> localIterator = localNested.iterator() ;		while (localIterator.hasNext())		{			localElement = localIterator.next() ;			if (localElement instanceof RoleDescriptor)			{				localRoleNode.add(new RoleDescriptorTreeNode((RoleDescriptor) localElement)) ;			}						else if (localElement instanceof Activity)			{				localWDNode.add(new ActivityTreeNode((Activity) localElement)) ;			}						else if (localElement instanceof WorkProductDescriptor)			{				localProductsNode.add(new WorkProductDescriptorTreeNode((WorkProductDescriptor) localElement)) ;			}		}		this.add(localWDNode) ;		this.add(localRoleNode) ;		this.add(localProductsNode) ;	}