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.
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.
*** Issue 138364 has been marked as a duplicate of this issue. ***
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?
Created attachment 65076 [details]
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.
Change implemented and templates updated.
Integrated into 'main-golden', available in NB_Trunk_Production #339 build
User: David Konecny <firstname.lastname@example.org>
Log: #138360 - Move EJB Methods actions into Insert Code popup