Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » create Graph, Mapping & Tooling programmatically
create Graph, Mapping & Tooling programmatically [message #158594] Wed, 07 November 2007 05:20 Go to next message
Eclipse UserFriend
Originally posted by: martinschmidt.83.web.de

Hi,
i
Re: create Graph, Mapping & Tooling programmatically [message #158666 is a reply to message #158594] Wed, 07 November 2007 07:55 Go to previous message
Eclipse UserFriend
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??
>
>
Previous Topic:Change an attribute without a transactional command
Next Topic:accessing current model from other plugin
Goto Forum:
  


Current Time: Thu May 15 10:38:24 EDT 2025

Powered by FUDForum. Page generated in 0.03533 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top