19 package org.turro.file.zul.navigator;
21 import org.turro.elephant.context.Application;
22 import org.turro.file.zul.control.FileResults;
23 import org.zkoss.zk.ui.ext.AfterCompose;
24 import org.zkoss.zul.Tree;
25 import org.zkoss.zul.Treechildren;
31 public class FileTree extends Tree implements AfterCompose {
33 private Treechildren children;
36 private boolean doProcessors =
true;
48 this.results = results;
56 this.fileListener = listener;
60 this.doProcessors = doProcessors;
65 children.appendChild(af);
79 for(Object o : getItems()) {
91 for(Object o : getItems()) {
102 children.getChildren().clear();
105 private void addChildrenSpace() {
106 children =
new Treechildren();
107 appendChild(children);
111 for(Object o : children.getChildren()) {
boolean isInRole(String role)
static Application getApplication()
FileFolder addFolder(String label, String path, boolean loadOnDemand)
FileNavigatorListener getFileListener()
void setResults(FileResults results)
void setFileListener(FileNavigatorListener listener)
void setDoProcessors(boolean doProcessors)
FileFolder getSelectedFolder()
void setSelectedFolder(FileFolder folder)