Creating Your Own Plugin in Eclipse

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:

  1. Select “new project”: PastedGraphic-2
  2. Plug-in project: PastedGraphic-3
  3. PastedGraphic-4
  4. PastedGraphic-5
  5. Try each of these templates: PastedGraphic-6
  6. PastedGraphic-7
  7. Open the plugin.xml file and launch the plugin: PastedGraphic-8
  8. You should now see this: PastedGraphic-9
  9. Push it and you should see this: PastedGraphic-10
  10. That code is here: PastedGraphic-11