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 16858 - Template wizard (TemplateWizard2) should not display package
Summary: Template wizard (TemplateWizard2) should not display package
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 3.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks: 26921
  Show dependency tree
 
Reported: 2001-10-23 15:08 UTC by David Strupl
Modified: 2008-12-22 20:30 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Strupl 2001-10-23 15:08:40 UTC
Generic template wizard should not display package at the second step.
Comment 1 David Strupl 2001-10-23 15:10:38 UTC
This change is probably tied with projects implementation.
Comment 2 David Simonek 2002-02-06 16:52:35 UTC
According to David, this change is important and not easy at all,
should be worked on sooner then 4.0, although it's targeted for 4.0
Comment 3 mslama 2002-08-05 17:53:51 UTC
Passing to new owner
Comment 4 Jiri Rechtacek 2002-09-06 13:57:58 UTC
The layout and content of TemplateWizard2 will be changed or removed,
now it's designed only for new java sources.
Comment 5 Travis Zimmerman 2002-09-10 16:12:52 UTC
It is very important to be able to use an IDE that does 
NOT force a directory structure on the users. Adding the 
package name to the wizard does this very thing. The IDE 
should be able to be configured so that user can set 
default directory structure that may not fit the package 
name for developing source files. As it is now, the 
wizards are unusable for anyone developing this way, as 
all of the generated files have to be reworked to get 
things to compile and run correctly.
Comment 6 Jiri Rechtacek 2002-10-01 17:03:21 UTC
Using of 'package' or FileObject.getPackageName/Ext was removed.
committed in a branch 'wizards_redesign_2002Sep'. this way is usable
in projects branch (tested on prj40_prototype branch). 
But, It couldn't be the final solution. In TemplateWizard2 should be
used DataFolderEditor with same functionality.
The issue will be investigated henceforward.
Comment 7 Jiri Rechtacek 2002-10-03 18:03:36 UTC
Implemented different solution for integration with projects. The
methods FileSystem.find(...,...,...) or
FileObject.getPackageName/Ext() are not used henceforward. A logic to
exploring/selection folder is taken up DataFolderEditor, instead of
direct implementation in TemplateWizard2. Committed in
wizards_redesign_2002Sep. This solution should be final (I hope) I
will merge to main trunk after deeply testing.
Comment 8 Jiri Rechtacek 2002-10-03 18:42:25 UTC
Note: successfully tested on projects branch (prj40_prototype, Oct 03).
Comment 9 Jiri Rechtacek 2002-10-07 17:25:15 UTC
fixed, merged from wizards_redesign_2002Sep to maintrunk. It's able to
merge to prj40_prototype branch.