O'Reilly logo

Eclipse: Building Commercial-Quality Plug-ins, Second Edition by Dan Rubel, Eric Clayberg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required