Part II. Circle One: Basic Plug-In

Chapter 3, Hello World, completed your first trip around the Contribution Circle but left out lots of parts. In this circle we will make a realistic pass around the circle, but for a little bit of functionality. We will implement the world's simplest testing interface: a menu item to run tests and a dialog box to display results. Before we're done with the circle, we will package our menu item, our little test runner, and the dialog box for easy consumption. The chapters are:

  • Der Plan—. We create a new environment for running tests.

  • Contributing a Menu Item to Run Tests—. We add a menu item to run tests.

  • Implementing the Menu Item Behavior—. We run the tests.

  • Displaying the Results—. We tell the user whether the tests passed or failed.

  • Defining an Extension Point—. We generalize our solution into a generic way to add test-running functionality to Eclipse.

  • Notifying Extensions—. Once we have an extension point we need to invoke it.

  • Publishing—. We get our contribution ready for others.

  • Closing Circle One—. We review what we've done in this section.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset