18 package org.turro.attach.zul.navigator;
20 import org.turro.attach.search.AttachResults;
21 import org.turro.elephant.context.Application;
22 import org.zkoss.zk.ui.ext.AfterCompose;
23 import org.zkoss.zul.Tree;
24 import org.zkoss.zul.Treechildren;
30 public class AttachTree extends Tree implements AfterCompose {
32 private Treechildren children;
35 private boolean doProcessors =
true;
43 return attachListener;
47 this.attachListener = listener;
51 this.doProcessors = doProcessors;
57 children.appendChild(af);
71 for(Object o : getItems()) {
83 for(Object o : getItems()) {
98 this.results = results;
102 children.getChildren().clear();
105 private void addChildrenSpace() {
106 children =
new Treechildren();
107 appendChild(children);
111 for(Object o : children.getChildren()) {
AttachFolder selectFirst()
void setSelectedFolder(AttachFolder folder)
AttachFolder getSelectedFolder()
void setAttachListener(AttachNavigatorListener listener)
void setDoProcessors(boolean doProcessors)
void setResults(AttachResults results)
AttachResults getResults()
AttachFolder addFolder(String label, String path, boolean loadOnDemand)
AttachNavigatorListener getAttachListener()
boolean isInRole(String role)
static Application getApplication()