Chapter 17. Actions

There is much more to the notion of actions than we’ve covered in our examples so far. Chapter 6, “Adding Actions,” ended with an explanation of why Hyperbola does not use declarative actions, a standard technique in Eclipse. To recap, the actions in Hyperbola are defined and placed programmatically by the ActionBarAdvisor. This technique is simple and ideal for small, closed applications. In Chapter 14, “Adding Software Management,” we talked about updating deployed applications and adding new plug-ins. How do these new plug-ins add their actions? The answer lies in the Workbench’s support for declarative actions.

This chapter is split into two parts. The first explains when and how to use declarative actions, and the second ...

Get Eclipse Rich Client Platform, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.