O'Reilly logo

Contributing to Eclipse: Principles, Patterns, and Plug-Ins by Kent Beck, Erich Gamma

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required