|
Re: Invoking java services on a double click action [message #1861439 is a reply to message #1861316] |
Thu, 12 October 2023 13:09 |
|
Hi.
It looks like a syntax error in the expression ("service.myService").
It should be either "service:myService" or "aql:self.myService()"
"aql:" uses the plain AQL interpreter, which is the prefered approach. It's more flexible/powerful and reasonably fast (small overhead) for such simple cases.
"service:" delegates to a special purpose interpreter which is very fast but also very limited and can only invoke Java services (no complex expressions). It should only be used on expressions which are invoked a lot (e.g. label expressions invoked for many nodes on every refresh) and then only if you see performance issues when using AQL (very rare in practice).
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.03647 seconds