|Re: Papyrus curious ATL behavior [message #850633 is a reply to message #850290]
||Fri, 20 April 2012 07:31
| Camille Letavernier
Registered: February 2011
I do not see the new getter/setter appear in the diagram, however, the model
explorer shows that the get/set have been created in the class.
I guess the ATL transformation only works on the *.uml models (Semantic contents), which is not fully synchronized with the diagram (*.notation models). In Papyrus, all elements don't need to be represented graphically, so they are not automatically displayed in diagrams when they are created in the semantic model.
Q3 - How can I configure eclipse to automatically display all elements in a diagram ?
Currently, it is not possible in Papyrus. You could enrich the ATL transformation so that it can work on both the uml model and the notation one. This is not an easy solution, though.
Going through basic examples, I copy/paste ATL public2private.atl to
my basic model. Running it, does not seems to work, but when I
restart eclipse, the modification seems to proceeded (for the public => private).
You should probably refresh your workspace after running an ATL transformation. This is not always done automatically.
For your other questions, they are related to ATL much more than Papyrus, so you may try the Model-to-Model transformations forum.
Powered by FUDForum
. Page generated in 0.29749 seconds