X-Git-Url: http://ecere.com/cgi-bin/gitweb.cgi?p=ede;a=blobdiff_plain;f=tests%2Flibede%2FfileSystemBoxTestApp%2FFileSystemBoxTestApp.ec;h=8b0716ab8fcbf75a8aacbd182cffe42238989f11;hp=2f6d75aa5bfc9b30429705cb71f84f3e6d85b1d0;hb=f9b68416186ac927767700a403abc64589b1777f;hpb=b80ed78589e091279fc2165f0dd9d82adf8d76ae diff --git a/tests/libede/fileSystemBoxTestApp/FileSystemBoxTestApp.ec b/tests/libede/fileSystemBoxTestApp/FileSystemBoxTestApp.ec index 2f6d75a..8b0716a 100644 --- a/tests/libede/fileSystemBoxTestApp/FileSystemBoxTestApp.ec +++ b/tests/libede/fileSystemBoxTestApp/FileSystemBoxTestApp.ec @@ -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 }; }; }