jeudi 26 février 2009

A simple ATL/Prefuse Use Case

I recently discovered prefuse (better late than never) and the various examples made me imagine an ATL use case: creating several points of view from a given UML2 model. Let's see what it consists on, using for example a model standing for the ATL Virtual Machine structure.

So, a pop-up dynamically launch a set of ATL transformation on a model:

The Tree View shows a containment tree of classes and packages:

The Graph View shows an association sub-net (with a lot of parameters... useless in our case but quite fun):

Those views are quite simplistic - I didn't change original prefuse demos - but could be extended to display more data from the input model.

This example, and other advanced model transformation techniques will be explained in the EclipseCon 2009 ATL tutorial.