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 43958 - Options dialog/templates - "New.." doesn't work
Summary: Options dialog/templates - "New.." doesn't work
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 3.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-28 02:01 UTC by Ana.von Klopp
Modified: 2004-08-13 12:11 UTC (History)
2 users (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 Ana.von Klopp 2004-05-28 02:01:07 UTC
This is a regression which is why I file it as a 
P1. 

The templates have been made context sensitive w.
r.t. different project types, but it seems like 
somebody forgot about the templates folder! 

I can't even create a folder under it! I'd be 
grateful if this can be fixed asap, because this 
is part of a demo I will give at JavaONE (I create 
a portlet components folder).
Comment 1 Ana.von Klopp 2004-05-28 16:05:45 UTC
Please downgrade to P2 if regressions should be P2s - sorry about 
that... 
Comment 2 Petr Hrebejk 2004-05-31 09:28:52 UTC
Please specify the problem more exactly (I'm not sure where you want
to create a Templates subfolder using the GUI). 
We are aware of the problem that when you go and save a file as
template it won't show up in any project type. This will prbably be
fixed with adding an attribute saying that the template is project
specidfic and has some category attributes. If this attr won't be
present then the template will be shown in all prject types. Is that
what you want?
Comment 3 Petr Hrebejk 2004-05-31 13:47:00 UTC
Hmm, noq I think I know what you mean. Creating files and folders in
the Tools/Options dialog. Well I agree that the node for the Templates
folder itself is strange. (Probably the last node which still contains
the old newTemplate action). Should be fixed then.

Reassigning to Jirka as he is going to implement the issue #43070
which is related to this.
Comment 4 Jiri Rechtacek 2004-06-01 17:32:59 UTC
fixed, to add to new templates by Options|Templates is now allowed.

Checking in core/src/org/netbeans/core/ui/Bundle.properties;
/cvs/core/src/org/netbeans/core/ui/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.65; previous revision: 1.64
done
Checking in core/src/org/netbeans/core/ui/UINodes.java;
/cvs/core/src/org/netbeans/core/ui/UINodes.java,v  <--  UINodes.java
new revision: 1.13; previous revision: 1.12
done
Processing log script arguments...
More commits to come...
Checking in
projects/projectui/src/org/netbeans/modules/project/ui/NoProjectNew.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/NoProjectNew.java,v
 <--  NoProjectNew.java
new revision: 1.2; previous revision: 1.1
done
Checking in
projects/projectui/src/org/netbeans/modules/project/ui/TemplateChooserPanelGUI.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/TemplateChooserPanelGUI.java,v
 <--  TemplateChooserPanelGUI.java
new revision: 1.13; previous revision: 1.12
done