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. 
 

Uses of InvalidRegistryObjectException in org.eclipse.core.runtime
 

Methods in org.eclipse.core.runtime that throw InvalidRegistryObjectException
 java.lang.String IConfigurationElement.getAttribute(java.lang.String name)
          Returns the named attribute of this configuration element, or null if none.
 java.lang.String IConfigurationElement.getAttributeAsIs(java.lang.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.
 java.lang.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(java.lang.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 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.
 IExtension IConfigurationElement.getDeclaringExtension()
          Returns the extension that declares this configuration element.
 IExtension IExtensionPoint.getExtension(java.lang.String extensionId)
          Returns the extension with the given unique identifier configured into this extension point, or null if there is no such extension.
 java.lang.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.
 java.lang.String IExtensionPoint.getLabel()
          Returns a displayable label for this extension point.
 java.lang.String IExtension.getLabel()
          Returns a displayable label for this extension.
 java.lang.String IConfigurationElement.getName()
          Returns the name of this configuration element.
 java.lang.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.

 java.lang.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.

 java.lang.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.

 java.lang.String IConfigurationElement.getNamespaceIdentifier()
          Returns the namespace name for this configuration element.
 java.lang.String IExtensionPoint.getNamespaceIdentifier()
          Returns the namespace name for this extension point.
 java.lang.String IExtension.getNamespaceIdentifier()
          Returns the namespace name for this extension.
 java.lang.Object IConfigurationElement.getParent()
          Returns the element which contains this element.
 java.lang.String IExtensionPoint.getSchemaReference()
          Returns reference to the extension point schema.
 java.lang.String IExtensionPoint.getSimpleIdentifier()
          Returns the simple identifier of this extension point.
 java.lang.String IExtension.getSimpleIdentifier()
          Returns the simple identifier of this extension, or null if this extension does not have an identifier.
 java.lang.String IExtensionPoint.getUniqueIdentifier()
          Returns the unique identifier of this extension point.
 java.lang.String IExtension.getUniqueIdentifier()
          Returns the unique identifier of this extension, or null if this extension does not have an identifier.
 java.lang.String IConfigurationElement.getValue()
          Returns the text value of this configuration element.
 java.lang.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.