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.
[dev-200405182245] Categories in New Project dialog are shown in tree for no aparent reason. Nodes will not have a content so there should be list. UI Spec shows only list.
It should be tree. Trust me (or rather Tomas Zezula who implemented that)
And the reason for having tree for something that doesn't have any content underneat it? Just curious.
I agree with Milan, it seems like you can choose something from subtree of category node, but there is nothing.... Jano is it defined this way in some UI spec?
It should be a tree. Each category can potentionally contain subcategories. But, there are a few problems with the current implementation: * there should be no turner widget visible if a category doesn't contain subcategories * only the selected item should have the "open folder" icon; other categories should have "closed folder" icon
Looks like the resolution is: we have fix the tree. OpenOnly on selected is probably hard to implement. Let's ignore for now. No thubs on empty categories is probably necessary. Tomas is working on that.
Can't we just simplify this and show a list and ask people not to use subcategories?? I don't see any compelling reason for subcategories; Jano do you have any use cases in mind?
Checking in projectui/src/org/netbeans/modules/project/ui/TemplatesPanel.java; /cvs/projects/projectui/src/org/netbeans/modules/project/ui/TemplatesPanel.java,v <-- TemplatesPanel.java new revision: 1.4; previous revision: 1.3 done Checking in projectui/src/org/netbeans/modules/project/ui/TemplatesPanelGUI.form; /cvs/projects/projectui/src/org/netbeans/modules/project/ui/TemplatesPanelGUI.form,v <-- TemplatesPanelGUI.form new revision: 1.4; previous revision: 1.3 done Checking in projectui/src/org/netbeans/modules/project/ui/TemplatesPanelGUI.java; /cvs/projects/projectui/src/org/netbeans/modules/project/ui/TemplatesPanelGUI.java,v <-- TemplatesPanelGUI.java new revision: 1.5; previous revision: 1.4 done
I am not sure if it is a compeling reason, but ME team (and maybe Web team) wants to put Sample projects into a special subcategory underneath the Mobile category. IMO, putting samples into New Project wizard is not the right solution, but easy to do.
Verified in dev-200406230100.