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.
Summary: | Close all project's documents when closing the project | ||
---|---|---|---|
Product: | projects | Reporter: | Petr Hrebejk <phrebejk> |
Component: | Generic Projects UI | Assignee: | Jiri Rechtacek <jrechtacek> |
Status: | CLOSED FIXED | ||
Severity: | blocker | Keywords: | API |
Priority: | P3 | ||
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 41835 |
Description
Petr Hrebejk
2004-04-08 14:05:44 UTC
*** Issue 42241 has been marked as a duplicate of this issue. *** Probably could also be handled automatically by projects/projectui without the need for the project to do anything. No strong opinion which is better. Marking API in case you use the originally suggested option. fixed, no API change (limited only on projectui module). If the project's documents would be closed by ProjectOpenedHook then will be close separately and an user will be notifies about modified documents again to each project. Now is showed only once notification with options Save/Discard/Cancel. Checking in src/org/netbeans/modules/project/ui/Bundle.properties; /cvs/projects/projectui/src/org/netbeans/modules/project/ui/Bundle.properties,v <-- Bundle.properties new revision: 1.11; previous revision: 1.10 done RCS file: /cvs/projects/projectui/src/org/netbeans/modules/project/ui/ExitDialog.java,v done Checking in src/org/netbeans/modules/project/ui/ExitDialog.java; /cvs/projects/projectui/src/org/netbeans/modules/project/ui/ExitDialog.java,v <-- ExitDialog.java initial revision: 1.1 done RCS file: /cvs/projects/projectui/src/org/netbeans/modules/project/ui/ProjectUtilities.java,v done Checking in src/org/netbeans/modules/project/ui/ProjectUtilities.java; /cvs/projects/projectui/src/org/netbeans/modules/project/ui/ProjectUtilities.java,v <-- ProjectUtilities.java initial revision: 1.1 done Processing log script arguments... More commits to come... Checking in src/org/netbeans/modules/project/ui/actions/CloseProject.java; /cvs/projects/projectui/src/org/netbeans/modules/project/ui/actions/CloseProject.java,v <-- CloseProject.java new revision: 1.4; previous revision: 1.3 done Right, this approach makes sense I think. verified |