◆ RepositoryWalker()
org.turro.zkoss.text.RepositoryWalker.RepositoryWalker |
( |
WikiElement |
wikiElement | ) |
|
Definition at line 105 of file RepositoryWalker.java.
106 HashMap args =
new HashMap();
107 args.put(
"el_label", I_.compatibilityMap());
108 args.put(
"i_", I_.api());
109 args.put(
"i", I_.map());
110 args.put(
"k", I_.byKeyMap());
111 Executions.createComponents(
"/WEB-INF/_zul/bs/comps/editor/repositoryWalker.zul",
this, args);
112 Selectors.wireComponents(
this,
this,
false);
113 Selectors.wireEventListeners(
this,
this);
114 this.wikiElement = wikiElement;
◆ getResult()
File org.turro.zkoss.text.RepositoryWalker.getResult |
( |
| ) |
|
◆ isNoTreeRepository()
boolean org.turro.zkoss.text.RepositoryWalker.isNoTreeRepository |
( |
| ) |
|
◆ isReadOnlyRepository()
boolean org.turro.zkoss.text.RepositoryWalker.isReadOnlyRepository |
( |
| ) |
|
◆ onDelFolder()
void org.turro.zkoss.text.RepositoryWalker.onDelFolder |
( |
| ) |
|
◆ onDropUpload()
void org.turro.zkoss.text.RepositoryWalker.onDropUpload |
( |
UploadEvent |
event | ) |
|
◆ onNewFolder()
void org.turro.zkoss.text.RepositoryWalker.onNewFolder |
( |
| ) |
|
◆ onRepository()
void org.turro.zkoss.text.RepositoryWalker.onRepository |
( |
| ) |
|
◆ onSelectFile()
void org.turro.zkoss.text.RepositoryWalker.onSelectFile |
( |
Event |
event | ) |
|
Definition at line 100 of file RepositoryWalker.java.
101 result = (File) event.getData();
102 Events.postEvent(
new Event(Events.ON_CLOSE, Components.from(
this).parent(SelectionDialog.class)));
◆ onUpload()
void org.turro.zkoss.text.RepositoryWalker.onUpload |
( |
UploadEvent |
event | ) |
|
◆ renderResult()
boolean org.turro.zkoss.text.RepositoryWalker.renderResult |
( |
| ) |
|
◆ selectFolder()
void org.turro.zkoss.text.RepositoryWalker.selectFolder |
( |
String |
folder | ) |
|
Definition at line 117 of file RepositoryWalker.java.
118 if(Strings.isBlank(initialFolder)) {
119 initialFolder = folder;
122 repositoryContent.
setFolder(
new File(ElephantContext.getRealPath(folder)));
void selectFolder(String folder)
◆ setFilter()
void org.turro.zkoss.text.RepositoryWalker.setFilter |
( |
String |
filter | ) |
|
◆ setNoTreeRepository()
void org.turro.zkoss.text.RepositoryWalker.setNoTreeRepository |
( |
boolean |
noTreeRepository | ) |
|
Definition at line 155 of file RepositoryWalker.java.
156 this.noTreeRepository = noTreeRepository;
157 treePanel.setVisible(!noTreeRepository);
◆ setReadOnlyRepository()
void org.turro.zkoss.text.RepositoryWalker.setReadOnlyRepository |
( |
boolean |
readOnlyRepository | ) |
|
Definition at line 142 of file RepositoryWalker.java.
143 this.readOnlyRepository = readOnlyRepository;
144 upload.setDisabled(readOnlyRepository);
145 if(readOnlyRepository) {
146 dropUpload.setDetection(
"none");
147 dropUpload.setVisible(
false);
The documentation for this class was generated from the following file: