Chapter 3. Hello World

Our “Hello World” plug-in will contribute a button to the toolbar. When the button is pressed, we will pop up a dialog box containing the text “Hello World.”

The developers at Eclipse.org share a consistent set of rules for design. Here's the first rule of Eclipse:

  • CONTRIBUTION RULEEverything is a contribution.

The whole of Eclipse—the Java development tools, the CVS repository explorer, every single tool—is contributed. That is, none of them is “built into” Eclipse. There is no monolithic tool to which a few things are added. There is a tiny little kernel to which many things are contributed, as shown in Figure 3.1.

Some Extensions Versus All Extensions

Figure 3.1. Some ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.