This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Finalize the design of the Open Project dialog
There is filechooser dialog needed on several places in projects. The JFileChooser can't be used as it dosn't work with Netbeans' filesystems. The design of dialog provided by Netbeans core is poor, we need some better.
Created attachment 5977 [details] Filechooser used in 'Open project' operation
Created attachment 5978 [details] Filechoser used in 'Add Source Directory' operation
Comment from mail discussions: * Finder dialogs too small -- I'm constantly making them taller so I can see a reasonable size list of things from which to choose. Wizard steps on the other hand are often too large.
planned for PROJECTS_MILESTONE_4
*** Issue 27748 has been marked as a duplicate of this issue. ***
Comments copied from 27748: In NetBeans 3.4 and earlier, there were two basic approaches for choosing a file. One was to use a JFileChooser over the content of the whole disk, and the other was to use the NetBeans explorer-based chooser for objects mounted in FileSystems. In NetBeans 4.0, there are many new concepts which require a new framework for a file chooser. First, since the roots of filesystems are mounted, the distinction between the JFileChooser approach and the explorer containing all filesystems disappears. Secondly, it may be useful to limit the selection to a subset of files, such as: - all files in a given project - other projects and files in them - other projects and targets in them - resources of a project - all files on the classpath of a given project - any other selection provided by modules, such as "all files in web applications" Thirdly, it will be a requirement to allow mounting a VCS filesystem in the chooser, because as the user is not expected to interact with the Filesystems tab very much, she must be given the opportunity to mount a VCS FS later when she needs it, which may be when she is choosing a file. It would be also useful to give the user the choice for which selection to use, by having tabs in the chooser which would say "All Files" "Files in Project" "All Projects" "Files on Classpath" etc. Also, individual clients (modules) of the chooser should be able to show some tabs, and not others, so for example if the Java module knows that the file chosen *has* to be on the classpath, it should be able to only allow "Files on Classpath", and disable "All Files" and similar. ----- I am raising the priority of this task to P1, as the file chooser/open dialog is a piece of UI that all modules will need to reuse. Since Dirk is now overloaded with the complete UI spec task, should we find some other HIE/UI person to work on this ?
*** Issue 25225 has been marked as a duplicate of this issue. ***
Design is finalized in Projects Infrastructure UI Spec, Section 5.6 Process: Opening Files URL is http://projects.netbeans.org/uispecs/infrastructure/ProjectsInfrastructureUISpec.html#Process:_Opening_Files
closing