Eclipse Rich Client Platform, Second Edition
by Jeff McAffer, Jean-Michel Lemieux, Chris Aniszczyk
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 ...
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