Qt: QList and loop performance

Qt Logo

When coding with loops always take a few seconds to check what you can pull into loop initialization. Usually lists are not iterated only once so there’s a great opportunity for boosting performance. If you take the extra mile of calling QList::reserve(int) you can gain performance, too. . . . → Read More: Qt: QList and loop performance

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