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 13. Viewing Results

A dialog is too intrusive to use as an interface for displaying test results. Over time we'd like to integrate the tests more thoroughly into the flow of programming, much as the compiler has gone from being a separate tool to becoming air—something vital that's always around. A step in the right direction is to display test results in a view. If we run a test successfully, the view should turn green. If a test fails, the view should turn red.

In this chapter we'll see

  • How to add a view extension

  • How to put a widget in a view

  • How to change the widget's color based on the updates it receives

Contributing a View

We want to add a view that will change colors based on the results of running tests. The views in Eclipse live in ...

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