Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-32

File browser component/sheet

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3
    • wtk
    • None

    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

      Attachments

        1. FileBrowser.png
          21 kB
          Gregory K. Brown

        Activity

          People

            gbrown Gregory K. Brown
            gbrown Gregory K. Brown
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: