An adapter of the pre-3.0 plug-in model base interface that is capable of
maintaining the predictable facade when dealing with plug-in with OSGi
manifest files. The goal is to use the same adapter interface with the
manifest coming and going and transparently switch between
META-INF/MANIFEST.MF and plugin.xml/fragment.xml.
since: 3.0
Factory method for creating a new import object. This is important for
maintaining the adapter because IPluginBase returns an
array of IPluginImport objects for dependency information.
a newly created import object
Factory method for creating a new runtime object. This is important for
maintaining the adapter because IPluginBase returns an
array of IPluginLibrary objects for runtime information.
a newly created plug-in library object
Returns the model that is responsible for tracking extensions and
extension points. Typically this content is stored in plugin.xml file.
extensions model or null if not present.
Sets the bundle manifest model for this adapter. All calls related to
data that is normally stored in this model (e.g. plug-in ID, plug-in
name, provider name etc.) will be delegated to it if not
null.
Parameters: bundleModel - the bundle model to use in this adapter or nullif there is no bundle model.
Sets the extensions model for this adapter. All the calls related to
extensions and extension points will be delegated to this model if not
null.
Parameters: extensionsModel - the model that stores extensions and extension points