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.
What you will learn
Create a custom extension point to allow other plugins 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 builtin Gogo shell
Use fragments to contribute native code to plugins
Fix code using the service loader and wrap nonOSGifriendly JARs
Discover how to build modular applications with decoupled design patterns
Who this book is for
Table of Contents
Plugging in to JFace and the common navigator framework
Extending Eclipse with custom extension points
Using OSGi Services to dynamically wire applications
Defining commands for the Gogo shell
Native code and fragments
Understanding service loaders and thread context classloaders
Modular application design patterns
Communicating within an application using OSGi Events