Chapter 15. Workbench Advisors

In Part II, you got a glimpse of the ways in which the Workbench advisors are used in real applications, but you may have noticed that many of the advisors’ methods were not used. This chapter explores these additional APIs and explains how they can be used in your application. Another area that you’ve started to get familiar with is the Workbench; we end this chapter with an overview of the Workbench and its extension points.

What Is an Advisor?

You may recall from Part II that when the Hyperbola application starts, its main job is to call PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor), as shown in the snippet below. This somewhat inconspicuous method bootstraps your UI by starting the Workbench. This ...

Get Eclipse Rich Client Platform: Designing, Coding, and Packaging Java™ Applications 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.