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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access