Package | Description |
---|---|
org.eclipse.core.runtime |
Provides support for the runtime platform, core utility methods and the extension registry.
|
org.eclipse.core.runtime.spi |
Extension registry infrastructure for service providers
Package Specification
This package provides an infrastructure and helper utilities oriented towards service providers implementing their own extension registries.
|
Modifier and Type | Method and Description |
---|---|
static IContributor |
ContributorFactoryOSGi.createContributor(Bundle contributor)
Creates registry contributor object based on a Bundle.
|
static IContributor |
ContributorFactorySimple.createContributor(Object determiningObject)
Creates registry contributor object based on a determining object.The determining
object must not be
null . |
IContributor |
IConfigurationElement.getContributor()
Returns the contributor of this configuration element.
|
IContributor |
IExtensionPoint.getContributor()
Returns the contributor of this extension point.
|
IContributor |
IExtension.getContributor()
Returns the contributor of this extension.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IExtensionRegistry.addContribution(InputStream is,
IContributor contributor,
boolean persist,
String name,
ResourceBundle translationBundle,
Object token)
Adds to this extension registry an extension point(s), extension(s), or
a combination of those described by the XML file.
|
IExtensionPoint[] |
IExtensionRegistry.getExtensionPoints(IContributor contributor)
Returns all extension points supplied by the contributor, or
null
if there are no such extension points. |
IExtension[] |
IExtensionRegistry.getExtensions(IContributor contributor)
Returns all extensions supplied by the contributor, or
null if there
are no such extensions. |
static Bundle |
ContributorFactoryOSGi.resolve(IContributor contributor)
Returns the OSGi bundle used to define this contributor.
|
Modifier and Type | Class and Description |
---|---|
class |
RegistryContributor
This class describes a registry contributor which is an entity that supplies information
to the extension registry.
|
Modifier and Type | Method and Description |
---|---|
IContributor[] |
IDynamicExtensionRegistry.getAllContributors()
Returns all contributors associated with the registry at this time.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IDynamicExtensionRegistry.hasContributor(IContributor contributor)
Finds out if registry has the contributor.
|
void |
IDynamicExtensionRegistry.removeContributor(IContributor contributor,
Object key)
Removes all extensions and extension points provided by the contributor.
|
String[] |
RegistryStrategy.translate(String[] nonTranslated,
IContributor contributor,
String locale)
Translates array of keys supplied by the contributor to the requested locale.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.