Is it possible to use GMF on a abstract semantic model ? [message #205851] |
Wed, 17 September 2008 15:34  |
Eclipse User |
|
|
|
Originally posted by: omoises.nospam-nordnet.fr
Hi,
I have 2 metamodels, one contains almost only abstract classes (abstract
metamodel), another one contains classes inheriting from classes of the
first metamodel (concrete metamodel).
The abstract metamodel contains only few classes, but the concrete one
will contain more than 100 classes. I will also have other concrete
metamodels (inheriting from the abstract one).
For that, I would like to create my editor using only the abstract
metamodel (and of course as many factories/adapters I will need ;-) to
create concrete models).
I have written a first GEF based POC and it seems to work, but after
writing somme commands, I realize that I am rewriting several parts of
GMF !!
Then my question is : is it possible to use GMF (and generators) based
on abstract metamodels ?
Thanks in advance,
Olivier Moises
|
|
|
|
|
Re: Is it possible to use GMF on a abstract semantic model ? [message #206025 is a reply to message #206006] |
Thu, 18 September 2008 09:37  |
Eclipse User |
|
|
|
Hello Olivier,
Well, I suggest editing .gmfmap model using some other editors (text), but
you are right - there is a limitation that NodeMaping domain element should
be concrete class right now..
So, let's try using abstract class for NodeMapping first and then find a
solution for editor if the rest of GMf-generated code will work for you.
-----------------
Alex Shatalin
|
|
|
Powered by
FUDForum. Page generated in 0.03824 seconds