1

I am designing an editor for a DSL using Sirius , I would like to know how to call java methods from the odesign and store the content returned by the Java methods.

Dominique
  • 16,450
  • 15
  • 56
  • 112
sali333
  • 125
  • 4
  • 15

1 Answers1

0

What you want to do is create a Java service, add its fully-qualified name to the odesign and then call it. Here is the documentation to do this.

user1292456
  • 778
  • 4
  • 12
  • No , I am talking about how can I use the External Java Action. – sali333 Feb 11 '19 at 08:36
  • In that case, look up the documentation [here](https://www.eclipse.org/sirius/doc/specifier/general/Model_Operations.html#external_java_action), but services are usually enough for most needs. – user1292456 Feb 11 '19 at 12:21