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: | Need notifyRenamed distinct from notifyMoved | ||
---|---|---|---|
Product: | projects | Reporter: | Jesse Glick <jglick> |
Component: | Generic Infrastructure | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | apireviews, tmysik, wex_viator |
Priority: | P3 | Keywords: | API, API_REVIEW_FAST |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 184501 | ||
Bug Blocks: | 165164, 183632 | ||
Attachments: | Proposed patch |
Description
Jesse Glick
2010-04-08 01:12:39 UTC
Created attachment 96926 [details]
Proposed patch
Includes new SPI (minus apichanges); usage; and a sample implementation in j2seproject.
Please review this API change. *** Bug 180369 has been marked as a duplicate of this bug. *** TM01 I would move handle.finish(); (DefaultProjectOperationsImplementation.java) to the finally block. TM01 - not really necessary since the ProgressHandle is only actually displayed in a dialog, which is always closed when the operation finishes (whether successfully or not). I'm sure the code could be cleaned up in various ways but I don't think there is any visible bug in this area. Anyway the same comment would apply to any of the project operations, not just rename, so it is orthogonal to this issue. Committed with updates also for ant.freeform and apisupport.project, and fixed main window title to immediately update when the selected project's name changes (previously you had to change the selection before this happened). core-main #83c32e15b1b6 Integrated into 'main-golden', will be available in build *201004160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/83c32e15b1b6 User: Jesse Glick <jglick@netbeans.org> Log: Issue #183680: offer a simplified way of renaming a project when it is not physically moved. |