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 19. Auto-Test Property

We don't want auto-testing for all projects. We would like to switch it off and on for individual projects. In this chapter we will

  • Create a project property page with a checkbox for auto testing so that the user can turn on and off the auto-test builder

  • Call the methods that add or remove a nature

First, we need to get the property page to appear when we bring up the properties of a Java project. Eclipse can attach properties to any object. As a developer, you can allow a user to edit the properties of anything. To do so you provide property pages though an extension point. In the property page, you decide how to store and retrieve the property values. For example, Eclipse already supports attaching persistent properties ...

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