Archiv für die Kategorie »Eclipse«
During development of Eclipse based-applications, I prefer that the project has as many stand-alone tests as possible. Since they are faster to execute than running plugin tests they are invoked more often and cost less turn-around. For the large an … Weiterlesen →
28. Januar 2013, 16:26 Uhr | Andreas Graf
Kategorien: Eclipse, PMT-Processes,Methods,Tools
At itemis, we are currently participating in a public funded research project (IMES) that deals with the software development tool chain for automotive software, especially in early phases. We do have two main focus points in the project: An integrated … Weiterlesen →
28. Januar 2013, 16:06 Uhr | Andreas Graf
Kategorien: Automotive, AUTOSAR, EAST-ADL, Eclipse, IMES, MDSD, PMT-Processes,Methods,Tools, Xtext
Functional networks are an important artefact in early system design. They specifiy system behavior without any decision about the realization (HW/SW) of the specific function. Logic Functions are often prototyped with behavior models, like data flow diagrams. In the IMES … Weiterlesen →
21. Januar 2013, 16:27 Uhr | Andreas Graf
Kategorien: Allgemeines, EAST-ADL, Eclipse, IMES, MDSD, PMT-Processes,Methods,Tools
Changing final fields? Really? Which may sound crazy at a first glance may be helpful in order to implement mocks or fix-up libraries that don't expose the state that you really wanted them to expose. And after all there is not always a fork me button available. But really: Final fields? Yes, indeed. You shall never forget: There is no spoon.Let's consider the following data class Person that we want to hack.Once a person was instantiated, it is not possible to change the value of the field name, [...]
21. Januar 2013, 06:30 Uhr | Sebastian Zarnekow
Kategorien: Java, Eclipse
In our project we do generate graphical editors for Graphiti based on DSL-models specifiying these editors. That works all fine when generating the source code (.java and .xtend). However, for Graphiti and the editor to work, there also have to … Weiterlesen →
11. Januar 2013, 08:45 Uhr | Andreas Graf
Kategorien: Allgemeines, DSL, Eclipse, MDSD, PMT-Processes,Methods,Tools, Xtext
The Sphinx project is one of the most interesting new projects on eclipse.org and provides important infrastructure for modeling projects. However, it might not be immediately visible from the project description what it does. Here is an example on how … Weiterlesen →
09. Januar 2013, 09:49 Uhr | Andreas Graf
Kategorien: Allgemeines, Automotive, AUTOSAR, Eclipse, MDSD, PMT-Processes,Methods,Tools
When working with AUTOSAR specifications, it is easy to see from the models on a high level which software components are communicating with each other. However, it is often interesting to see how that maps to the communication between ECUs. … Weiterlesen →
07. Januar 2013, 13:09 Uhr | Andreas Graf
Kategorien: Allgemeines, Automotive, AUTOSAR, Eclipse, MDSD, PMT-Processes,Methods,Tools
I was a bit vague in my last post on JavaFX's transformation API, so I decided to write a separate post on this topic.In JavaFX, each node in the scenegraph can be translated, rotated, scaled or sheared relative to its parent. In mathematical terms, each node maintains a transformation describing its own local coordinate system. This transformation can be defined with a matrix represented as a Transform object in JavaFX.The JavaFX API offers some convenience methods to manipulate this transformation. [...]
06. Januar 2013, 22:41 Uhr | Jan Köhnlein
Kategorien: Diagram, Java, Xtend, JavaFX, Graphics, Eclipse
Inspired by a talk by Gerrit Grunwald and the work of Tom Schindl I started to dig a bit deeper into JavaFX. Being one of the committers of the Xtend language, it was a matter of honour to use Xtend in my experiments. The result: JavaFX and Xtend seem to be made for each other.If you know me a bit, you won't be surprised that I tried implementing a simple graph editor first. I will blog on that particular application in a separate post. Even though JavaFX is not primarily a graphical editing framework, [...]
01. Januar 2013, 22:51 Uhr | Jan Köhnlein
Kategorien: Java, Xtend, JavaFX, Eclipse
Recently I stumbled across a post about checked exceptions in Sam Beran's Java 8 blog. What he basically described is a means to reduce the burden when dealing with legacy APIs that abused used Java's checked exceptions. His example is build around the construction of a java.net.URI which may throw an URISyntaxException.Actually the URI class is not too bad, since it already provides a static factory URI#create(String) that wraps the checked URISyntaxException in an IllegalArgumentException, but [...]
13. Dezember 2012, 21:04 Uhr | Sebastian Zarnekow
Kategorien: Java, Xtend, Eclipse