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.
[200406141800; j2sdk1.4.2_04] Explorer popup menu New looks like this by default: ------------------ File/Folder... | ------------------ Java Class... | Java Interface... | JPanel Form... | JFrame Form ... | ------------------ When I create some other type of new object (e.g. html file) then this item should be added into this popoup menu like in previous version of NetBeans.
BTW this is implemented and it worked. Don't know why it stoped working. Will investigate,
Hele, Jirko I looked into it and I've found that this is because you have changed the way we recognize whether given template is of recommended type or not. The method OpenProjectsList.isRecommended has to use the same algorithm. I suggest you move your methods from TemplateChooserGUI into projects utilities and call them from both places. It is the same package so there should be no problem. Thanks
fixed, Checking in src/org/netbeans/modules/project/ui/OpenProjectList.java; /cvs/projects/projectui/src/org/netbeans/modules/project/ui/OpenProjectList.java,v <-- OpenProjectList.java new revision: 1.16; previous revision: 1.15 done Checking in 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.20; previous revision: 1.19 done
Verified in 200408170540; jdk1.5.0-rc-b63.