I'm using eclipse Oxygen.1a Release, with latest papyrus installed.
Is it possible to have setters, getters and/or default constructor generated automatically when applying "Generate Java Code" to a class diagram ?
To be more general, is there a way to customize the code generation ?
the code generation can be customized by executing a set of model-to-model transformations (on an intermediate model) prior to code generation, as shown here overview. We use this mechanism to implement state-machines. You can define an additional transformation on the model level and associate Java code that does the actual transformation. We will soon add a suitable documentation how to do that. In the meantime, you could check out the plugin org.eclipse.papyrus.designer.transformation.library (get the sources via git SW Designer git). A transformation is currently only executed, if you pass by a deployment plan, in which you can choose a transformation chain and additional transformations. If you want to play first with the mechanism, install the "Transformation" feature of SW Designer.