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 33181 - Add ProjectsListener.closing without UserCancelException
Summary: Add ProjectsListener.closing without UserCancelException
Status: CLOSED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC All
: P1 blocker (vote)
Assignee: issues@projects
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2003-04-23 15:43 UTC by Vitezslav Stejskal
Modified: 2003-12-11 14:25 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitezslav Stejskal 2003-04-23 15:43:44 UTC
There should be variant of ProjectListener.closing
method which will not allow to throw
UserCancelException. The project closing sequence
then would look like:

1. call ProjectsListener.askClosing() throws UCE
2. if UCE was thrown then stop closing the project
3. otherwise call ProjectsListener.closing()
4. call ProjectsListener.closed()

The 1., 2., 3. are called under the projects lock.
Comment 1 Vitezslav Stejskal 2003-11-26 12:52:49 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.
Comment 2 Vitezslav Stejskal 2003-11-26 14:57:58 UTC
--> VERIFIED