Archiv für die Kategorie »Eclipse«

Convert Java snippets to Xtend with Ctrl-Shift-V

Dietmar Stoll

Xtend is a dialect of Java which compiles into Java source code. The Xtend-integration in the Eclipse IDE allows developers to work simultaneously with Java and Xtend. As the syntax of both is similar, converting from Java to Xtend is not too hard, but it usually needs manual adjustments. Using the neat shortcut Ctrl-Shift-V (Ctrl+Shift+V/Cmd-Shift-V/Cmd+Shift+V) to paste Java code into Xtend files substantially reduces the manual editing. It helps to quickly get compilable Xtend code. Here are some [...]

Improved Grammar Inheritance

Sebastian Zarnekow

Since the very first day of Xtext, it was possible to extend another grammar to mixin its rule declarations to reuse or specialize them. For most use cases that was straightforward and a perfect match. For others it was rather cumbersome so far because the original declaration was no longer reachable from the sub-language. Copy and paste was the only solution to that problem. The good news? The situation changes with Xtext 2.9 significantly.
The newly introduced super call allows to override [...]

Tycho 0.24, pom less builds and Eclipse m2e maven integration

Andreas Graf

A very short technical article which might be useful in the next few days. Tycho 0.24 has been released, and one of its most interesting features is the support for POM-less builds. The Tycho 0.24 release notes explain the use … Continue reading →

The Xtext Grammar Learned New Tricks

Sebastian Zarnekow

Since the Xtext 2.9 release is around the corner - and you've for sure read about the upcoming support for IntelliJ IDEA or Xtext editors in the browser -, it's time to unveil some of the new features of the Xtext grammar language itself. In a nutshell the enhancements address a couple of long standing feature requests and non-critical issues that we had. But especially complex grammars sometimes required duplicated or repetitive parts to implement the language syntax. We felt that it was about time [...]

FXDiagram - Diagram Repair

Jan Köhnlein

FXDiagram allows the user to choose which elements appear in a diagram and to arrange them individually. As this usually involves quite a bit of work diagrams can be saved. An obvious challenge is how to deal with model changes that happen after a diagram has been created. So here's a demo of FXDiagram's new feature for diagram repair:

Because in Xtext the EMF model gets partly replaced on model change, element identities usually get lost on change and traditional EMF transaction [...]

Building Eclipse Plugins with Maven Tycho and Travis-CI

Andreas Mülder

A couple of weeks ago, we moved our open source project Yakindu Statechart Tools from google code SVN to GitHub. Until today we packaged and deployed our software using a self hosted Jenkins Server, but since Travis CI integrates seamlessly with GitHub and is free for open [...]

EclipseCon Europe 2015 from an Automotive Perspective

Andreas Graf

As Eclipse is established as a tooling platform in automotive industry, the EclipseCon Europe conference in Ludwigsburg is an invaluable source of information. This year’s EclipseCon is full of interesting talks. Here is a selection from my “automotive tooling / … Continue reading →

Sphinx’ ResourceSetListener, Notification Processing and URI change detection

Andreas Graf

The Sphinx framework adds functionality for model management to the base EMF tooling. Since it was developed within the Artop/AUTOSAR activities, it also includes code to make sure that the name-based references of AUTOSAR models are always correct.  This includes … Continue reading →

AUTOSAR: OCL, Xtend, oAW for validation

Andreas Graf

In a recent post, I had written about Model-to-Model-transformation with Xtend. In addition to M2M-transformation, Xtend and the new Sphinx Check framework are a good pair for model validation. There are other frameworks, such as OCL, which are also candidates. … Continue reading →

DemoCamp Mars in Stuttgart: Great People, Talks, and Food

Niko Stotz

We had a nice DemoCamp in Stuttgart for Eclipse Mars Release train. About 50 people had a great time alongside great food. The full agenda, including links to all slides, can be found in the Eclipse Wiki. The first talk by Matthias Zimmermann showed the Business Application Framework Scout, especially the new features of Mars […]