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

Get Contributing to Eclipse: Principles, Patterns, and Plug-Ins now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.