|
Re: create Graph, Mapping & Tooling programmatically [message #158666 is a reply to message #158594] |
Wed, 07 November 2007 07:55  |
Eclipse User |
|
|
|
Take a look at the TaiPan example.
It uses sketch models instead of graph/tool/map.
One direct transformation (sketch --> gmfgen) combined with custom
figures is a straight forward approach. I like it because you have only
a small amount of maintenance points.
Greetings,
Axel
Martin Schmidt schrieb:
> Hi,
> iŽve got a not so easy task. I want to create my whole GMF Editor
> programmatically from an existing (and changing) metamodel (reinforced with
> some graphical informations), given in an own XML structure. The fist step
> is already done: iŽm able to create a GMF project and create the ecore-file.
> I think it should be possible to initiate the generators for genmodel, model
> code, edit code and so on.
> The creating of the ecore was not so hard. I used the EcoreFactory to
> implement it. Now i want to do the same for the gmfgrap, tooling and
> mapping. Does anybody has an idea, if such factories also exits for the
> other mentioned file types?
> My ideas is, to create graph and tooling from existing xml snippets, which i
> want to adjust in some points (using my addiotional informations given in my
> reinforced metamodel) and create the mapping completely manuall (if nothing
> comperable like EcoreFactory exists).
> Any ideas for better approaches??
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03533 seconds