18 package org.turro.file.zul.tree;
21 import java.util.ArrayList;
22 import java.util.List;
23 import org.turro.auth.Authentication;
24 import org.turro.elephant.context.ElephantContext;
25 import org.turro.file.HiddenFilter;
26 import org.turro.i18n.I_;
27 import org.turro.plugin.contacts.IContact;
28 import org.zkoss.zk.ui.ext.AfterCompose;
37 super(
I_.
get(
"My documents"));
47 if(!myDocs.exists()) myDocs.mkdirs();
51 for(String dir : dirs.split(
",")) {
52 File dirFile =
new File(dir);
53 if(dirFile.exists() && dirFile.getAbsolutePath().startsWith(
"/home/")) {
54 addFolder(dirFile.getName(), dirFile.getAbsolutePath());
73 private List<FileColumn> createFileColumns() {
74 List<FileColumn> columns =
new ArrayList<FileColumn>();
static IContact getIContact()
static String getRealPath(String path)
void setFileFilter(FileFilter fileFilter)
void initTreeColumns(List< FileColumn > fileColumns)
FileItem addFolder(String label, String path)
void uploadDone(FileItem file)
void downloadDone(FileItem file)
void deleteDone(FileItem file)
static String get(String msg)