Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Call java utilities routines from AQL
Call java utilities routines from AQL [message #1785460] Sat, 14 April 2018 06:21 Go to next message
Yann Andenmatten is currently offline Yann AndenmattenFriend
Messages: 13
Registered: April 2018
Junior Member
Hi,

The AQL Documentation states:
Quote:
AQL can also call methods modeled as EOperations or defined through Java services.


Is it possible to call let's say StringUtils from Apache Common Lang? Or my own helper as a static method?

Yann
Re: Call java utilities routines from AQL [message #1785609 is a reply to message #1785460] Tue, 17 April 2018 13:05 Go to previous message
Pierre Guilet is currently offline Pierre GuiletFriend
Messages: 161
Registered: June 2017
Senior Member
Hi,
In AQL you cannot use the static calling way like StringUtils.myMethod(myParameter) but still you can call the static methods with the standard AQL way that would be myParameter.myMethod().
The constraint is to have the plugin containing StringUtils as a dependency of your VSM plugin. And to have the service StringUtils defined in the VSM

Regards,



Pierre Guilet - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius

[Updated on: Tue, 17 April 2018 13:05]

Report message to a moderator

Previous Topic:Label alignment in container in properties view
Next Topic:Programmatically changing sirius default font on Macs
Goto Forum:
  


Current Time: Sat Sep 22 16:33:12 GMT 2018

Powered by FUDForum. Page generated in 0.01382 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top