1 5 package org.exoplatform.portlets.backup.component; 6 7 8 import java.util.* ; 9 import org.exoplatform.faces.core.component.UINode; 10 11 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 getFamily() { 32 return "org.exoplatform.portlets.backup.component.UIImportUserDataNode" ; 33 } 34 } | Popular Tags |