Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [JET2] c:addElement and EList / Array
[JET2] c:addElement and EList / Array [message #57599] Wed, 25 February 2009 09:29
Youmm P. is currently offline Youmm P.
Messages: 140
Registered: July 2009
Senior Member
Hello,

Is it possible to add an EList or an Array to a node? For instance with
the c:addElement tag?

Here is my scenario:

I have Eclasses like this:

public class A {
EList<A> imports;
}

public class B {
A a;
}

I need to make some complex calculations on the a field (with the
imports list) for each instance of B and put the result on the
instance's node.

Any ideas?
Previous Topic:Special characters in the input model (jet with exemplars)
Next Topic:JET1 directive syntax
Goto Forum:
  


Current Time: Wed Jul 30 09:15:33 EDT 2014

Powered by FUDForum. Page generated in 0.03589 seconds