Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Different in Acceleo(Different in Acceleo)
Different in Acceleo [message #1785766] Thu, 19 April 2018 12:29 Go to next message
Emilie  Lanau is currently offline Emilie LanauFriend
Messages: 21
Registered: February 2018
Junior Member
Hi, i want to make a condition "if my class in not a Sysml Requirement
then ..." but i don't know how to make diffenrent != or not() or ...
it doesn't work with != or not() ...
[template public generateElement(m : Model)]
[comment @main/]
[for(it:Class| m.eAllContents(Class))]
[if (it = not(Requirement)) ]
.
.
.
Re: Different in Acceleo [message #1785769 is a reply to message #1785766] Thu, 19 April 2018 12:49 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7680
Registered: July 2009
Senior Member
Hi

The Acceleo documentation was written to help users. Use it. The appropriate operation is very clearly listed between = and <=.

This forum is here for experienced users to donate their time to less experienced users who need help. Do not abuse it.

Regards

Ed Willink
Previous Topic:Getting instance from the slot.value using Acceleo Code
Next Topic:generate arduino code from UML/MARTE models using Acceleo
Goto Forum:
  


Current Time: Fri Dec 13 09:22:00 GMT 2024

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

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

Back to the top