Opened 13 years ago
Closed 13 years ago
#308 closed enhancement (fixed)
FileTreePanel - cascade dir opening from path
Reported by: | adube | Owned by: | adube |
---|---|---|---|
Priority: | major | Milestone: | 1.2.0 |
Component: | widgets | Version: | |
Keywords: | Cc: |
Description
It would be nice to automatically open directories in the FileTreePanel using a file or sub-directory path.
For example, using the "/root/path/to/dir/file.txt" path, calling a new 'openDirFromPath' or something like that would automatically open all directories : root, path, to, and dir.
Change History (3)
comment:1 by , 13 years ago
Summary: | FileTreePanel → FileTreePanel - cascade dir opening from path |
---|
comment:2 by , 13 years ago
Milestone: | 1.0.0 → 1.2.0 |
---|---|
Owner: | set to |
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r1148, featuring :
- new org.GeoPrisma.FileTreeCascade plugin that :
- has a "cascadePath" function that receives a path and automatically collapse each node according to it
- the plugin is set as a "gpCascadePlugin" property of the FileTreePanel
- sample updated to show this feature
- the path browses the tree until it its the end or doesn't find one of the node
- when used, it automatically collapses all tree nodes first
Done.
Note:
See TracTickets
for help on using tickets.
This widget is not ready for 1.0.