Package | Description |
---|---|
org.eclipse.core.runtime |
Provides support for the runtime platform, core utility methods and the extension registry.
|
Modifier and Type | Method and Description |
---|---|
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 |
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(); |
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. |
Modifier and Type | Method and Description |
---|---|
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.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.