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.

Bug 23532 - Finalize the design of the Open dialog in projects
Summary: Finalize the design of the Open dialog in projects
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P1 blocker (vote)
Assignee: Dirk Ruiz
URL:
Keywords:
: 25225 27748 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-15 15:27 UTC by Pavel Buzek
Modified: 2003-12-11 14:25 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Filechooser used in 'Open project' operation (6.39 KB, image/gif)
2002-05-27 18:15 UTC, Vitezslav Stejskal
Details
Filechoser used in 'Add Source Directory' operation (8.73 KB, image/gif)
2002-05-27 18:16 UTC, Vitezslav Stejskal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Buzek 2002-05-15 15:27:30 UTC
Finalize the design of the Open Project dialog
Comment 1 Vitezslav Stejskal 2002-05-27 18:14:30 UTC
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.
Comment 2 Vitezslav Stejskal 2002-05-27 18:15:28 UTC
Created attachment 5977 [details]
Filechooser used in 'Open project' operation
Comment 3 Vitezslav Stejskal 2002-05-27 18:16:25 UTC
Created attachment 5978 [details]
Filechoser used in 'Add Source Directory' operation
Comment 4 Vitezslav Stejskal 2002-05-27 18:17:45 UTC
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.
Comment 5 Pavel Buzek 2002-05-31 14:39:54 UTC
planned for PROJECTS_MILESTONE_4
Comment 6 Petr Jiricka 2002-10-04 10:19:40 UTC
*** Issue 27748 has been marked as a duplicate of this issue. ***
Comment 7 Petr Jiricka 2002-10-04 10:26:11 UTC
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 ?
Comment 8 Vitezslav Stejskal 2002-10-05 00:48:10 UTC
*** Issue 25225 has been marked as a duplicate of this issue. ***
Comment 9 Dirk Ruiz 2002-11-26 21:55:47 UTC
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
Comment 10 Pavel Buzek 2003-07-02 10:12:31 UTC
closing