Eclipse has features for templates that make re-coding (with slight variations) easier and more efficient.
I often find myself doing a template as follows:
- XXXView
- XXXViewInterface
- XXXViewListener
- XXXViewPresenter
According to the MVP pattern https://vaadin.com/web/magi/home/-/blogs/model-view-presenter-pattern-with-vaadin
Then these classes interact and refer to each other, but always the same.
My question is: can I define these 4 classes as a template, so all I have to do is enter "XXX" and generate four Java classes from this
source share