Eclipse Rich Client Platform, Second Edition
by Jeff McAffer, Jean-Michel Lemieux, Chris Aniszczyk
Chapter 18. Commands
In Chapter 12, “Adding Key Bindings,” we were first introduced to commands as a way to add key bindings. The introduction was brief on purpose as actions were still being introduced and not covered in depth as we just did in Chapter 17. One thing that wasn’t mentioned was that the actions and commands frameworks are two different frameworks that accomplish the same thing: contributing bits of functionality to the Workbench. Another thing that wasn’t mentioned was that the actions framework has been around since the very early release of Eclipse and has aged considerably. The actions framework outgrew its initial use cases as the Eclipse platform expanded into new territories. Furthermore, there are many weaknesses in the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access