An Eclipse user can trigger commands by using the workbench's pull-down menus or toolbar or by using the context menus defined for various views. Each of these is an example of an action. This chapter discussed how to create various actions and how to control their visibility and enablement state using filters.
Chapter source (www.qualityeclipse.com/projects/source-ch-06.zip).
D'Anjou, Jim, Scott Fairbrother, Dan Kehn, John Kellerman, and Pat McCarthy, The Java Developer's Guide to Eclipse, Second Edition. Addison-Wesley, Boston, 2004.