|
|
|
Re: The 'table creation tool' is not stable [message #1819344 is a reply to message #1819320] |
Mon, 13 January 2020 14:30 |
|
Hello,
I am not familliar with xtend and I do not know how it behave if called from a service. I would advise you to have your service in java and have your whole service in it instead of having one part in the service and one part in the precondition. From the look of it, you are trying to have a precondition checking that there are no table of the description "H234597_00153" associated to your semantic element. If that's it, then you can use the "container" variable to have the semantic element and find the representations based on it usign the API : DialectManager.INSTANCE.getRepresentations(semanticRoot, session). From this list of DRepresentation, you filter the DTable and finally use the getDescription method to check if it not the "H234597_00153" TableDescription.
Best regards,
Steve
Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03489 seconds