tests:libede: added missing navigateFolders option
[ede] / tests / libede / fileSystemBoxTestApp / FileSystemBoxTestApp.ec
index 2f6d75a..8b0716a 100644 (file)
@@ -1,5 +1,5 @@
 import "ecere"
-import "ede"
+import "EDE"
 
 class FileSystemBoxTestWindow : Window
 {
@@ -14,6 +14,7 @@ class FileSystemBoxTestWindow : Window
    TabControl tabControl { this, background = activeBorder, anchor = { left = 4, top = 4, right = 4, bottom = 4 } };
 
    FileListTab fileListTab { tabControl };
+   JustFilesTab justFilesTab { tabControl };
    FolderListTab folderListTab { tabControl };
    FileTreeTab fileTreeTab { tabControl };
    FolderTreeTab folderTreeTab { tabControl };
@@ -38,6 +39,19 @@ class FileListTab : TestTab
    FileSystemBox box
    {
       this;
+      navigateFolders = true;
+      anchor = { left = 4, top = 4, right = 4, bottom = 4 };
+   };
+}
+
+class JustFilesTab : TestTab
+{
+   text = "JustFiles";
+
+   FileSystemBox box
+   {
+      this;
+      filesOnly = true;
       anchor = { left = 4, top = 4, right = 4, bottom = 4 };
    };
 }
@@ -50,6 +64,7 @@ class FolderListTab : TestTab
    {
       this;
       foldersOnly = true;
+      navigateFolders = true;
       anchor = { left = 4, top = 4, right = 4, bottom = 4 };
    };
 }
@@ -62,6 +77,7 @@ class FileTreeTab : TestTab
    {
       this;
       treeBranches = true;
+      navigateFolders = true;
       anchor = { left = 4, top = 4, right = 4, bottom = 4 };
    };
 }
@@ -75,6 +91,7 @@ class FolderTreeTab : TestTab
       this;
       treeBranches = true;
       foldersOnly = true;
+      navigateFolders = true;
       anchor = { left = 4, top = 4, right = 4, bottom = 4 };
    };
 }
@@ -87,6 +104,7 @@ class FileDetails : TestTab
    {
       this;
       details = true; // TODO: figure out why commented out (see FileSystemBox) code crashes the form designer
+      navigateFolders = true;
       anchor = { left = 4, top = 4, right = 4, bottom = 4 };
    };
 }
@@ -99,6 +117,7 @@ class FilteredList : TestTab
    {
       this;
       extensions = "epj, ec";
+      navigateFolders = true;
       anchor = { left = 4, top = 4, right = 4, bottom = 4 };
    };
 }
@@ -110,10 +129,10 @@ class FilteredTree : TestTab
    FileSystemBox box
    {
       this;
-      anchor = { left = 4, top = 4, right = 4, bottom = 4 };
-
       extensions = "txt, text, nfo, info";
       treeBranches = true;
+      navigateFolders = true;
+      anchor = { left = 4, top = 4, right = 4, bottom = 4 };
    };
 }
 
@@ -125,6 +144,7 @@ class RootList : TestTab
    {
       this;
       path = "/";
+      navigateFolders = true;
       anchor = { left = 4, top = 4, right = 4, bottom = 4 };
    };
 }
@@ -137,9 +157,9 @@ class RootTree : TestTab
    {
       this;
       path = "/";
-      anchor = { left = 4, top = 4, right = 4, bottom = 4 };
-
       treeBranches = true;
+      navigateFolders = true;
+      anchor = { left = 4, top = 4, right = 4, bottom = 4 };
    };
 }