EMF: Object is not contained in a resource

I had a small problem saving my EMF model to XML. I got the error message “The object … is not contained in a resource”. The solution is simple. In the EMF editor just set containment to true for the reference: Done! After that, the object was saved correctly in the XML file.

weiterlesen »

setAccelerator(SWT.CTRL | ‚O‘); //not working!

In my current RCP application I had a problem that the menu key shortcuts did not work correctly: When I started the application and pressed the shortcut, nothing happened. After I opened the menu once, suddenly everything worked! I created the menu item in the “ApplicationActionBarAdvisor”: actionOpen.setAccelerator(SWT.CTRL | ‚O‘); So what is the problem? It …

weiterlesen »

Neutrinos–Geheimschrift des Kosmos

Gestern habe ich einen interessanten Vortrag zum Thema Neutrinos auf Youtube gefunden. Geht eine knappe Stunde. Besonders interessant: die Anwendungsmöglichkeiten im Bereich der Astrophysik um z.B. Vorgänge im inneren der Sonne oder in weit entfernten kosmischen Objekten zu beobachten. Hier ist Teil 1: Teil 2 und Teil 3:

weiterlesen »

org.eclipse.swt.SWTError: No more handles

In our current project we came across the following error, when we opened multiple of our editors in a RCP application: Never seen this one before. Most sources in the internet mentioned something about “not disposing SWT resources”. However this happened when we opened the editor. So a “not disposed” problem was very unlikely. Strange …

weiterlesen »

Galaxy on Fire 2 für das iPad

Schon beeindruckend, was so für Spiele für das iPad möglich sind. Eins davon ist Galaxy on Fire 2 (http://www.galaxyonfire.com/). Solche 3D Grafik war vor wenigen Jahren noch PCs mit 3D Grafikkarte vorbehalten. Die Story, das Übliche. Man wird durch einen Fehler im Raumschiff in die Zukunft katapultiert, zu allem Überfluss auch in ein unbekanntes Sonnensystem. …

weiterlesen »

Color Themes for Eclipse

When it comes to programming I like dark backgrounds in the editor. Setting the colors in Eclipse is a lot of work and the settings only apply for a certain workspace. If you create another workspace, all is set to default colors. But there is a simple solution: Eclipse color theme After installing the plugin …

weiterlesen »