My colleague, new to Eclipse (from JBuilder), wants to know how to simply click on a class and add a new method. I right-clicked on the class in the Contour view, and of course there is no “new method” command. I can generate getters and setters, as well as delegate methods and retrieve methods, as well as pull methods up or push them, all of which are very useful, but I don’t see how to create a new method.
I can print private (or public), without spaces, and access code help using the control space, and also create a new method, and then I can right-click on this method and change the method signature from refactoring (alt-shift -C), but it seems that there should be a good way to click on the class somehow and immediately open the wizard of this signature to create a new method.
Is there any way to do this?
source
share