For my spare time JavaFX project, I was looking for a way to export a scene to SVG. Googling a bit I stumbled over a blog entry by Gerrit Grunwald who implemented an JavaFX shape to SVG path converter class for the JFXtras project. It looked good so I decided to give it a try. Java to XtendThe class is of course written in Java. Even though there is no technical reason - Java and Xtend classes can coexist in the same project without any problems - I wanted to convert it to Xtend as well. I [...]
itemis world | repository
If you have a DSL that describes structure (e.g. like an Entity DSL) you often need to “walk” on this structure using dot/path-expressions. Let us asume we have a grammar like and a model like and want to have expressions like but how to do this with Xtext? there are several possibility but the following […]
I have often workspaces with projects which specify Java 1.5 as minimal execution environment. On my machine there is no JDK 1.5 installed, and it turns out that getting one for Mac OSX Mountain Lion is not trivial. Actually I don’t need a JDK 1.5, since the standard 1.6 JDK is compatible. However, this raises […]
Interview mit Jens Wagener, itemis AG “Gerade Start-ups leben von der Qualität und Einsatzbereitschaft ihrer Mitarbeiter” Zur Person: Jens Wagener, Jahrgang 1969, ist Vorstand der itemis AG. Im Jahr 2003 gründete er gemeinsam mit seinem Partner Wolfgang Neuhaus das IT-Beratungs- und Dienstleistungsunternehmen, das inzwischen acht bundesweite Niederlassungen sowie internationale Zweigstellen in der Schweiz, Frankreich und [...]
The new release 2.1 of the YAKINDU Statechart Tools is available! It includes a lot of maintenance stuff like new bug fixes polishing a various places but also some great new features that makes working with the statechart tools event more efficient. The main points are: Subdiagrams – states now can be refined using subdiagrams. [...]
Eike and I (well, mostly Eike because I'm faul) have organized this year's Eclipse Modeling Day at the JAX conference in Mainz. We hope to see you in Gutenbergsaal 2 on Friday, March 26th, at 9:00AM sharp. Eike will perform feats of magic to entertain you.We think you'll really enjoy the mix of technology talks from Eclipse project leads and experienced industrial users.
The @Data annotation shipped with Xtend is a nice demonstration of the concept of active annotations. It generates a constructor, getters for all fields as well as equals(), hashCode() and toString() methods. Although it says that it turns your class into an "immutable value object", this is not really true. For instance, the generated class is not final and thus can have mutable subclasses. Also, it renames fields so that reflection bases frameworks will not find the corresponding field for a given [...]