A Fresh Look At Graphical Editing

Session Type: 
Standard [25 minutes]

Schedule info

Room: 
Silchersaal

Graphical editing frameworks have been in around in the Eclipse ecosystem for years. Still, implementing a nice and usable graphical editor is either considered complex (GMF) or requires writing a lot of code (GEF, Graphiti).

In this session, I want to have a fresh look at the topic: What is the price of graphical editors as opposed to graphical views? Is it necessary to hard wire the mapping from the semantic to the graphical elements in code? How can we speed up the development turnarounds when implementation changes? Then I am going to demonstrate a new generic graphical view framework.

This framework that is configured using two Xtext 2.0 based DSLs: One for defining the mapping and the other for styling the graphical elements. Both languages embed the new expression language Xbase in their cores and interpret it at runtime. The framework allows to visualize all kinds of Java object graphs, can easily be changed at runtime and enables switching and styling of the Draw2D-based figure objects directly.

See also http://koehnlein.blogspot.com/2011/06/using-xbase-to-define-generic-grap...