eclipse-sirius / sirius-desktop

Sirius Desktop: desktop-based graphical modelers for dedicated DSLs
https://eclipse.dev/sirius/
Eclipse Public License 2.0
14 stars 11 forks source link

FamilyServices.java #148

Open peppa-xyz opened 10 months ago

peppa-xyz commented 10 months ago

Hello, I am watching the BasicFamily property view tutorial. I found that java service is used in this tutorial. I want to know how to call java service in the property view editor.

image

lfasani commented 10 months ago

Hello

A public method createSonshould exists in the java class that provides the service. You can also use aql instead of service interpreter.

Here is the doc: https://eclipse.dev/sirius/doc/specifier/general/Writing_Queries.html#service_methods