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.
Method (static) IdeProject.addWizard(FileObject[]) should return Project to let the caller know which project was chosen in the wizard.
Why? Could you describe your scenario, please.
I thought I would use this method for implementation of part of Open File functionality, specifically the part described in section 5.6.3 of the Projects Infrastructure UI Spec (http://projects.netbeans.org/uispecs/infrastructure/ProjectsInfrastructureUISpec.html#Process:_Opening_Files). But when I read the specification more carefully, I can see that I should not use it, since the Projects' wizard should be used only after the project is chosen from the list which is my job to implement. So it is not a requirement for me that this enhancement is implemented. Anyway, I think that returning the selected project would be a reasonable feedback from IdeProject.addWizard(...).
#1 The IP.aW implements the project selector panel which allows user to choose the project in which FOs should be added. #2 It's probably fair to return the selected project from this method. Perhaps, you would need it for getting the OpenCookie anyway. (depends on how issue #34541 will be solved)
As described in http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the current work on projects prototype has been stopped.
--> VERIFIED