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:||Move EJB Methods actions into Insert Code popup|
|Component:||EJB||Assignee:||David Konecny <dkonecny>|
|Issue Type:||ENHANCEMENT||Exception Reporter:|
|Bug Depends on:|
Description jrojcek 2008-06-26 13:33:25 UTC
The editor contextual menu contains various actions generating code snippets (Insert Code, EJB Methods, Enterprise Resources, Web Service Client Resources). For 6.5 we want to clean up the menu and make the code generation consistent. This effort includes moving all code generating items from the contextual menu into the Insert Code popup. For EJB module it means the following: - Add a "Business Method..." item into the "Insert Code" popup. - Remove the "EJB Methods" submenu from the editor contextual menu If there's more EJB related items generating code, please let me know.
Comment 1 jrojcek 2008-06-26 13:36:00 UTC
This issue is part of overall contextual menu cleanup for 6.5. Note that some file templates currently guide users towards the contextual menu for generating EJB code. The text in the templates needs to be updated as well to point users into the Insert Code popup.
Comment 2 David Konecny 2008-07-21 04:53:40 UTC
*** Issue 138364 has been marked as a duplicate of this issue. ***
Comment 3 David Konecny 2008-07-21 04:59:15 UTC
I thought this is implemented in project types but I was wrong -> passing back to ejb subcomponent. I have a fix which I will attach diff of and Martin could you please skim it before I commit it. I'm not familiar at all with this area and was following some existing Insert Code popup impl. Also Jano mentioned some wizard referring to context menu - any pointers which one is it?
Comment 5 jrojcek 2008-07-22 15:28:15 UTC
I meant the actual text in the generated files. Some contain comments like: // Right-click and select EJB Methods to generate... I don't remember which templates generate code like that, but I've seen it a few times.
Comment 6 David Konecny 2008-07-22 22:39:13 UTC
Change implemented and templates updated. 962ae2c759fb 76f67037c875 ae56b18ff507