This article explains how to create a simple Eclipse plugin. To understand plugins, the easiest thing to do is to use the built-in wizard in Eclipse. You need the JDT to have the wizard I believe (you can also download a RCP distribution of Eclipse). Here are the steps: