Chapter 26. Perspectives

Contributions are a double-edged sword. If you are not careful with how you make contributions, you end up with a contribution mess—long context menus, crowded toolbars, lots of views. Up to now we have contributed views without paying a lot of attention to how they appear in the workbench. In this chapter we will smoothly integrate our views into Eclipse. We will see how to

  • Extend an existing perspective

  • Make our views easily accessible for the user

Views in Perspective

A perspective defines how a set of views and editors are arranged. The current layout of a workbench page is defined by its active perspective, as shown in Figure 26.1.

We have defined two testing-related views so far. Why not define a test perspective? The ...

Get Contributing to Eclipse: Principles, Patterns, and Plug-Ins now with O’Reilly online learning.

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