Chapter 23. Test Report View — Using JFace

In this chapter we'll see how to

  • Create a view using the JFace viewer framework

  • Configure a viewer using a label provider and a content provider

  • Use PDE to define a new extension

  • Open a Java element in a Java editor

In Chapter 13 we implemented a simple view using only SWT widgets. In this chapter we will contribute a more complex view using the JFace viewer framework. This illustrates that to contribute a view you can use a framework, but you don't have to. Frameworks have a particular scope. It's hard to program when your problem doesn't fit into a framework but you still have to use it. Eclipse works hard to offer frameworks without imposing them.

Our example JUnit plug-in allows us to see failures as markers. ...

Get Contributing to Eclipse: Principles, Patterns, and Plug-Ins 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.