|
| Re: How to difference elements in some diagrams under the same model [message #1765675 is a reply to message #1765612] |
Tue, 13 June 2017 04:58  |
Eclipse User |
|
|
|
Hi,
I do not understand what you mean by "put this elements within the diagram in which the stakeholders were created". I may be wrong, but from what I understand it seems you may need to use Unsynchronized mappings (see the paragraph named "Synchronization" in https://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#graphical_elements), and then control explicity the creation and deletion of the graphical views on your various diagrams (see the "Create View" and "Delete View" operations: https://www.eclipse.org/sirius/doc/specifier/general/Model_Operations.html#representations). By default Sirius will make sure the state of a diagram matches the state of the underlying semantic model. If you create two instances of the same diagram definition on the same semantic element, they will always show the same content (ignoring the layout/styling information). If this is not what you want, you need to use unsynchronized mappings (where Sirius will not automatically create graphical elements for each matching semantic element), and create those yourself by invoking "Create View" operations in your tools.
Regarding Acceleo, I don't think your issues are related to that. Anyway, the documentation is accessible from https://wiki.eclipse.org/Acceleo. Note that we now recommend to use AQL instead of Acceleo (https://www.eclipse.org/sirius/doc/specifier/general/Writing_Queries.html#aql): it is syntactically similar, but much better adapted to Sirius (and much more lightweight and faster in this context). There are no books on either, nor on Sirius itself, but we (Obeo) offer training (see https://www.obeodesigner.com/en/services).
Regards,
Pierre-Charles David
|
|
|
Powered by
FUDForum. Page generated in 0.03153 seconds