KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > portlets > backup > component > UIImportUserDataNode


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.portlets.backup.component;
6
7
8 import java.util.* ;
9 import org.exoplatform.faces.core.component.UINode;
10
11 /**
12  * May 31, 2004
13  * @author: Tuan Nguyen
14  * @email: tuan08@users.sourceforge.net
15  * @version: $ID$
16  **/

17 public class UIImportUserDataNode extends UINode {
18     
19     public UIImportUserDataNode(UIImportUserData uiImportUserData, UIData uiData) {
20         setId("UIImportUserDataNode") ;
21         setRendererType("ChildrenRenderer") ;
22         setName("User Data") ;
23         List children = getChildren() ;
24         uiImportUserData.setRendered(true) ;
25         children.add(uiImportUserData) ;
26         uiData.setImportClass(UIImportUserData.class) ;
27         uiData.setRendered(false) ;
28         children.add(uiData) ;
29     }
30     
31     public String JavaDoc getFamily() {
32         return "org.exoplatform.portlets.backup.component.UIImportUserDataNode" ;
33     }
34 }
Popular Tags