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.
It seems to be useful if compound wizard iterators provided by org.netbeans.projects.ide.ProjectUtil would accept iterators without UI (WizardDescriptor.Iterator.current()==null). Use Case: java module provides several project templates that differ in set of panels gathering data from user to establish a project. Panels are provided by several modules via xml layer. I would like to participate in some of these wizards to check if all necessary parts of the project were initialized and to initialize them if needed (eg source root, output folder, ...). As a suitable solution of this use case seems to be TemplateWizard.Iterator.initialize+instantiate+uninitialize and current() == null.
I think this is already possible. The only limitation is that resulting iterator (the top most one) must hav at leat one panel. In other words you can have itartor which is compound from empty iterators only. Is there anything specific what doesn't work?
As I briefly dipped into CompundWizardIterator.java I have encountered some places that require WD.Panel. Eg CompundWizardIterator/initialize/updateCurrentPanelXYZ. The limitation you have mentioned is acceptable to me. Well I will try out to use such an iterator and let you know. Anyway it would be worth to mention this possibility in javadoc.
Verified, it works. Please mention this feature in javadoc of the compound wizard iterator.
OK, will do.
As described in http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the current work on projects prototype has been stopped.
--> VERIFIED