itemis world | repository
Xtext offers nice Support for Unit Tests. But how to test a Xtend based Generator? This blogpost describes a simple approach for such a Test. So let us take Xtext’s Hello World grammar as Starting point And following simple Generator And here the Test But how does that work? Xtext offers a specific org.junit.runner.Runner. For [...]
08. Mai 2012, 19:11 Uhr | Christian Dietrich
Kategorien: Xtext
In his book on domain-specific languages, Martin Fowler introduces a small example along which he shows different techniques to implement a domain-specific language. The example goes like this:Imagine you work for a company specialized on developing and installing systems for secret compartments and you have many customers with very different mechanisms. Mrs. H for instance wants to have a secret panel in her bedroom, which can only be opened after the door has been closed, the second drawer in her [...]
07. Mai 2012, 08:01 Uhr | Sven Efftinge
Kategorien: java, eclipse, DSL, domain-specific languages, xtext
We published a new preview (called M14) of the upcoming Statechart Tools (SCT) 2.0 today! In this release, we implemented the following major features: integrated user guide in code completion hover example wizard for the java traffic light example enhanced sgen editing captabilities support for string literals entry and exit actions for statecharts and of [...]
03. Mai 2012, 19:01 Uhr | Andreas Muelder
Kategorien: Statechart Tools, sct, statechart, YAKINDU
If you implemented your own language using Xtext and even documented all of its features in the eclipse user help you might want to show part of these information in your Xtext Hovers, too. This is more convenient to the users, since they don't have to search the whole user guide for the piece of information they are interesed in. Note: This is not a post about how to implement Xtext hovers, Christian Dietrich wrote an excellent blog post on this topic called hover support in xtext 2.0.The [...]
27. April 2012, 15:40 Uhr | Andreas Mülder
This post is about possibilities for linking your Xtext editor with the eclipse help, not about how to create that help.
27. April 2012, 13:05 Uhr | Alexander Nittka
Kategorien: eclipse, Xtext
The team has been busy adding useful new features to Xtend (and all other languages built on top of Xtext's JVM-support). The upcoming M7 build (May 9) will come with the following enhancements: "With"-OperatorA new operator '=>' has been added to the language and a corresponding extension method for java.lang.Object on the left hand side and a lambda expression on the right hand side. The with operator allows you to write:new JTextField => [ text = 'My Text']Think of it as a let-expression, [...]
27. April 2012, 09:44 Uhr | Sven Efftinge
Kategorien: eclipse, xtend, xbase, language design
I have just released the new version 0.9.4 of the xtext-utils unittesting framework. The release became necessary due to a too restrictive version constraint for Google Guice, which made the framework incompatible with the upcoming Xtext 2.3.0 release. This little framework is a useful addition to Xtext which makes writing DSL tests quite easy. In [...]
26. April 2012, 15:20 Uhr | kthoms
Kategorien: Xtext, xtext-utils
Git is a great tool. The Windows implementation msysgit makes me unhappy: It is extremely slow on my machine, and if you search on the web, this is not an uncommon problem. Usually I use egit directly from Eclipse, however … Continue reading →
19. April 2012, 06:36 Uhr | Andreas Graf
Kategorien: PMT-Processes,Methods,Tools
Die Abkürzung HMI steht für Human Machine Interface oder auf Deutsch Mensch Maschine Schnittstelle. Ein HMI verbindet Begriffe wie Ergonomie, Usability und Design. Die Schnittstelle, das “I” in HMI, steht für alle technischen Merkmale des Gerätes, die ein Benutzer benutzen kann bzw. mit denen er interagieren muss: Pedale, Griffe, Mikrophone, Bildschirme, Kameras etc. Alle diese Dinge sind Benutzerschnittstellen und fallen [...]
17. April 2012, 07:46 Uhr | jfwagener
Kategorien: Uncategorized
In my previous post I showed how to use the maven-xtend-plugin to compile Xtend sources within a Maven build. This worked fine in simple cases, but there was a limitation of only one supported source directory (the one configured by build/sourceDirectory property), see Bug#367914. Unfortunately already each Xtext project has already 2 source folders (src [...]
17. April 2012, 05:52 Uhr | kthoms
Kategorien: Maven, Spray, Xtext, Eclipse Juno, Xtend, xtend-maven-plugin