Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "ATL/Howtos"

< ATL
m
m (added reference to ATL page)
Line 1: Line 1:
This page contains a list of problems with hints towards solutions and links to examples.
+
This page contains a list of problems related to [[ATL]] usage.
 +
It gives hints towards solutions and links to examples.
  
 
__TOC__
 
__TOC__

Revision as of 08:54, 27 June 2006

This page contains a list of problems related to ATL usage. It gives hints towards solutions and links to examples.

How do I generate text from models?

There are several possibilies. The solution we detail here uses ATL.

You can specify a query over your model in ATL. An example of this is available in the UML2Java transformation.

The atlanticRaster zoo is also using this technique. It first transforms KM3 metamodels into DOT models with the KM32DOT.atl transformation. It then uses DOT2Text.atl to query a String, which corresponds to the generated DOT code, from the DOT model . Then, the build.xml ant scripts makes use of the am3.saveModel task with an ATL extractor pointing to the DOT2Text.atl transformation.

Back to the top