public class SiteContentProvider extends DocumentContentProvider
Constructor and Description |
---|
SiteContentProvider(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
Object[] |
getChildren(Object obj)
Gets the children for the given object.
|
String |
getLabel(Object obj)
Gets the label to be used when displaying the given object.
|
getElements, getFacets, getName, getSession, isContainer, setSession
public SiteContentProvider(CoreSession session)
public Object[] getChildren(Object obj)
ContentProvider
This method is used to populate the nested branches of the tree.
getChildren
in interface ContentProvider
getChildren
in class DocumentContentProvider
obj
- the objectpublic String getLabel(Object obj)
ContentProvider
getLabel
in interface ContentProvider
getLabel
in class DocumentContentProvider
obj
- the objectCopyright © 2013 Nuxeo SA. All Rights Reserved.