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 |
---|
ContributorFactoryOSGi() |
Modifier and Type | Method and Description |
---|---|
static IContributor |
createContributor(Bundle contributor)
Creates registry contributor object based on a Bundle.
|
static Bundle |
resolve(IContributor contributor)
Returns the OSGi bundle used to define this contributor.
|
public static IContributor createContributor(Bundle contributor)
null
.contributor
- bundle associated with the contributionpublic 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, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.