/[Apache-SVN]
ViewVC logotype

Revision 1486223


Jump to revision: Previous Next
Author: rwhitcomb
Date: Fri May 24 21:22:39 2013 UTC (10 years, 10 months ago)
Changed paths: 38
Log Message:
PIVOT-864: Adding a "pluggable" file system browser to Pivot based on
Apache Commons VFS (Virtual File System).

Basically this is a clone of the existing FileBrowser and FileBrowserSheet
components with the names changed and using the VFS2 FileObject instead
of File everywhere.  The skins are cloned and changed also.

Currently it has only been tested with local file system browsing and
it doesn't yet browse into local .zip archives (for instance).  There
are some other features I may add such as found in the Swing-based
VFSJFileChooser.

The Commons-VFS and supporting .jar files are only necessary to be
available on the classpath if the VFSBrowser or VFSBrowserSheet
classes are instantiated.

I have added the basic .jars (current as of 24-May-2013) to the
wtk/lib directory and added additional classpath references to this
directory to several of the Ant tasks so the compile and test tasks
will work out of the box.

Tested the "clean", "package", "doc" and "test" tasks to make sure
they are all clean.

There are a number of remaining basic tasks:
- Need to figure out "getFileRoots" replacement (doesn't exist
  right now in VFS API).
- Need a way to specify a different URI scheme to browse to remote
  systems (such as http:// or ftp://) (such as an input text field
  or an ancillary dialog)
- Similary we need to deal with authentication, when required, for
  remote systems.
- Enhance the browsing to be able to browse into archive files in
  addition to just directories.
- Address the TODO: items in the code.


Changed paths

Path Details
Directorypivot/trunk/build.xml modified , text changed
Directorypivot/trunk/core/src/org/apache/pivot/io/FileObjectList.java added
Directorypivot/trunk/tests/src/org/apache/pivot/tests/VFSBrowserTest.java added
Directorypivot/trunk/wtk/lib/commons-compress-1.5.jar added
Directorypivot/trunk/wtk/lib/commons-logging-1.1.3.jar added
Directorypivot/trunk/wtk/lib/commons-net-3.2.jar added
Directorypivot/trunk/wtk/lib/commons-vfs2-2.1-SNAPSHOT.jar added
Directorypivot/trunk/wtk/lib/httpclient-4.0.2.jar added
Directorypivot/trunk/wtk/lib/jackrabbit-webdav-1.6.5.jar added
Directorypivot/trunk/wtk/lib/jsch-0.1.49.jar added
Directorypivot/trunk/wtk/src/org/apache/pivot/wtk/VFSBrowser.java added
Directorypivot/trunk/wtk/src/org/apache/pivot/wtk/VFSBrowserListener.java added
Directorypivot/trunk/wtk/src/org/apache/pivot/wtk/VFSBrowserSheet.java added
Directorypivot/trunk/wtk/src/org/apache/pivot/wtk/VFSBrowserSheetListener.java added
Directorypivot/trunk/wtk/src/org/apache/pivot/wtk/skin/VFSBrowserSkin.java added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme.java modified , text changed
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin.java added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin.json added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin_cs.json added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin_de.json added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin_es.json added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin_fr.json added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin_it.json added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin_pl.json added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin_ru.json added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin_zh.json added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSkin.java added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSkin.json added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSkin_cs.json added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSkin_de.json added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSkin_es.json added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSkin_fr.json added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSkin_it.json added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSkin_pl.json added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSkin_ru.json added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSkin_zh.json added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/terra_vfs_browser_sheet_skin.bxml added
Directorypivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/terra_vfs_browser_skin.bxml added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26