Hi,
I am still working on an Ecore Importer in Moose and I need some advices for a particular point.
Here is the context: First, I managed to generate code from a meta-model conformed to Ecore. Then I managed to import into Moose instances of this meta-model in generating allmethods in MooseModel.
For the moment, there is no visualisation for the instances imported. That's why I think it could be great if I generated generic visualisations with my code generator.
I had a look on FAMIX entities to see how some visualisations are implemented, but it's still difficult for me to know how I could generate generic visualisations.
What do you think about it?
thank you for your help
sara
Hi Sara,
Your meta-model of chicken and eggs sounds really nice :). Did you also manage to have relationships between entities?
Currently, we synchronize the meta-descriptions only manually. But, indeed it would be nice if we could recompute the meta-descriptions at compile time or unload time. This is part of the future work, and until then .
I saw that you used System reinitializeDefaultSystem. However, at the moment in the case of Moose you need to call AbstractEntity initializeAllMofDescriptions, or just used from the VW main menu: Tools/Moose Utilities/Reinitialize meta descriptions. This deals with some specific meta-annotations related to Moose.
Cheers, Doru