Eclipse Question:

Download Job Interview Questions and Answers PDF

What is optional dependency?

Eclipse Interview Question
Eclipse Interview Question

Answer:

plug-in prerequisite elements can be made optional by adding the optional="true" attribute in Manifest file(see below for an example). Marking an import as optional simply states that if the specified plug-in is not found at runtime, the dependent plug-in should be left enabled. This is used when a plug-in can be used in many scenarios or it is reasonable to operate with reduced function. It allows the creation of minimal installs that cover functional subsets. Require-Bundle: org.eclipse.swt; optional="true"

Download Eclipse Interview Questions And Answers PDF

Previous QuestionNext Question
How can I change the window icon in my application?What is EMF?