joergreichert / spray

Automatically exported from code.google.com/p/spray
1 stars 2 forks source link

This project has been imported from Google Code

Spray logo

A quick way of creating Graphiti

Introduction

The Graphiti framework is a new approach to create highly sophisticated visual editors on top of the GEF framework. Graphiti can easily be integrated with EMF as the domain modeling framework. The creation of visual editors is done in Java, programming against the Graphiti framework API. It is fairly simple, but yet repetitive, which makes it a candidate to be supported by the means of model-driven development.

Spray aims to provide Domain Specific Languages (DSL) (implemented with Xtext) to describe Visual DSL Editors against the Graphiti runtime, and provide code generation (implemented with Xtend) to create the boilerplate code for realizing the implementation against the Graphiti framework. Potentially the Spray DSL can be used to generate code for other graphical editor frameworks as well, although it is not the primary focus of the project now.

The generated code is structured in such a way that one can always extend/overwrite the generated code with handwritten Java to add advanced Graphiti features that are not supported directly by the Spray DSL. Therefore Spray makes use of the "Generation Gap Pattern".

With the help of the tools created with Spray, Graphiti based diagram editors can be created much faster and reliable than doing it purely by hand.

Releases

Spray 0.5.0 (June 2013)

Find more documentation here.

Note that another open project is also called Spray. Follow the link to get to the https://github.com/spray/spray/wiki'>Spray lightweigt Scala framework for RESTful web services.