Supercarlillos / bpep

Automatically exported from code.google.com/p/bpep
1 stars 1 forks source link

Patch: Source menu/key binding/copy constructor/class replacement #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I attached a patch (created with Eclipse) for the following 
functionality/changes. You may use it (or parts of it) as you see fit.

Additions:
- Added the action to the main "Source" menu
- Activated the action binding and changed it to Ctrl + Alt + B
- Pressing enter in the builder dialog starts the generation process
- Added an option (activated by default) to add a copy constructor to the 
generated builder (takes the respective bean and copies its members)

Changes:
- An existing builder class implementation will be replaced instead of 
appending a new class (custom changes to the class will therefore be lost)

Tested on Indigo.

Original issue reported on code.google.com by frede...@buelthoff.name on 1 Jun 2012 at 9:59

Attachments:

GoogleCodeExporter commented 9 years ago
For what it's still worth, I took your patch, added it to bpep and submitted a 
pull request with it into the current home of this project, at GitHub: 
https://github.com/henningjensen/bpep/pull/1 :)

Original comment by ville...@gmail.com on 16 Feb 2013 at 12:08