Eclipse Platform Release 3.7

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

Packages that use PluginVersionIdentifier
org.eclipse.core.runtime: Provides support for the runtime platform, core utility methods and the extension registry.
org.eclipse.update.core: Provides support for extending the base installation and update services.

Uses of PluginVersionIdentifier in org.eclipse.core.runtime

Methods in org.eclipse.core.runtime that return PluginVersionIdentifier

`PluginVersionIdentifier`

`IPluginPrerequisite.getResolvedVersionIdentifier()`
Deprecated. Callers of this method should interrogate the current `State` of the platform. For example,

         State state = Platform.getPlatformAdmin().getState();
         BundleDescription bundle = state.getBundle("my plug-in id", my plug-in version);
         BundleSpecification spec = bundle.getRequiredBundle("required plug-in id");
         BundleDescription prereq = spec.getSupplier();

`PluginVersionIdentifier`

`IPluginDescriptor.getVersionIdentifier()`
Deprecated. Use

         String version = (String) bundle.getHeaders().get(org.osgi.framework.Constants.BUNDLE_VERSION);
         new PluginVersionIdentifier(version);

where `bundle` is the bundle associated with the relevant plug-in.

`PluginVersionIdentifier`

`IPluginPrerequisite.getVersionIdentifier()`
Deprecated. Callers of this method should interrogate the current `State` of the platform. For example,

         State state = Platform.getPlatformAdmin().getState();
         BundleDescription bundle = state.getBundle("my plug-in id", my plug-in version);
         BundleSpecification spec = bundle.getRequiredBundle("required plug-in id");
         Version reqMinVersion = spec.getVersionRange().getMinimum();

Methods in org.eclipse.core.runtime with parameters of type PluginVersionIdentifier
`IPluginDescriptor` `IPluginRegistry.getPluginDescriptor(String pluginId, PluginVersionIdentifier version)` Deprecated. `IPluginDescriptor` was refactored in Eclipse 3.0. The `getPluginDescriptor()` method may only be called by plug-ins which explicitly require the org.eclipse.core.runtime.compatibility plug-in. See the comments on `IPluginDescriptor` and its methods for details.
`boolean` `PluginVersionIdentifier.isCompatibleWith(PluginVersionIdentifier id)` Deprecated. Compares two version identifiers for compatibility.
`boolean` `PluginVersionIdentifier.isEquivalentTo(PluginVersionIdentifier id)` Deprecated. Compares two version identifiers for equivalency.
`boolean` `PluginVersionIdentifier.isGreaterOrEqualTo(PluginVersionIdentifier id)` Deprecated. Compares two version identifiers to see if this one is greater than or equal to the argument.
`boolean` `PluginVersionIdentifier.isGreaterThan(PluginVersionIdentifier id)` Deprecated. Compares two version identifiers for order using multi-decimal comparison.
`boolean` `PluginVersionIdentifier.isPerfect(PluginVersionIdentifier id)` Deprecated. Compares two version identifiers for perfect equality.

Uses of PluginVersionIdentifier in org.eclipse.update.core

Methods in org.eclipse.update.core that return PluginVersionIdentifier
`PluginVersionIdentifier` `VersionedIdentifier.getVersion()` Deprecated. Returns the version

Eclipse Platform Release 3.7

Guidelines for using Eclipse APIs.

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