O'Reilly logo

Mastering Eclipse Plug-in Development by Dr. Alex Blewitt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we looked at the Eclipse extension registry and how it can be used by programs to load extensions, as well as how to define extension points for others to extend. We learned how to sort elements in a way that does not rely on the order of the data in the plugin.xml files and how to perform simple definitions and validations with the associated schema.

The extension registry can also be used to customize different instances of extensions, and we looked at both of the ways in which this is done in Eclipse—with executable extensions and with extension factories (for classes whose inheritance hierarchy cannot be modified).

Finally, we looked at how the registry can be used outside of an OSGi runtime, which permits application ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required