1 17 package org.alfresco.web.ui.repo.component; 18 19 import javax.faces.component.UICommand; 20 import javax.faces.component.UIComponent; 21 import javax.faces.event.ActionEvent; 22 23 import org.alfresco.service.cmr.repository.NodeRef; 24 25 28 public class UINodePath extends UICommand 29 { 30 33 36 public UINodePath() 37 { 38 setRendererType("org.alfresco.faces.NodePathLinkRenderer"); 39 } 40 41 42 45 48 public String getFamily() 49 { 50 return "org.alfresco.faces.NodePath"; 51 } 52 53 54 57 60 public static class PathElementEvent extends ActionEvent 61 { 62 public PathElementEvent(UIComponent component, NodeRef nodeRef) 63 { 64 super(component); 65 this.NodeReference = nodeRef; 66 } 67 68 public NodeRef NodeReference; 69 } 70 } 71 | Popular Tags |