Hi Cyrille,
The MSE Import Wizard is a good step forward, but it has a problem:
The entity types are hardcoded. This is a big problem because we
should be able to load any entity.
It would be better if that list would be gathered from the types from
MooseModel meta.
ImportingContext should not be hardcoded either, but it should be
computed from the same repository by traversing the properties.
For example, in FAMIXMethod>>parentType says that FAMIXClass is
required for FAMIXMethod. In the same time, FAMIXMethod is not
required for a FAMIXClass because the property FAMIXClass>>methods
isDerived. Basically in this way, we should be able to create the
graph dynamically and thus we can use the mechanisms for any meta-model.
What do you think?
In the meantime I restored the previous implementation as a temporary
solution, because now we have PrimitiveType that should also be
loadable.
Cheers,
Doru
--
www.tudorgirba.com
"From an abstract enough point of view, any two things are similar."