public final class ContributorFactoryOSGi extends Object
This class can not be extended or instantiated by clients.
Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
|Constructor and Description|
|Modifier and Type||Method and Description|
Creates registry contributor object based on a Bundle.
Returns the OSGi bundle used to define this contributor.
public static IContributor createContributor(Bundle contributor)
contributor- bundle associated with the contribution
public static Bundle resolve(IContributor contributor)
The method may return null if the contributor is not based on a bundle, if the bundle can't be found, or if the bundle is presently unresolved or uninstalled.
contributor- bundle-based registry contributor
Copyright (c) 2000, 2013 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.