|
|
Re: auto generate java getters and setters [message #1774481 is a reply to message #1774384] |
Mon, 16 October 2017 08:53 |
|
Dear Fabien,
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.
Ansgar
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05111 seconds