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: | Refactoring/Moving TopComponents doesn't work | ||
---|---|---|---|
Product: | apisupport | Reporter: | csc <csc> |
Component: | Refactoring | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | epdv |
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
csc
2006-12-26 20:22:09 UTC
Which xml files? In Netbeans 6.0 these xml files: MyTopComponentTopComponentWstcref.xml MyTopComponentTopComponentSettings.xml Layer.xml I see. I just don't want to add another bug, but there are more files that could make use of refactoring the layer.xml file, e.g. icons and language files. It should be possible to add all types of files, and the layer and all other configuration should be changed automatically. A module writer shouldn't have to configure a module 2 weeks while writing implementing one day ... The NBM refactoring support has not been touched in years and will probably be deleted at some point in favor of using annotations, for which we get refactoring support for free. For 7.0 there is an annotation to register TopComponent's without touching the layer. Since source files using this annotation can simply be moved to another package using only basic Java refactoring, there is no point spending time implementing refactoring for the old registration style. |