It is now possible to set up a “node-private compartment”. So you don’t have to create separate template trees for one specific node (where a template doesn’t make so much sense). Additionally the EMFUtil.Copier is now used for coping the template trees instead of my “re-invented wheel”.
Archive for March, 2008
I’ve created a small demo project to demonstrate the facilities of GenGMF.
Some instructions to follow:
- import the project
- generate the emf stuff from the src-model/demo.genmodel
- right-click on the demo.gengmf-file and select “Generate GMF-Graph and -Map models”
- right-click on the demo.gmfmap-file, select “Create generator model…” and follow the wizard
- right-click on the demo.gmfgen-file and select “Generate diagram code”
- run the newly created diagram plugin in as Eclipse Application.
Now you should be able to create a demo diagram using the new file wizard and draw simple nodes and edges.
The gmfgraph and gmfmap files where created from the gengmf model. In this example the graph and map templates are relative simple to show the basics of the templating facilities.
As of version 1.0.1 support for adding facets to DiagramElements and foreground/background constant/rgb colors to Figures has been added. The model generator stuff has moved to it’s own generator plugin.
This is to announce the version 1.0.0 of GenGMF.
- GMF-Graph and -Map generation using a templating engine
- creation filter for changing the EClass on the fly (e.g. Rectangle to RoundedRectangle)
- post processing for complex structure changes and attribute
Currently only edges with its own EClass are supported. EReference-edges may work too, but they have not been tested at all.
To install the plugins please use the update site.