Chapter 10Perspectives

Perspectives are a way to group Eclipse views and commands for a particular task such as coding or debugging. Larger Eclipse enhancements that involve multiple plug-ins may provide their own perspectives. Smaller Eclipse enhancements that involve only one or two plug-ins and provide only one or two new Eclipse views typically enhance existing perspectives rather than provide entirely new perspectives.

This chapter will further extend the Favorites example by creating a new perspective for hosting the Favorites view and show how to add the Favorites view to existing perspectives.

10.1 Creating a Perspective

To create a new perspective, extend the org.eclipse.ui.perspectives extension point and then define ...

Get Eclipse Plug-ins, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.