|
Re: Java Services??? [message #1848104 is a reply to message #1848089] |
Fri, 19 November 2021 22:17  |
|
Hi Hakan,
For the Java services call from the design files, I think my comment on this post [1] still stands :). I would recommand to download the sample "Basic Family" from the tutorial [2] so you can compare with your own projects.
In your Viewpoint Specification Project, you should indeed have a dependency toward the plugin with your metamodel. Then on your Viewpoint Specification Model (.odesign), the root element (Group) has a field "Model File Extension" that should be filled with the extension of your semantic model ("basicfamily" with that example). To be on the safe side, on your RepresentationDescription, you have a tab metamodel where you can load yours from the registry/workspace. This way you can be sure that your Viewpoint Specification Model is really synchronized with your metamodel. With that, your services should be accessible from the auto-completion in "interpreted expression" fields (the ones with a yellow background).
Best regards,
Steve
[1] https://www.eclipse.org/forums/index.php/t/1109308/
[2] https://www.eclipse.org/sirius/getstarted.html
Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.02025 seconds