|Re: Generic way of adding decorations to Sirius diagrams [message #1773180 is a reply to message #1773169]
||Fri, 22 September 2017 20:31
| Robert Doczi
Registered: August 2016
I know about that mechanism, but I am not sure it helps, as my problem is with the diagram extension mechanism rather than the decorator mechanism.
I probably did not explain my issue in enough detail, so let me elaborate. I am currently working on a project that uses an EMF model (change model) to describe changes in another arbitrary EMF model (target model). I would like to be able to add a decorator to the Sirius editor of the target model to mark changed elements. In my main use case, the set of viewpoints defined for the target model is known, but there are several dozen of them. Is there any way to provide a diagram extension to all of them and avoid specifying it for each individual viewpoint, essentially duplicating it? An even better solution would be if I could specify my extension to work with any viewpoint, as this would allow the tool to work with arbitrary Sirius editor. Is that possible?
Powered by FUDForum
. Page generated in 0.02421 seconds