Archive for March, 2008

New Version 1.0.3

Saturday, March 29th, 2008

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”.

New Version 1.0.2

Tuesday, March 25th, 2008

With this version

  • error messages occurring in the generation process are shown,
  • the metamodel has changed a bit and therefore the demo-project has changed too,
  • the demo-project shows some capabilities of a post processing filter and
  • the update-site contains the AspectJ runtime libraries now.

Demo Project

Thursday, March 20th, 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.

Version 1.0.1

Thursday, March 20th, 2008

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.

Initial Announcement

Tuesday, March 18th, 2008

This is to announce the version 1.0.0 of GenGMF.

Features:

  • 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.