A Named QStateMachine

I have a name!

Developing UIs is a complex business. State machines can make your life easier when properly used. The Qt toolkit provides a simple State Machine Framework which neatly integrates with Qt widgets, signals and slots and the property system. However, it lacks support of naming states and the state machine and that’s not so nice when in need of debugging a state machine. So, in that post I’ll introduce you to my NamedStateMachine and NamedState as well as a NamedStateMachineInspector that you can use in unit tests or wherever you like. . . . → Read More: A Named QStateMachine

Code less create more (or less the same)

compare-swing-swt-qt_600x294

Today I prepared a “Hello World” app for three different UI toolkits: Swing, SWT and C++/Qt. Once finished I was surprised to find the Qt version the most slick. Alright, I didn’t need a header file yet, but still, it’s the implementation code that counts. Qt just still appears totally awesome and superior nowadays. . . . → Read More: Code less create more (or less the same)

Announcing: Mousefeed Plug-in 2.0.0

blog_image

My Mousefeed plug-in fork has been merged with another fork available in the Eclipse Marketplace. . . . → Read More: Announcing: Mousefeed Plug-in 2.0.0

Eclipse Tips & Tricks: Detail Formatter

detailformatter_blog_image

For most of the types in the Variables view you can see a reasonable toString() output below the variables list. However, many types don’t have a type specific implementation of toString(). That’s why the variables view prints you some meaningless default text with a hashcode for such variables. But did you know that you can change that by defining a custom toString() implementation that’s used by the variables view at runtime? Read on! . . . → Read More: Eclipse Tips & Tricks: Detail Formatter

Eclipse Diff Util For Creating Dropins Folder Contents

Eclipse Installations Diff Util

Personally I prefer the drop-ins folder for extending my Eclipse with new plug-ins and features. Having all your favorite extensions in one place separated from the default Eclipse contents is great. However, extracting all the necessary files has always been a pain so I created the Eclipse Installations Diff Util to help me with this task and I’d like to share it with you today. . . . → Read More: Eclipse Diff Util For Creating Dropins Folder Contents

10,000 GDI objects ought to be enough for anybody

PapyrusBanner_128x128_TransparentBckgrd

The famous quote by Bill Gates, “640K ought to be enough for anybody”, stating that nobody would ever need more memory in a computer still is a good laugh. (Bill has denied making this remark, but the rumors say he did say that.) Anyways, about 20 years after that quote was born I was confronted . . . → Read More: 10,000 GDI objects ought to be enough for anybody

Eclipse Democamp Dresden Summary

eclipse-200x200

Dresden, Jun. 21st 2011 – There have been some really nice presentations at the democamp in Dresden again.

Jan K√∂hnlein from itemis AG started with a demonstration of Xtext 2.0. Xtext is a language development framework that you can use to create your own programming language or domain-specific language (DSL). It generates an editor . . . → Read More: Eclipse Democamp Dresden Summary

Eclipse Tips & Tricks: Label-Updating Command Handler

featured-screen-label-updating-command

This time I’ll show another barely documented feature of Eclipse’ Command Core framework: Having commands update their labels based on a selection or whatever else. I believe, not knowing how this is done using declarations in plugin.xml files still causes many developers to hard code actions in their classes instead of using commands and handlers. . . . → Read More: Eclipse Tips & Tricks: Label-Updating Command Handler

Eclipse Tips & Tricks: Property Testers with Command Core Expressions

featured

Recently I was challenged getting declared commands enabled in an RCP application using own property testers. It seems the documentation of Eclipse’s Command Core Expressions framework is missing an important link that I’m gonna point out here.

RCP Application Plug-in

For this example create a new Plug-in project called de.rowlo.rcp.cce.app. Make sure to create a . . . → Read More: Eclipse Tips & Tricks: Property Testers with Command Core Expressions

Eclipse Tips & Tricks: Block Selection Mode

Select Aligned Pattern

Perspectives in Eclipse are really nice to provide you only the tools you need for certain tasks. Still, not too long ago I concluded that my toolbar is way to stuffed with icons I never use. So I started to clean it up by customizing my perspective. While doing that I discovered the “Toggle Block . . . → Read More: Eclipse Tips & Tricks: Block Selection Mode