Mastering Eclipse Plug-in Development

More Information
  • Create a custom extension point to allow other plug-ins to contribute
  • Employ Declarative Services and Blueprint for dynamic OSGi contributions
  • Extend the Common Navigator Framework to provide nested content
  • Build commands to extend the built-in Gogo shell
  • Use fragments to contribute native code to plug-ins
  • Fix code using the service loader and wrap non-OSGi-friendly JARs
  • Discover how to build modular applications with decoupled design patterns

Mastering Eclipse Plug-in Development shows you how to build an extensible application using custom extension points and dynamic OSGi services in Eclipse. Dynamic design patterns such as whiteboard and extender are covered along with specific techniques to deal with native and legacy code.

This book dives right into the details and teaches you how to define new JFace wizards and extend Eclipse with custom extension points. Then the book moves quickly on to the details of how to define new commands for the Eclipse console and how to include native code in a plug-in. You will engage with modular application design patterns and Thread Context ClassLoaders before getting the details on how to create as well as manage P2 sites and write help documentation for an Eclipse plug-in.

  • Master Eclipse plug-in development with this example-based and practical guide
  • Define new JFace wizards, custom extension points, and new commands for the Eclipse console
  • Get to grips with OSGI services and events to dynamically wire applications and communicate between plug-ins
Page Count 362
Course Length 10 hours 51 minutes
ISBN 9781783287796
Date Of Publication 25 Aug 2014


Dr Alex Blewitt

Dr Alex Blewitt has been developing Java applications since version 1.0 was released in 1996, and has been using the Eclipse platform since its first release as part of the IBM WebSphere Studio product suite. He got involved in the open source community as a tester when Eclipse 2.1 was being released for macOS, and then subsequently as an editor for EclipseZone, including being a finalist for Eclipse Ambassador in 2007. More recently, Alex has been writing for InfoQ, covering Java and specifically Eclipse and OSGi subjects.

He is co-founder of the Docklands.LJC, a regional branch of the London Java Community in the Docklands, and a regular speaker at conferences.

Alex currently works for an investment bank in London, and is a Director of Bandlem Limited. Alex blogs at and tweets as @alblue on Twitter, and is the author of both Mastering Eclipse 4 Plug-in Development, and Swift Essentials, both by Packt Publishing.