Eclipse Question:
Download Questions PDF

What are extensions and extension points?

Answer:

Loose coupling in Eclipse is achieved partially through the mechanism of extensions and extension points. When a plug-in wants to allow other plug-ins to extend or customize portions of its functionality, it will declare an extension point. The extension point declares a typically a combination of XML markup and Java interfaces, that extensions must conform to. Plug-ins that want to connect to that extension point must implement that contract in their extension.

Download Eclipse Interview Questions And Answers PDF

Previous QuestionNext Question
When does a plugin get started?How to access UI objects from a non-ui thread?