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

Chapter 19.  Customizing the Presentation of Views and Editors - Eclipse Rich Client Platform: Designing, Coding, and Packaging Java Applications

Previous Page
Next Page

Chapter 19. Customizing the Presentation of Views and Editors

Much of the "look and feel" of Eclipse applications is defined by the way editor and view tabs are shown. Most of the Eclipse IDE uses native widgets, for example, toolbars, dialogs, and menus. There are some Workbench components, however, that use custom widgets. For example, native tab widgets don't support drag and drop reordering, focus highlighting, and Close buttons. As such, Eclipse uses a custom widget called CTabFolder for view and editor tabs.

As you saw in Chapter 18, "Customizing Workbench Windows," there are many good reasons for RCP applications to customize their look. Changing how editors and views are shown has a significant impact. Fortunately, you can provide your own implementation of view and editor rendering and navigation. If the standard look or behavior does not match your needs, you can change it. This chapter shows you how to use a presentation and how to write your own.


Previous Page
Next Page