Have a personal or library account? Click to login
Mastering Eclipse Plug-in Development Cover

Mastering Eclipse Plug-in Development

Build modular applications on Eclipse by defining custom extension points and using OSGi services

Paid access
|Sep 2025
Product purchase options

Key Features

    Book Description

    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

    1. Plugging in to JFace and the common navigator framework
    2. Extending Eclipse with custom extension points
    3. Using OSGi Services to dynamically wire applications
    4. Defining commands for the Gogo shell
    5. Native code and fragments
    6. Understanding service loaders and thread context classloaders
    7. Modular application design patterns
    8. Communicating within an application using OSGi Events
    9. Advanced P2 interaction
    10. Writing Eclipse help documentation
    PDF ISBN: 978-1-78328-780-2
    Publisher: Packt Publishing Limited
    Copyright owner: © 2014 Packt Publishing Limited
    Publication date: 2025
    Language: English
    Pages: 362