1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-04 02:09:35 +02:00

library code uniformization

This commit is contained in:
Nikolay Pultsin 2011-07-14 13:02:15 +01:00
parent 3433318dc8
commit 8ed1bcaf30
8 changed files with 131 additions and 68 deletions

View file

@ -25,8 +25,8 @@ import org.geometerplus.zlibrary.core.filesystem.ZLFile;
import org.geometerplus.fbreader.Paths;
public class FileRootTree extends RootTree {
FileRootTree(String id) {
super(id);
FileRootTree(Library library, String id) {
super(library, id);
addChild(Paths.BooksDirectoryOption().getValue(), "fileTreeLibrary");
addChild("/", "fileTreeRoot");
addChild(Paths.cardDirectory(), "fileTreeCard");
@ -46,4 +46,9 @@ public class FileRootTree extends RootTree {
public String getTreeTitle() {
return getName();
}
@Override
public Status getOpeningStatus() {
return Status.READY_TO_OPEN;
}
}