pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Brown (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIVOT-32) File browser dialog
Date Wed, 29 Jul 2009 21:08:14 GMT

     [ https://issues.apache.org/jira/browse/PIVOT-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Greg Brown updated PIVOT-32:
----------------------------

    Description: 
We will provide both a generic FileBrowser component and FileBrowserSheet and FileBrowserDialog
classes. FileBrowser will be used internally by the window skins.

FileBrowserSheet and FileBrowserDialog will support the following modes:

   public enum Mode {
       OPEN,
       OPEN_MULTIPLE,
       SAVE_AS,
       SAVE_TO
   }


FileBrowser will provide the following properties (among others):

multiSelect: boolean -- set to true when FileBrowser sheet is in OPEN_MULTIPLE mode; false,
otherwise
fileFilter: Filter<File>
selectedFile: File -- this would throw if "multiSelect" is true, like we do in ListView, etc.
when "selectMode" is MULTI
selectedFiles: Sequence<File>

FileBrowserSkin may provide the following style:

disableFilteredFiles: boolean -- when true, filtered files will be disabled; when false, they
will be hidden



  was:
We will provide both FileBrowser and FolderBrowser components. FileBrowser will support open
and save modes. Save mode will allow the user to type a filename.



> File browser dialog
> -------------------
>
>                 Key: PIVOT-32
>                 URL: https://issues.apache.org/jira/browse/PIVOT-32
>             Project: Pivot
>          Issue Type: New Feature
>          Components: wtk
>            Reporter: Greg Brown
>            Assignee: Greg Brown
>             Fix For: 1.3.1
>
>
> We will provide both a generic FileBrowser component and FileBrowserSheet and FileBrowserDialog
classes. FileBrowser will be used internally by the window skins.
> FileBrowserSheet and FileBrowserDialog will support the following modes:
>    public enum Mode {
>        OPEN,
>        OPEN_MULTIPLE,
>        SAVE_AS,
>        SAVE_TO
>    }
> FileBrowser will provide the following properties (among others):
> multiSelect: boolean -- set to true when FileBrowser sheet is in OPEN_MULTIPLE mode;
false, otherwise
> fileFilter: Filter<File>
> selectedFile: File -- this would throw if "multiSelect" is true, like we do in ListView,
etc. when "selectMode" is MULTI
> selectedFiles: Sequence<File>
> FileBrowserSkin may provide the following style:
> disableFilteredFiles: boolean -- when true, filtered files will be disabled; when false,
they will be hidden

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message