public final class ContributorFactoryOSGi extends Object
This class can not be extended or instantiated by clients.
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.