Chapter 17. ActionsThere 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 Update," 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, while the second gives useful tips and tricks for writing product-quality actions. Specifically in this chapter, we show you how to:
|