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.
Steps to reproduce: 1) Create a new EJB Module Project 2) Create a new package in the EJB Module 3) Right Click on the newly created package and select "Refactor" , It will pop-out the sub menu of "Refactor" menu This sub menu of "Refactor" menu should only enable the "Rename" sub menu since clicked on an empty package but in this it has enabled the following sub menus also: Introduce Variable Introduce Constant Introduce Method Introduce Field Env Properties : Dev Build 200808120201 JDK 6 Update 10
Created attachment 67270 [details] Parts of Refactoring menu enabled on Right Clicked on Empty Package Node
The menu items are enabled regardless of what is selected (nodes in explorer of text in editor) -> this should be fixed But this is does not classify as P2 IMO.
Fixed. Please verify, thanks. --- http://hg.netbeans.org/main/rev/93f17e4cc3f8
Integrated into 'main-golden', will be available in build *200809091401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/93f17e4cc3f8 User: Max Sauer <msauer@netbeans.org> Log: #143776: [65cat]Parts of Refactoring menu enabled on Right Clicked on Empty Package Node