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 32642

Summary: Finalize ui of location chooser used in NFT wizards
Product: projects Reporter: Vitezslav Stejskal <vstejskal>
Component: Generic Projects UIAssignee: Chris Ledantec <cledantec>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: All   
Issue Type: TASK Exception Reporter:

Description Vitezslav Stejskal 2003-04-04 16:36:25 UTC
This ui is roughly described in java-project
uispec, but it seems that it is generic since it
should be used by file/folder templates when their
instantiation is invoked on project file roots or
their subnodes.

IMO this ui should be moved to infra uispec at the
place where 'New File/Folder ...' action is
described. The ui should be the default location
chooser for NFT wizards, which of course can be
replaced by nature specific location chooser when
NFT is invoked on some nature specific nodes (e.g.
Packages Node or single package node, etc.)
However, the location chooser should allow to
browse the structure under the selected project
files root. It is not sufficient to provide just a
text box where user write the full path of
location where she wants to create some file.
Comment 1 Vitezslav Stejskal 2003-04-04 16:37:31 UTC
The location chooser is described in java uispec on Fig. 27.
Comment 2 Chris Ledantec 2003-04-07 15:32:39 UTC
i'm okay with this not being in the inf spec bcs the differences
differences between languages is substantial. the inf spec does enough
to specify things that the rest should follow.

i'd like to add this to the java spec:

+------------------------------------------+
| New Wizard - New File Step 2             |
+------------------------------------------+
|                                          |
| Name:        |_README.txt______________| |
|                                          |
| Source Root: |_c:\myProject\_________|v| |
|                                          |
| Folder:      |_docs______________| [...] |
|                                          |
|                                          |
|                                          |
|                                          |
|                                          |
|                                          |
+------------------------------------------+
Figure 27: New File in Sources node


The [...] button opens a tree editor that lets the user browse and
select a location under the selected root.
Comment 3 Vitezslav Stejskal 2003-04-07 17:43:28 UTC
Well, but still this ui should be used by all templates (even those
not provided by java nature or natures build on top of it; e.g. the
template of plain text file), right? That's why it will have to be
implemented in projects infrastructure and therefore should be in
infra spec IMO.

Comment 4 Chris Ledantec 2003-04-07 18:27:47 UTC
good point. i've added the wizard panel description to the inf spec
section 3.1.1 the changes will be committed later this week.
Comment 5 Chris Ledantec 2003-07-07 10:33:51 UTC
this was fixed a while back it looks.
Comment 6 Jan Becicka 2003-11-25 14:03:53 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.

Marking issue as VERIFIED --->
Comment 7 Jan Becicka 2003-11-25 14:13:02 UTC
---> CLOSED