O'Reilly logo

Contributing to Eclipse: Principles, Patterns, and Plug-Ins by Kent Beck, Erich Gamma

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

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

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