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 34533 - IdeProject.addWizard(FileObject[]) should return Project
Summary: IdeProject.addWizard(FileObject[]) should return Project
Status: CLOSED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2003-06-23 14:08 UTC by Marian Petras
Modified: 2004-04-19 16:33 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Petras 2003-06-23 14:08:20 UTC
Method (static) IdeProject.addWizard(FileObject[])
should return Project to let the caller know which
project was chosen in the wizard.
Comment 1 Vitezslav Stejskal 2003-06-23 17:00:10 UTC
Why? Could you describe your scenario, please.
Comment 2 Marian Petras 2003-06-24 08:45:40 UTC
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(...).
Comment 3 Vitezslav Stejskal 2003-06-24 09:49:12 UTC
#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)
Comment 4 Vitezslav Stejskal 2003-11-26 14:42:13 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.
Comment 5 Vitezslav Stejskal 2003-11-26 14:58:42 UTC
--> VERIFIED