[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[emf-dev] Convert Model to Metamodel
|
Hi,
to realize my current project in a model driven way I wanna use EMF for
the creation of the different models. In my case I don't have the usual
way of ecore at M3, the metamodel at M2 and the model at M1 level.
I have an additional abstraction layer, so my first model is assigned to
level M3 instead of M2.
An instance of this model can be created (on level M2) and in a further
step this created model acts as a metamodel for the next model (M1).
So I have these steps:
M3 (Instance of Ecore) -> M2 (Instance of M3 Model) -> M1 (Instance of
M2 Model)
Now my problem is that the created model on M2 has to act as a new
metamodel. So I am looking for a way to convert the created model on M2
to a Ecore Metamodel, so that I can create a further instance of it.
Do you have any idea how I could realize this?
Another description of the problem could be: I wanna create a model with
the ecore model designer in eclipse, not with the ecore model in the
backend but with an own model that is based on ecore.
Greetings
Michael