So still in the same image, and for the same metamodel (AFAIK)
ModelSub1 metaTower
gives an object where 'metamodel' is a dictionnary with the
'mode' FM3Property in
ModelSub2 metaTower
gives an object where 'metamodel' is a dictionnary without the
'mode' FM3Property
?!?!?!
any suggestion?
nicolas
On 08/09/2014 18:19, Nicolas Anquetil
wrote:
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
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev