|
Re: Java services [message #1816713 is a reply to message #1816701] |
Tue, 05 November 2019 12:41 |
|
Hi Rakesh,
Could you precise in which interpreted expression do you use this service ?
Note that semanticCandidates, preconditions and others expression on the mappings are evaluated on all refreshes of the diagram.
Regarding how you want to manipulate your data, you might choose to disable the automatic refresh and refresh at opening and then let users manually refresh the diagrams.
You could also check if you need to call this service on each refresh (when your data is supposed to change, need this computation ? ) and put this service as a specific step of the diagram creation tools .
You might also nee to take a look to the different synchronization modes of the mappings described in https://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#graphical_elements
You might also choose to call your service in the model operation that you can add a direct children of the DiagramDescription and which be called only once at creation time.
Regards
Maxime Porhel - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.02553 seconds