Author Archives: Lorenzo Bettini

The JvmModelInferrer, the debugger and Xbase in Xtext 2.3

In previous posts, I had blogged about some experiments done with Xtext 2 wonderful mechanisms to access Java types and to reuse Xbase expressions; however, when generating code, I was using the “manual way”. That is to say, I was … Continue reading

Posted in Articoli, Tutorials Xtext, Xbase | Tagged , | 5 Comments

Xtext 2.1: using Xbase variables

On a previous post, I started to blog about how Xtext 2.1 made it extremely easy to have a powerful integration with Java thanks to Xbase, a new expression language library which allows to integrate (Java-like) expressions in your DSL. … Continue reading

Posted in Articoli, Tutorials Xtext, Xbase | Tagged , | 14 Comments

Xtext 2.1: using Xbase expressions

On a previous post, I started to blog about how Xtext 2.1 made it extremely easy to have a powerful integration with Java in your DSL. In this post I’d like to continue to experiment with this mechanism, and in … Continue reading

Posted in Articoli, Tutorials Xtext, Xbase | Tagged , | 7 Comments

Using JVM Types in Xtext 2.1 and the ImportManager

Xtext 2.1 made it even easier to access Java types from your DSL; you can find some paragraphs in the documentation. In particular, the new features of Xbase seem to make this integration even more powerful! This paragraph in the … Continue reading

Posted in Articoli, Tutorials Xtext, Xbase | Tagged , | 2 Comments

Testing the Eclipse StatusLineManager

As a unit testing addict, I’ve recently started to use the wonderful SWTBot framwork, for testing the interface part of Eclipse plugins and applications. When it came to test the text of the StatusLine (e.g., after selecting something on a … Continue reading

Posted in Altri Tutorials, Articoli | Tagged , | Leave a comment