Fixing the Mint-X theme for Eclipse/SWT
If you are running Mint, Eclipse and you like the Mint-X theme, you might be a bit frustrated every time you open up Eclipse. Especially with Eclipse 4.2 the design of the toolbars is pretty messed up. See the launchpad bug entry: https://bugs.launchpad.net/linuxmint/+bug/1168281
Issues with Eclipse Acceleo and sub-packages in the meta model
Today I stumbled over an issue that was unsolved in my workspace for some days now. Finally I got the time to fix it. I have a ECore meta-model which consists of three sub-packages and has no class in the main package. Generating model, edit and editor for this I had a nice start for my task. Then I wanted to generate code from this meta model and ran into a strange problem. On the console I simply got the following message when I tried to launch the Acceleo UI generator action:
The type of the first parameter of the main template named 'generateElement' is a proxy.
Build your own SIP trunk with Asterisk and mISDN
The mission: “save some bucks by using a free PBX using a cheap isdn card”. Don’t try! Buy something working in the first place. But if you have to, here is one example how it can be done. There are, for sure, many others!
Eclipse Draw2D Border Magic
While using Eclipse Draw2D, I stumbled over some quite interesting behavior on win32 using rectangles and scaling.
Setting the page size and orientation with ODFDOM for tables aka spreadsheets
Most tasks that seem to be quite easy tend to turn out as a disaster. Setting the page size and orientation with ODFDOM was such a thing. While styling with ODFDOM is powerful and a horror at the same time. You actually never know where the attribute has to be placed or which attributes to use.