站内搜索: 请输入搜索关键词
当前页面: 图书首页 > Eclipse Rich Client Platform: Designing, Coding, and Packaging Java Applications

Chapter 16.  Perspectives, Views, and Editors - Eclipse Rich Client Platform: Designing, Coding, and Packaging Java Applications

Previous Page
Next Page

Chapter 16. Perspectives, Views, and Editors

The Hyperbola UI described in Part II is purposely simple, but it still touches on most of the central features of the Workbench's UI paradigm; in particular, perspectives, views, and editors. If you take a careful look at the Eclipse IDE's UI, you can see that much more can be done with these building blocks than what we've used so far in Hyperbola. For example, as shown in Figure 16-1, the Workbench allows multiple windows to be opened and each window to have multiple perspectives. You can also define perspectives that are fully customizable by the userviews can be moved, minimized, closed, or arranged as fast views. RCP applications can use this power to provide a rich user experience and many layers of functionality without overwhelming the user.

Figure 16-1. Runtime composition of perspectives, views, and editors


In this chapter, we extend Hyperbola to have multiple perspectives and multiple windows, and to use advanced view manipulation techniques. Specifically, we show you how to:

  • add perspectives

  • use the programmatic perspective and view APIs

  • use multiple instances of a view and sticky views

  • open and track multiple Workbench windows

  • connect parts together

  • add drag and drop support to the editor area


Previous Page
Next Page