It is getting very weird:
I have a subtype of MooseModel for which it works:
ModelSub1 new
add: (Parameter new
name: 'toto' ;
mode: 'inMode' ;
yourself
) ;
asMSEString
--->
((Parameter (id: 1)
(name 'toto')
(mode 'inMode')))
and yet another subtype (in the same image) of this one for which
it does not work:
ModelSub2 new
add: (Parameter new
name: 'toto' ;
mode: 'inMode' ;
yourself
) ;
asMSEString
--->
((Parameter (id: 1)
(name 'toto')))
There is nothing to me in the methods added by ModelSub2 that
would justify changing the behavior of MSE exporting.
I am currently tracing in // the 2 instructions above.
And I do see that the meta description does not include the 'mode'
property for the ModelSub2
but why ???
nicolas
On 08/09/2014 16:41, Tudor Girba
wrote:
Hi,
I cannot reproduce the problem.
Here is what I did:
FAMIXClass
compile:
'mode
<MSEProperty: #mode type: #String>
^ mode';
compile:
'mode: aString
mode := aString'.
MooseModel resetMeta.
cls := FAMIXClass new mode: 'test'.
model := MooseModel new.
model add: cls.
model asMSEString
==>
(
(FAMIX.Class
(id: 1)
(mode
'test')))
Cheers,
Doru
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev