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 […]
itemis world | repository
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 [...]
This idea for an active annotation came from Oliver Libutzki. He told me that often timeshe has only one sensible implementation for a piece of code, but wants to hide it behind an interface for easier testing the default implementation is so widely used that its API defines the interface while other implementations should follow thatI think these are use cases that we all have encountered. This can be done manually by using the "extract interface" refactoring in eclipse and then adding the [...]