Archiv für die Kategorie »Eclipse«

Multi-touch Gestures For JavaFX Apps Running in SWT

Jan Köhnlein

I am currently preparing a demo for my talk at EclipseCon Europe 2013. Embedding my JavaFX based graphical editor into Eclipse went smoothly thanks to the FXCanvas that bridges SWT and JavaFX. But I realized that multi-touch gestures did no longer work.I filed a bug for that, but I could not resist trying to find out what's wrong myself. You may not know that the sources of JavaFX are open now. So after cloning their mercurial repo and browsing a couple of classes I found out that SWT's GestureEvents [...]

Generating AUTOSAR basic software with Xpand and Artop

Andreas Graf

AUTOSAR basic software can be configured by a lot of different parameters. Both for AUTOSAR standard modules and vendor specific basic software modules, the parameters that can be configured are defined in parameter definitions and the actual values are configured … Weiterlesen →

Obi-Wan at the Edge

Jan Köhnlein

There are two hard problems in computer science: cache validation, variable substitution, and off-by-one errors.      (unknown source)The uncounted latter is often referred to as OBOE or, with a geek sense of humor, "Obi-Wan error".Obi-Wan In Eclipse Diagram EditorsIn an older post, I already mentioned one major weakness of GEF (3.x): All coordinates are integers. One problem with that is that it can easily result in off-by-one rendering bugs. That unfortunately holds for [...]

A common component model for communication matrixes and architecture metrics for EAST-ADL, AUTOSAR and others.

Andreas Graf

In the engineering process, it is often of interest to see communication matrixes or metrics for your architecture. Depending on the meta-model (EAST-ADL, AUTOSAR, SysML)  and the tool, that kind of information might or might not be available. In the … Weiterlesen →

AUTOSAR splittables and Artop

Andreas Graf

AUTOSAR splittables are a powerful modelling mechanism. In short, they allow you to split the contents of packages and other model elements over more than one .arxml (you can find more in my old post on this topic). However, it … Weiterlesen →

Authorization / Authentification with EMF and Graphiti for Automotive models

Andreas Graf

The Eclipse frameworks provides a lot of projects that make the design and implementation of modeling tools very efficient. For many products, the models have to be secured against unauthorized access or modification. This is not often seen in standard … Weiterlesen →

Eclipse Demo Camp Kepler Stuttgart Retrospective

Niko Stotz

We had a great DemoCamp in Stuttgart. About sixty people crowded the room and welcomed every beverage the hotel could come up with. Please refer to the Eclipse Wiki for abstracts, slides and additional links for all demos. Andreas Sewe demonstrated Code Recommenders, including their newest feature called Hippie Code Completion. He explained the various […]

Using Xcore in Xtext

Jan Köhnlein

With Xtext you can easily create your own textual language. The structure of the language is defined in an Ecore model. This model can be automatically derived from the grammar, which allows quick turnarounds in the beginning. But in the long run, this model becomes an increasingly important API to the language. You want to fix it and make it a first class artifact: You are switching from an inferred Ecore model to an imported one in the grammar.Traditionally, you use EMF's tree editors to edit Ecore [...]

Another Xtend and JavaFX Story

Jan Köhnlein

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 [...]

Remove “Build path specifies execution environment…” warnings from Problems View

kthoms

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 […]