Eclipse Platform Release 3.7

## Uses of Class
org.eclipse.core.runtime.InvalidRegistryObjectException

Packages that use InvalidRegistryObjectException
org.eclipse.core.runtime: Provides support for the runtime platform, core utility methods and the extension registry.
org.eclipse.ui.texteditor.rulers: Provides interfaces and classes for the `org.eclipse.ui.workbench.texteditor.rulerColumns`.

Uses of InvalidRegistryObjectException in org.eclipse.core.runtime

Methods in org.eclipse.core.runtime that throw InvalidRegistryObjectException
`String` `IConfigurationElement.getAttribute(String name)` Returns the named attribute of this configuration element, or `null` if none.
`String` `IConfigurationElement.getAttribute(String attrName, String locale)` When multi-language support is enabled, this method returns the named attribute of this configuration element in the specified locale, or `null` if none.
`String` `IConfigurationElement.getAttributeAsIs(String name)` Deprecated. The method is equivalent to the `IConfigurationElement.getAttribute(String)`. Contrary to its description, this method returns a translated value. Use the `IConfigurationElement.getAttribute(String)` method instead.
`String[]` `IConfigurationElement.getAttributeNames()` Returns the names of the attributes of this configuration element.
`IConfigurationElement[]` `IConfigurationElement.getChildren()` Returns all configuration elements that are children of this configuration element.
`IConfigurationElement[]` `IConfigurationElement.getChildren(String name)` Returns all child configuration elements with the given name.
`IConfigurationElement[]` `IExtensionPoint.getConfigurationElements()` Returns all configuration elements from all extensions configured into this extension point.
`IConfigurationElement[]` `IExtension.getConfigurationElements()` Returns all configuration elements declared by this extension.
`IContributor` `IExtensionPoint.getContributor()` Returns the contributor of this extension point.
`IContributor` `IConfigurationElement.getContributor()` Returns the contributor of this configuration element.
`IContributor` `IExtension.getContributor()` Returns the contributor of this extension.
`IExtension` `IConfigurationElement.getDeclaringExtension()` Returns the extension that declares this configuration element.
`IExtension` `IExtensionPoint.getExtension(String extensionId)` Returns the extension with the given unique identifier configured into this extension point, or `null` if there is no such extension.
`String` `IExtension.getExtensionPointUniqueIdentifier()` Returns the unique identifier of the extension point to which this extension should be contributed.
`IExtension[]` `IExtensionPoint.getExtensions()` Returns all extensions configured into this extension point.
`String` `IExtensionPoint.getLabel()` Returns a displayable label for this extension point.
`String` `IExtension.getLabel()` Returns a displayable label for this extension.
`String` `IExtensionPoint.getLabel(String locale)` When multi-language support is enabled, this method returns a displayable label for this extension point in the specified locale.
`String` `IExtension.getLabel(String locale)` When multi-language support is enabled, this method returns a displayable label for this extension in the specified locale.
`String` `IConfigurationElement.getName()` Returns the name of this configuration element.

`String`

`IExtensionPoint.getNamespace()`
Deprecated. As namespace is no longer restricted to the contributor name, use `IExtensionPoint.getNamespaceIdentifier()` to obtain namespace name or `IExtensionPoint.getContributor()` to get the name of the contributor of this registry element.

In the past namespace was dictated by the name of the bundle. If bundle `org.abc` contributed registry element with Id of `MyId`, the namespace of the element was always set to `org.abc`, producing the qualified name of `org.abc.MyId`.

The namespace used to be the same as the bundle name. As a result, the `IExtensionPoint.getNamespace()` method was used both to obtain the name of the bundle and to obtain the namespace of a registry element.

Since 3.2, the extension registry allows elements to specify qualified name. The extension point of the plug-in `org.abc` could specify `org.zzz.MyExtPoint` as an Id. In this case, namespace name is `org.zzz`, but the contributor name is `org.abc`.

(The use of a simple Id is still a preferred way. Whenever possible, specify only the simple Id and let runtime take care of the rest.)

If your code used the `IExtensionPoint.getNamespace()` to obtain the name of the contributing bundle, use `IExtensionPoint.getContributor()`. The typical usage pattern here is to find a bundle name to obtain some information from the corresponding OSGi bundle. For example, deducing the file location specified as a relative path to the bundle install location would fall into this group.

If your code used the `IExtensionPoint.getNamespace()` to obtain the namespace of the registry element, use `IExtensionPoint.getNamespaceIdentifier()`. Typically, this is the case when code is trying to process registry elements belonging to some logical group. For example, processing notifications for all elements belonging to the `org.abc` namespace would fall into this category.

`String`

`IConfigurationElement.getNamespace()`
Deprecated. As namespace is no longer restricted to the contributor name, use `IConfigurationElement.getNamespaceIdentifier()` to obtain namespace name or `IConfigurationElement.getContributor()` to get the name of the contributor of this registry element.

