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 32985 - New File/Folder | New From Template actions useless on java data objects
Summary: New File/Folder | New From Template actions useless on java data objects
Status: CLOSED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Chris Ledantec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-17 11:40 UTC by Jan Becicka
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Becicka 2003-04-17 11:40:17 UTC
please remove them
Comment 1 Vitezslav Stejskal 2003-04-17 13:47:25 UTC
At least the New File/Folder... action should be there, see the
projects infra uispec.
Comment 2 Vitezslav Stejskal 2003-04-19 14:25:33 UTC
Well, HIE may want to comment on this.
Comment 3 Vitezslav Stejskal 2003-04-19 14:27:09 UTC
Reassigning to HIE. BTW the Eclipse 2.1 does exactli the same, it puts
NFT action on files under the package.
Comment 4 Chris Ledantec 2003-07-07 10:38:17 UTC
this isn't a bug. see the inf spec

http://projects.netbeans.org/uispecs/infrastructure/ProjectsInfrastructureUISpec.html#Menu_Guidelines
Comment 5 Vitezslav Stejskal 2003-07-07 12:49:45 UTC
Chris, the link doesn't seem to describe the reason why we should have
'New File/Folder ...' action in popup menu on files.
Comment 6 Chris Ledantec 2003-07-07 13:10:04 UTC
to quote in line:

3.1.1 Context-Insensitive File/Folder Creation

The main menubar has a new, context-insensitive menu item under File:
"New File/Folder...".  (Exact name TBD.)  This menu item is always
enabled.  Selecting it brings up the New template with file and folder
creation templates showing.  If the New wizard asks for the current
project, then it is filled in, using the current project if available
and the default project if not.  If more applicable information is
available (e.g., current source directory) then that is added to the
New wizard fields too.
Comment 7 Vitezslav Stejskal 2003-07-07 17:24:13 UTC
Well, but the question was: why do we have 'New File/Folder ...'
action in the _popup_ menu of nodes representing files?

I understand why we have it in main menu and how it should behave, but
on files it looks a bit inappropriate.
Comment 8 Chris Ledantec 2003-07-07 17:37:13 UTC
more from the spec:

 Finally, where sensible, pop-up menus have the same item.  The only
difference is that entire pages of the New wizard may be skipped (as
needed), since the context has been specified by virtue of where the
user right-clicked.  Thus, no matter where the user turns and no
matter what her context, she always has file and folder creation at
her fingertips.

the idea being that we offer the ability to create new files/folders
from as many places as possible (within reason). i don't think it's
that strange to have file creation from nodes within the explorer -it
makes up for the deficiency that we don't have pop-up menus on
explorer white space.
Comment 9 Vitezslav Stejskal 2003-07-07 17:42:10 UTC
OK, thanks for explanation.
Comment 10 Jan Becicka 2003-08-15 07:45:47 UTC
VERIFIED
Comment 11 Jan Becicka 2003-11-25 14:21:29 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 CLOSED.
Comment 12 Quality Engineering 2007-09-20 09:50:30 UTC
Reorganization of java component