Visualisation of a Groovy-DSL with Eclipse GMF
EclipseMagazin 01.09 with Christian Bäurle, beyondsoft
Article as PDF (in german language)
In this article we show you how to bring together Groovy and the Eclipse GMF. The base is a simple DSL, written in the Groovy language. A DSL usually is text based. So it is difficult for non-technical users to understand what the DSL is for. To avoid this we have develop a EMF-Metamodel. With a simple transformation the Groovy-DSL is transformed to an EMF-Model. This is the base of the GMF-Editor.
This article is written in the german language. If you can read this here is the original abstract:
Ein Bild sagt mehr als 1000 Worte – Visualisierung von einer Groovy-DSL mit Eclipse GMF
Domänen-spezifische Sprachen (DSL) sind ein probates Mittel,¬† um komplexe Sachverhalte mit einer optimierten Sprache auszudrücken. Textuelle Notation leiden allerdings häufig an √úbersichtlichkeit, das menschliche Auge kann grafische Präsentationen besser erfassen. Deshalb sind Diagramme besser dafür geeignet. In diesem Artikel skizzieren wir die Erstellung einer Groovy-DSL mit Groovy und den zugehörigen Editor mit dem Eclipse Graphical Modelling Framework (GMF). Abgerundet wirddieser Artikel mit einem lauffähigen Beispiel.