In the past namespace was dictated by the name of the bundle. If bundle `org.abc` contributed registry element with Id of `MyId`, the namespace of the element was always set to `org.abc`, producing the qualified name of `org.abc.MyId`.

The namespace used to be the same as the bundle name. As a result, the `IConfigurationElement.getNamespace()` method was used both to obtain the name of the bundle and to obtain the namespace of a registry element.

Since 3.2, the extension registry allows elements to specify qualified name. The extension point of the plug-in `org.abc` could specify `org.zzz.MyExtPoint` as an Id. In this case, namespace name is `org.zzz`, but the contributor name is `org.abc`.

(The use of a simple Id is still a preferred way. Whenever possible, specify only the simple Id and let runtime take care of the rest.)

If your code used the `IConfigurationElement.getNamespace()` to obtain the name of the contributing bundle, use `IConfigurationElement.getContributor()`. The typical usage pattern here is to find a bundle name to obtain some information from the corresponding OSGi bundle. For example, deducing the file location specified as a relative path to the bundle install location would fall into this group.

If your code used the `IConfigurationElement.getNamespace()` to obtain the namespace of the registry element, use `IConfigurationElement.getNamespaceIdentifier()`. Typically, this is the case when code is trying to process registry elements belonging to some logical group. For example, processing notifications for all elements belonging to the `org.abc` namespace would fall into this category.

`String`

`IExtension.getNamespace()`
Deprecated. As namespace is no longer restricted to the contributor name, use `IExtension.getNamespaceIdentifier()` to obtain namespace name or `IExtension.getContributor()` to get the name of the contributor of this registry element.

In the past namespace was dictated by the name of the bundle. If bundle `org.abc` contributed registry element with Id of `MyId`, the namespace of the element was always set to `org.abc`, producing the qualified name of `org.abc.MyId`.

The namespace used to be the same as the bundle name. As a result, the `IExtension.getNamespace()` method was used both to obtain the name of the bundle and to obtain the namespace of a registry element.

Since 3.2, the extension registry allows elements to specify qualified name. The extension point of the plug-in `org.abc` could specify `org.zzz.MyExtPoint` as an Id. In this case, namespace name is `org.zzz`, but the contributor name is `org.abc`.

(The use of a simple Id is still a preferred way. Whenever possible, specify only the simple Id and let runtime take care of the rest.)

If your code used the `IExtension.getNamespace()` to obtain the name of the contributing bundle, use `IExtension.getContributor()`. The typical usage pattern here is to find a bundle name to obtain some information from the corresponding OSGi bundle. For example, deducing the file location specified as a relative path to the bundle install location would fall into this group.

If your code used the `IExtension.getNamespace()` to obtain the namespace of the registry element, use `IExtension.getNamespaceIdentifier()`. Typically, this is the case when code is trying to process registry elements belonging to some logical group. For example, processing notifications for all elements belonging to the `org.abc` namespace would fall into this category.

`String` `IExtensionPoint.getNamespaceIdentifier()` Returns the namespace name for this extension point.
`String` `IConfigurationElement.getNamespaceIdentifier()` Returns the namespace name for this configuration element.
`String` `IExtension.getNamespaceIdentifier()` Returns the namespace name for this extension.
`Object` `IConfigurationElement.getParent()` Returns the element which contains this element.
`String` `IExtensionPoint.getSchemaReference()` Returns reference to the extension point schema.
`String` `IExtensionPoint.getSimpleIdentifier()` Returns the simple identifier of this extension point.
`String` `IExtension.getSimpleIdentifier()` Returns the simple identifier of this extension, or `null` if this extension does not have an identifier.
`String` `IExtensionPoint.getUniqueIdentifier()` Returns the unique identifier of this extension point.
`String` `IExtension.getUniqueIdentifier()` Returns the unique identifier of this extension, or `null` if this extension does not have an identifier.
`String` `IConfigurationElement.getValue()` Returns the text value of this configuration element.
`String` `IConfigurationElement.getValue(String locale)` When multi-language support is enabled, this method returns the text value of this configuration element in the specified locale, or `null` if none.
`String` `IConfigurationElement.getValueAsIs()` Deprecated. The method is equivalent to the `IConfigurationElement.getValue()`. Contrary to its description, this method returns a translated value. Use the `IConfigurationElement.getValue()` method instead.

Uses of InvalidRegistryObjectException in org.eclipse.ui.texteditor.rulers

Methods in org.eclipse.ui.texteditor.rulers that throw InvalidRegistryObjectException
`IContributedRulerColumn` `RulerColumnDescriptor.createColumn(ITextEditor editor)` Creates a `IContributedRulerColumn` instance as described by the receiver.

Eclipse Platform Release 3.7

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.