Image Chapter 6. Actions

Actions, like everything else in Eclipse, are defined through various extension points so that new actions can be easily added at various points throughout the Eclipse framework. Actions appear in several different places throughout the Eclipse IDE, including the menu bar, toolbars, and context menus. Filters control when an action is visible and enabled for selection by a user.

This chapter covers all this with examples that show how to use actions and action sets in the example Favorites plug-in.

6.1 IAction versus IActionDelegate

An Eclipse action is composed of several parts, including the XML declaration of the action in ...

Get Eclipse: Building Commercial-Quality Plug-ins, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.