Deprecated API


Contents
Deprecated Interfaces
org.xml.sax.AttributeList
          This interface has been replaced by the SAX2 Attributes interface, which includes Namespace support. 
org.osgi.framework.Configurable
          As of 1.2. Please use Configuration Admin service. 
org.xml.sax.DocumentHandler
          This interface has been replaced by the SAX2 ContentHandler interface, which includes Namespace support. 
org.eclipse.update.configuration.IInstallDeltaHandler
          Do not use this interface. The extension point deltaHandler has been deprecated. 
org.eclipse.core.runtime.ILibrary
          In Eclipse 3.0 the plug-in classpath representation was changed. Clients of ILibrary are directed to the headers associated with the relevant bundle. In particular, the Bundle-Classpath header contains all available information about the classpath of a plug-in. Having retrieved the header, the ManifestElement helper class can be used to parse the value and discover the individual class path entries. The various header attributes are defined in Constants.

For example,

     String header = bundle.getHeaders().get(Constants.BUNDLE_CLASSPATH);
     ManifestElement[] elements = ManifestElement.parseHeader(
         Constants.BUNDLE_CLASSPATH, header);
     if (elements == null) 
         return;
     elements[0].getValue();   // the jar/dir containing the code
     ...
 

Note that this new structure does not include information on which packages are exported or present in the listed classpath entries. This information is no longer relevant.

See IPluginDescriptor for information on the relationship between plug-in descriptors and bundles.

This interface must only be used by plug-ins which explicitly require the org.eclipse.core.runtime.compatibility plug-in.

 
org.eclipse.core.runtime.IPlatformRunnable
          use IApplication 
org.eclipse.core.runtime.IPluginDescriptor
          IPluginDescriptor was refactored in Eclipse 3.0. Most of the functionality has moved to Platform and the plug-in descriptor has been replaced with the OSGi Bundle object.

This interface must only be used by plug-ins which explicitly require the org.eclipse.core.runtime.compatibility plug-in.

For most uses the bundle object can be treated as an opaque token representing your plug-in to the system -- It must be supplied to various Platform methods but need not be interrogated itself. There are a small number of plug-in descriptor method equivalents supplied by Bundle itself. The details are spelled out in the comments on each IPluginDescriptor method.

Clients of this interface have a reference to an IPluginDescriptor corresponding to a plug-in. To adapt to the deprecation, the bundle corresponding to the plug-in generally needs to be acquired. There are several cases:

  • the descriptor was discovered using methods such as IPluginRegistry.getPluginDescriptor(). The code should be updated to use one of the bundle discovery mechanisms such as Platform.getBundle().
  • the descriptor is from the plug-in itself. The code should be updated to use the plug-in's bundle instead.
  • the descriptor is supplied by a third party. The plug-in writer must cooperate with that party to obtain a bundle rather than a descriptor.

The resulting bundle object can be used to carry out the adaptation steps outlined for each of the IPluginDescriptor methods.

 
org.eclipse.core.runtime.IPluginPrerequisite
          In Eclipse 3.0 the plug-in prerequisite representation was changed. Clients of IPluginPrerequisite are directed to the headers associated with the relevant bundle. In particular, the Require-Bundle header contains all available information about the prerequisites of a plug-in. Having retrieved the header, the ManifestElement helper class can be used to parse the value and discover the individual prerequisite plug-ins. The various header attributes are defined in Constants.

For example,

    String header = bundle.getHeaders().get(Constants.REQUIRE_BUNDLE);
     ManifestElement[] elements = ManifestElement.parseHeader(
         Constants.REQUIRE_BUNDLE, header);
     if (elements == null) 
         return;
     elements[0].getValue();   // the prerequisite plug-in id
     elements[0].getAttribute(Constants.BUNDLE_VERSION_ATTRIBUTE);   // the prerequisite plug-in version
     ...
 

See IPluginDescriptor for information on the relationship between plug-in descriptors and bundles.

This interface must only be used by plug-ins which explicitly require the org.eclipse.core.runtime.compatibility plug-in.

 
org.eclipse.core.runtime.IPluginRegistry
          The plug-in registry has been generalized in Eclipse 3.0. It is now the IExtensionRegistry. Most of the IPluginRegistry function is directly supported on the new interface without change. Most clients of IPluginRegistry need only to change their references to use IExtensionRegistry. The only exceptions are methods that return IPluginDescriptors. See the relevant method comments for details.

This interface must only be used by plug-ins which explicitly require the org.eclipse.core.runtime.compatibility plug-in.

 
org.eclipse.update.configuration.ISessionDelta
          Do not use this interface 
org.eclipse.ui.commands.IWorkbenchCommandSupport
          Please use ICommandService and IHandlerService instead. 
org.xml.sax.Parser
          This interface has been replaced by the SAX2 XMLReader interface, which includes Namespace support. 
 

Deprecated Classes
org.xml.sax.helpers.AttributeListImpl
          This class implements a deprecated interface, AttributeList; that interface has been replaced by Attributes, which is implemented in the AttributesImpl helper class. 
org.xml.sax.HandlerBase
          This class works with the deprecated DocumentHandler interface. It has been replaced by the SAX2 DefaultHandler class. 
org.eclipse.ui.commands.HandlerSubmission
          Please use IHandlerService.activateHandler instead. 
org.xml.sax.helpers.ParserFactory
          This class works with the deprecated Parser interface. 
org.eclipse.core.runtime.PluginVersionIdentifier
          clients should use Version instead 
org.eclipse.ui.commands.Priority
          This concept is now captured in the ISources integer constants. 
 

Deprecated Fields
org.eclipse.jface.util.OpenStrategy.ACTIVE_DESKTOP
            
org.eclipse.ui.IWorkbenchPreferenceConstants.ALTERNATE_OPEN_NEW_PERSPECTIVE
          Workbench no longer supports alternate key modifier to open a new perspective. Callers should use IWorkbench.showPerspective methods. 
org.eclipse.core.runtime.Platform.ARCH_AMD64
          use ARCH_X86_64 instead. Note the values has been changed to be the value of the ARCH_X86_64 constant. 
org.eclipse.osgi.service.environment.Constants.ARCH_AMD64
          use ARCH_X86_64 instead. Note the values has been changed to be the value of the ARCH_X86_64 constant. 
org.eclipse.core.runtime.ILibrary.CODE
          As of Eclipse 3.0 library types are obsolete. There is no replacement. 
org.eclipse.osgi.framework.internal.core.Constants.ECLIPSE_AUTOSTART
          use Constants.ECLIPSE_LAZYSTART 
org.eclipse.osgi.framework.internal.core.Constants.ECLIPSE_AUTOSTART_EXCEPTIONS
          use Constants.ECLIPSE_LAZYSTART_EXCEPTIONS 
org.eclipse.ui.IWorkbenchPage.EDITOR_ID_ATTR
          in 3.0 since the notion of markers this is not generally applicable. Use the IDE-specific constant IDE.EDITOR_ID_ATTR. 
org.osgi.framework.Constants.EXPORT_SERVICE
          As of 1.2. 
org.eclipse.jface.util.OpenStrategy.FILE_EXPLORER
            
org.eclipse.ui.ISharedImages.IMG_OBJ_PROJECT
          in 3.0. This image is IDE-specific, and is therefore found only in IDE configurations. IDE-specific tools should use org.eclipse.ui.ide.IDE.SharedImages.IMG_OBJ_PROJECT instead. 
org.eclipse.ui.ISharedImages.IMG_OBJ_PROJECT_CLOSED
          in 3.0. This image is IDE-specific, and is therefore found only in IDE configurations. IDE-specific tools should use org.eclipse.ui.ide.IDE.SharedImages.IMG_OBJ_PROJECT_CLOSED instead. 
org.eclipse.ui.ISharedImages.IMG_OBJS_BKMRK_TSK
          in 3.0. This image is IDE-specific, and is therefore found only in IDE configurations. IDE-specific tools should use org.eclipse.ui.ide.IDE.SharedImages.IMG_OBJS_BKMRK_TSK instead. 
org.eclipse.ui.ISharedImages.IMG_OBJS_TASK_TSK
          in 3.0. This image is IDE-specific, and is therefore found only in IDE configurations. IDE-specific tools should use org.eclipse.ui.ide.IDE.SharedImages.IMG_OBJS_TASK_TSK instead. 
org.eclipse.ui.ISharedImages.IMG_OPEN_MARKER
          in 3.0. This image is IDE-specific, and is therefore found only in IDE configurations. IDE-specific tools should use org.eclipse.ui.ide.IDE.SharedImages.IMG_OPEN_MARKER instead. 
org.eclipse.ui.ISharedImages.IMG_TOOL_BACK_HOVER
          in 3.0. This image is now the same as IMG_TOOL_BACK. Enabled images are now in color. The workbench itself no longer uses the hover image variants. 
org.eclipse.ui.ISharedImages.IMG_TOOL_COPY_HOVER
          in 3.0. This image is now the same as IMG_TOOL_COPY. Enabled images are now in color. The workbench itself no longer uses the hover image variants. 
org.eclipse.ui.ISharedImages.IMG_TOOL_CUT_HOVER
          in 3.0. This image is now the same as IMG_TOOL_CUT. Enabled images are now in color. The workbench itself no longer uses the hover image variants. 
org.eclipse.ui.ISharedImages.IMG_TOOL_DELETE_HOVER
          in 3.0. This image is now the same as IMG_TOOL_DELETE. Enabled images are now in color. The workbench itself no longer uses the hover image variants. 
org.eclipse.ui.ISharedImages.IMG_TOOL_FORWARD_HOVER
          in 3.0. This image is now the same as IMG_TOOL_FORWARD. Enabled images are now in color. The workbench itself no longer uses the hover image variants. 
org.eclipse.ui.ISharedImages.IMG_TOOL_NEW_WIZARD_HOVER
          in 3.0. This image is now the same as IMG_TOOL_NEW_WIZARD. Enabled images are now in color. The workbench itself no longer uses the hover image variants. 
org.eclipse.ui.ISharedImages.IMG_TOOL_PASTE_HOVER
          in 3.0. This image is now the same as IMG_TOOL_PASTE. Enabled images are now in color. The workbench itself no longer uses the hover image variants. 
org.eclipse.ui.ISharedImages.IMG_TOOL_REDO_HOVER
          in 3.0. This image is now the same as IMG_TOOL_REDO. Enabled images are now in color. The workbench itself no longer uses the hover image variants. 
org.eclipse.ui.ISharedImages.IMG_TOOL_UNDO_HOVER
          in 3.0. This image is now the same as IMG_TOOL_UNDO. Enabled images are now in color. The workbench itself no longer uses the hover image variants. 
org.eclipse.ui.ISharedImages.IMG_TOOL_UP_HOVER
          in 3.0. This image is now the same as IMG_TOOL_UP. Enabled images are now in color. The workbench itself no longer uses the hover image variants. 
org.osgi.framework.Constants.IMPORT_SERVICE
          As of 1.2. 
org.eclipse.core.commands.ParameterizedCommand.INDEX_PARAMETER_ID
          no longer used 
org.eclipse.core.commands.ParameterizedCommand.INDEX_PARAMETER_NAME
          no longer used 
org.eclipse.core.commands.ParameterizedCommand.INDEX_PARAMETER_VALUE_NAME
          no longer used 
org.eclipse.core.commands.ParameterizedCommand.INDEX_PARAMETER_VALUE_VALUE
          no longer used 
org.eclipse.ui.WorkbenchEncoding.ISO_8859_1
          Use #getDefinedEncodings. This API will be deleted before 3.1 M2. 
org.eclipse.osgi.service.resolver.BundleDelta.LINKAGE_CHANGED
          this type is no longer valid 
org.eclipse.jface.util.OpenStrategy.NO_TIMER
            
org.eclipse.ui.IWorkbenchPreferenceConstants.OPEN_PERSPECTIVE_PAGE
          Opening a Perspective in a new page is no longer supported functionality as of 2.0. 
org.eclipse.osgi.framework.internal.core.Constants.OPTIONAL_ATTRIBUTE
            
org.eclipse.osgi.service.resolver.BundleDelta.OPTIONAL_LINKAGE_CHANGED
          this type is no longer valid 
org.osgi.framework.Constants.PACKAGE_SPECIFICATION_VERSION
          As of 1.3. This has been replaced by Constants.VERSION_ATTRIBUTE. 
org.eclipse.ui.IWorkbenchPreferenceConstants.PROJECT_OPEN_NEW_PERSPECTIVE
          in 3.0. This org.eclipse.jface.preference is IDE-specific, and is therefore found only in IDE configurations. IDE-specific tools should use org.eclipse.ui.ide.IDE.Preferences.PROJECT_OPEN_NEW_PERSPECTIVE instead. 
org.eclipse.osgi.framework.internal.core.Constants.PROVIDE_PACKAGE
            
org.eclipse.osgi.framework.internal.core.Constants.REEXPORT_PACKAGE
            
org.eclipse.osgi.framework.internal.core.Constants.REPROVIDE_ATTRIBUTE
            
org.eclipse.osgi.framework.internal.core.Constants.REQUIRE_PACKAGES_ATTRIBUTE
            
org.eclipse.core.runtime.ILibrary.RESOURCE
          As of Eclipse 3.0 library types are obsolete. There is no replacement. 
org.eclipse.ui.IWorkbenchPreferenceConstants.SHIFT_OPEN_NEW_PERSPECTIVE
          Workbench no longer supports shift key modifier to open a new perspective. Callers should use IWorkbench.showPerspective methods. 
org.eclipse.ui.WorkbenchEncoding.US_ASCII
          Use #getDefinedEncodings. This API will be deleted before 3.1 M2. 
org.eclipse.ui.WorkbenchEncoding.UTF_16
          Use #getDefinedEncodings. This API will be deleted before 3.1 M2. 
org.eclipse.ui.WorkbenchEncoding.UTF_16_BIG_ENDIAN
          Use #getDefinedEncodings. This API will be deleted before 3.1 M2. 
org.eclipse.ui.WorkbenchEncoding.UTF_16_LITTLE_ENDIAN
          Use #getDefinedEncodings. This API will be deleted before 3.1 M2. 
org.eclipse.ui.WorkbenchEncoding.UTF_8
          Use #getDefinedEncodings. This API will be deleted before 3.1 M2. 
org.eclipse.jface.resource.JFaceResources.VIEWER_FONT
          This font is not in use 
org.eclipse.jface.resource.JFaceResources.WINDOW_FONT
          This font is not in use 
 

Deprecated Methods
org.eclipse.update.search.BaseFilter.accept(IFeature)
          In 3.1 only the accept (IFeatureReference) will be used 
org.eclipse.update.search.IUpdateSearchFilter.accept(IFeature)
          In 3.1 only the accept (IFeatureReference) will be used 
org.eclipse.ui.IWorkbenchPage.addPropertyChangeListener(IPropertyChangeListener)
          individual views should store a working set if needed and register a property change listener directly with the working set manager to receive notification when the view working set is removed. 
org.eclipse.jface.viewers.AbstractTreeViewer.addSelectionListener(Control, SelectionListener)
            
org.eclipse.jface.resource.StringConverter.asDisplayableString(FontData)
          use asString(FontData) 
org.eclipse.core.runtime.Platform.asLocalURL(URL)
          use FileLocator.toFileURL(URL) instead 
org.eclipse.jface.resource.FontRegistry.bestData(FontData[], Display)
          use bestDataArray in order to support Motif multiple entry fonts. 
org.eclipse.jface.resource.FontRegistry.bestDataArray(FontData[], Display)
          use filterData in order to preserve multiple entry fonts on Motif 
org.eclipse.jface.resource.JFaceColors.clearColor(String)
          JFaceColors no longer maintains a cache of colors. This job is now handled by the ColorRegistry. 
org.eclipse.ui.presentations.StackPresentation.computeMinimumSize()
          replaced by computePreferredSize 
org.eclipse.osgi.service.resolver.StateObjectFactory.createBundleDescription(Dictionary, String, long)
          use StateObjectFactory.createBundleDescription(State, Dictionary, String, long) 
org.eclipse.osgi.service.resolver.StateObjectFactory.createBundleDescription(long, String, Version, String, BundleSpecification[], HostSpecification, ImportPackageSpecification[], ExportPackageDescription[], String[], boolean)
          use StateObjectFactory.createBundleDescription(long, String, Version, String, BundleSpecification[], HostSpecification, ImportPackageSpecification[], ExportPackageDescription[], boolean, boolean, boolean, String, String[], GenericSpecification[], GenericDescription[]) 
org.eclipse.osgi.service.resolver.StateObjectFactory.createBundleDescription(long, String, Version, String, BundleSpecification[], HostSpecification, ImportPackageSpecification[], ExportPackageDescription[], String[], boolean, boolean, boolean, String, String, GenericSpecification[], GenericDescription[])
          use StateObjectFactory.createBundleDescription(long, String, Version, String, BundleSpecification[], HostSpecification, ImportPackageSpecification[], ExportPackageDescription[], boolean, boolean, boolean, String, String[], GenericSpecification[], GenericDescription[]) 
org.eclipse.ui.application.WorkbenchAdvisor.createEmptyWindowContents(IWorkbenchWindowConfigurer, Composite)
          since 3.1, override WorkbenchWindowAdvisor.createEmptyWindowContents(Composite) instead 
org.eclipse.update.core.ISite.createFeature(String, URL)
          use createFeature(String,URL,IProgressMonitor) instead 
org.eclipse.update.core.Site.createFeature(String, URL)
            
org.eclipse.update.core.BaseFeatureFactory.createFeature(URL, ISite)
          implement createFeature(URL, ISite, IProgressMonitor) instead 
org.eclipse.update.core.IFeatureFactory.createFeature(URL, ISite)
          use createFeature(URL, ISite, IProgressMonitor) instead 
org.eclipse.osgi.service.resolver.StateObjectFactory.createState()
          use StateObjectFactory.createState(boolean) 
org.eclipse.ui.application.WorkbenchAdvisor.createWindowContents(IWorkbenchWindowConfigurer, Shell)
          since 3.1, override WorkbenchWindowAdvisor.createWindowContents(Shell) instead 
org.eclipse.jface.resource.JFaceColors.disposeColors()
          JFaceColors no longer maintains a cache of colors. This job is now handled by the ColorRegistry. 
org.eclipse.core.commands.Command.execute(ExecutionEvent)
          Please use Command.executeWithChecks(ExecutionEvent) instead. 
org.eclipse.core.commands.ParameterizedCommand.execute(Object, Object)
          Please use ParameterizedCommand.executeWithChecks(Object, Object) instead. 
org.eclipse.core.runtime.Platform.find(Bundle, IPath)
          use FileLocator.find(Bundle, IPath, Map) 
org.eclipse.core.runtime.Platform.find(Bundle, IPath, Map)
          use FileLocator.find(Bundle, IPath, Map) instead 
org.eclipse.core.runtime.IPluginDescriptor.find(IPath)
          Use
     Platform.find(bundle, file) 
 
where bundle is the bundle associated with the relevant plug-in.
 
org.eclipse.core.runtime.Plugin.find(IPath)
          use FileLocator.find(Bundle, IPath, Map) 
org.eclipse.core.runtime.IPluginDescriptor.find(IPath, Map)
          Use
     Platform.find(bundle, path, override) 
 
where bundle is the bundle associated with the relevant plug-in.
 
org.eclipse.core.runtime.Plugin.find(IPath, Map)
          use FileLocator.find(Bundle, IPath, Map) 
org.eclipse.core.runtime.IConfigurationElement.getAttributeAsIs(String)
          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. 
org.eclipse.update.configurator.IPlatformConfiguration.getBootstrapPluginIdentifiers()
          Do not use this method. Check the osgi.bundles system property for the urls of the automatically started bundles 
org.eclipse.ui.IWorkbench.getCommandSupport()
          Please use getAdapter(ICommandService.class) instead. 
org.eclipse.core.runtime.IPluginRegistry.getConfigurationElementsFor(String)
          Replaced by IExtensionRegistry.getConfigurationElementsFor(String). 
org.eclipse.core.runtime.IPluginRegistry.getConfigurationElementsFor(String, String)
          Replaced by IExtensionRegistry.getConfigurationElementsFor(String, String). 
org.eclipse.core.runtime.IPluginRegistry.getConfigurationElementsFor(String, String, String)
          Replaced by IExtensionRegistry.getConfigurationElementsFor(String, String, String). 
org.osgi.framework.Configurable.getConfigurationObject()
          As of 1.2. Please use Configuration Admin service. 
org.eclipse.core.runtime.ILibrary.getContentFilters()
          As of Eclipse 3.0 content filters are obsolete. There is no replacement. 
org.eclipse.core.runtime.Plugin.getDescriptor()
          IPluginDescriptor was refactored in Eclipse 3.0. The getDescriptor() 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. 
org.eclipse.ui.IPageLayout.getEditorReuseThreshold()
          this always returns -1 as of Eclipse 2.1 
org.eclipse.core.runtime.IPluginDescriptor.getExtension(String)
          Use
     Platform.getExtensionRegistry().getExtension(id + "." + extensionName) 
 
where id is the plug-in id.
 
org.eclipse.core.runtime.IPluginRegistry.getExtension(String, String)
          Replaced by IExtensionRegistry.getExtension(String, String). 
org.eclipse.core.runtime.IPluginRegistry.getExtension(String, String, String)
          Replaced by IExtensionRegistry.getExtension(String, String, String). 
org.eclipse.core.runtime.IPluginDescriptor.getExtensionPoint(String)
          Use
     Platform.getExtensionRegistry().getExtensionPoint(id, extensionPointId) 
 
where id is the plug-in id.
 
org.eclipse.core.runtime.IPluginRegistry.getExtensionPoint(String)
          Replaced by IExtensionRegistry.getExtensionPoint(String). 
org.eclipse.core.runtime.IPluginRegistry.getExtensionPoint(String, String)
          Replaced by IExtensionRegistry.getExtensionPoint(String, String). 
org.eclipse.core.runtime.IPluginDescriptor.getExtensionPoints()
          Use
     Platform.getExtensionRegistry().getExtensionPoints(id) 
 
where id is the plug-in id.
 
org.eclipse.core.runtime.IPluginRegistry.getExtensionPoints()
          Replaced by IExtensionRegistry.getExtensionPoints(). 
org.eclipse.core.runtime.IPluginDescriptor.getExtensions()
          Use
     Platform.getExtensionRegistry().getExtensions(id) 
 
where id is the plug-in id.
 
org.eclipse.update.core.FeatureReference.getFeature()
          use getFeaure(IProgressMonitor) 
org.eclipse.update.core.IFeatureReference.getFeature()
          use getFeature(IProgressMonitor) instead 
org.eclipse.update.core.IIncludedFeatureReference.getFeature()
          use getFeature(IProgressMonitor) 
org.eclipse.update.core.IncludedFeatureReference.getFeature()
          use getFeature(IProgressMonitor) 
org.eclipse.update.core.IIncludedFeatureReference.getFeature(boolean, IConfiguredSite)
          use getFeature(IProgressMonitor) 
org.eclipse.update.core.IncludedFeatureReference.getFeature(boolean, IConfiguredSite)
          use getFeature(IProgressMonitor) 
org.eclipse.update.core.IIncludedFeatureReference.getFeature(boolean, IConfiguredSite, IProgressMonitor)
          use getFeature(IProgressMonitor) 
org.eclipse.update.core.IncludedFeatureReference.getFeature(boolean, IConfiguredSite, IProgressMonitor)
          use getFeature(IProgressMonitor) 
org.eclipse.update.core.model.FeatureModel.getFeatureIncludeVersionedIdentifier()
          use getFeatureIncludeIdentifier instead. 
org.eclipse.update.configurator.IPlatformConfiguration.getFeaturesChangeStamp()
          Do not use this method. 
org.eclipse.update.configurator.IPlatformConfiguration.ISiteEntry.getFeaturesChangeStamp()
          Do not use this method 
org.eclipse.jface.util.SafeRunnable.getIgnoreErrors(boolean)
          use getIgnoreErrors() 
org.eclipse.core.runtime.IPluginDescriptor.getInstallURL()
          Use
     bundle.getEntry("/");
 
where bundle is the bundle associated with the relevant plug-in or simply use the getEntry API to construct the desired URL.
 
org.eclipse.core.runtime.Platform.getJobManager()
          The method Job.getJobManager() should be used instead. 
org.eclipse.core.runtime.IPluginDescriptor.getLabel()
          Use
     bundle.getHeaders().get(org.osgi.framework.Constants.BUNDLE_NAME) 
 
where bundle is the bundle associated with the relevant plug-in.
 
org.eclipse.update.core.model.IncludedFeatureReferenceModel.getMatch()
          since 3.0 included feature version is exactly specified 
org.eclipse.update.core.IIncludedFeatureReference.getMatch()
          since 3.0 included feature version is exactly specified 
org.eclipse.core.runtime.IConfigurationElement.getNamespace()
          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.

 
org.eclipse.core.runtime.IExtensionPoint.getNamespace()
          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.

 
org.eclipse.core.runtime.IExtension.getNamespace()
          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.

 
org.eclipse.core.runtime.ILibrary.getPackagePrefixes()
          As of Eclipse 3.0 package prefix filtering is obsolete. There is no replacement. 
javax.xml.parsers.SAXParser.getParser()
          Parser class is deprecated, use instead getXMLReader() 
org.eclipse.ercp.jaxp.implForCore.SAXParserImpl.getParser()
          Parser class is deprecated, use instead getXMLReader() 
org.eclipse.core.runtime.ILibrary.getPath()
          Given a manifest element corresponding to a classpath entry, the path for the entry can be accessed by getting the value of the manifest element. For example,
     element.getValue();   // the jar/dir containing the code
 
 
org.eclipse.core.runtime.IPluginDescriptor.getPlugin()
          In Eclipse 3.0 plug-in runtime objects are not globally managed and so are not generically accessible. Rather, each plug-in is free to declare API which exposes the plug-in runtime object (e.g., MyPlugin.getInstance()). If this method is being used to activate a plug-in then the following code is equivalent:
     bundle.start()
 
where bundle is the bundle associated with the relevant plug-in.
 
org.eclipse.core.runtime.Platform.getPlugin(String)
          This method only works if the compatibility layer is installed and must not be used otherwise. See the comments on IPluginDescriptor.getPlugin() for details. 
org.eclipse.core.runtime.IPluginDescriptor.getPluginClassLoader()
          Use
     bundle.loadClass(className)
 
where bundle is the bundle associated with the relevant plug-in.
 
org.eclipse.core.runtime.IPluginRegistry.getPluginDescriptor(String)
          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. 
org.eclipse.core.runtime.IPluginRegistry.getPluginDescriptor(String, PluginVersionIdentifier)
          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. 
org.eclipse.core.runtime.IPluginRegistry.getPluginDescriptors()
          IPluginDescriptor was refactored in Eclipse 3.0. The getPluginDescriptors() 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. 
org.eclipse.core.runtime.IPluginRegistry.getPluginDescriptors(String)
          IPluginDescriptor was refactored in Eclipse 3.0. The getPluginDescriptors() 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. 
org.eclipse.update.core.model.ImportModel.getPluginIdentifier()
          use getIdentifier() instead 
org.eclipse.core.runtime.IPluginDescriptor.getPluginPrerequisites()
          Use
     import org.eclipse.osgi.util.ManifestElement;
     import org.osgi.framework.Constants;
     ...
     String requires = (String)bundle.getHeaders().get(Constants.REQUIRE_BUNDLE);
     ManifestElement[] elements = ManifestElement.parseHeader(Constants.REQUIRE_BUNDLE, requires);
 
where bundle is the bundle associated with the relevant plug-in. The resultant elements array contains one entry for each required plug-in.
 
org.eclipse.core.runtime.Platform.getPluginRegistry()
          IPluginRegistry was refactored in Eclipse 3.0. This method only works if the compatibility layer is installed and must not be used otherwise. See the comments on IPluginRegistry and its methods for details. 
org.eclipse.update.configurator.IPlatformConfiguration.getPluginsChangeStamp()
          Do not use this method 
org.eclipse.update.configurator.IPlatformConfiguration.ISiteEntry.getPluginsChangeStamp()
          Do not use this method 
org.eclipse.core.runtime.Platform.getPluginStateLocation(Plugin)
          clients should call getStateLocation instead 
org.eclipse.update.core.model.ImportModel.getPluginVersion()
          use getVersion() instead 
org.eclipse.core.runtime.IPluginDescriptor.getProviderName()
          Use
     bundle.getHeaders().get(org.osgi.framework.Constants.BUNDLE_VENDOR) 
 
where bundle is the bundle associated with the relevant plug-in.
 
org.eclipse.core.runtime.IPluginPrerequisite.getResolvedVersionIdentifier()
          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();
 
 
org.eclipse.core.runtime.IPluginDescriptor.getResourceBundle()
          Use
     Platform.getResourceBundle(bundle)
 
where bundle is the bundle associated with the relevant plug-in.
 
org.eclipse.core.runtime.IPluginDescriptor.getResourceString(String)
          Use
     Platform.getResourceString(bundle, value)
 
where bundle is the bundle associated with the relevant plug-in.
 
org.eclipse.core.runtime.IPluginDescriptor.getResourceString(String, ResourceBundle)
          Use
     Platform.getResourceString(bundle, value, resourceBundle) 
 
where bundle is the bundle associated with the relevant plug-in.
 
org.eclipse.core.runtime.IPluginDescriptor.getRuntimeLibraries()
          Use
     import org.eclipse.osgi.util.ManifestElement;
     import org.osgi.framework.Constants;
     ...
     String requires = (String)bundle.getHeaders().get(Constants.BUNDLE_CLASSPATH);
     ManifestElement[] elements = ManifestElement.parseHeader(Constants.BUNDLE_CLASSPATH, requires);
 
where bundle is the bundle associated with the relevant plug-in. The resultant elements array contains one entry for each entry on the bundle's classpath..
 
org.eclipse.update.core.SiteManager.getSite(URL)
          use getSite(URL,IPogressMonitor) instead 
org.eclipse.update.core.SiteManager.getSite(URL, boolean)
          use getSite(URL,boolean,IPogressMonitor) instead 
org.osgi.service.packageadmin.ExportedPackage.getSpecificationVersion()
          As of 1.2, replaced by ExportedPackage.getVersion(). 
org.eclipse.core.runtime.ILibrary.getType()
          As of Eclipse 3.0 library types are obsolete. There is no replacement. 
org.eclipse.core.runtime.IPluginDescriptor.getUniqueIdentifier()
          Use
     bundle.getSymbolicName() 
 
where bundle is the bundle associated with the relevant plug-in.
 
org.eclipse.core.runtime.IPluginPrerequisite.getUniqueIdentifier()
          Given a manifest element equivalent of a plug-in prerequisite (see the class comment), this method is replaced by:
     element.getValue();
 
 
org.eclipse.core.runtime.IConfigurationElement.getValueAsIs()
          The method is equivalent to the IConfigurationElement.getValue(). Contrary to its description, this method returns a translated value. Use the IConfigurationElement.getValue() method instead. 
org.eclipse.core.runtime.IPluginDescriptor.getVersionIdentifier()
          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.
 
org.eclipse.core.runtime.IPluginPrerequisite.getVersionIdentifier()
          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();
 
 
org.eclipse.jface.resource.JFaceResources.getViewerFont()
          This font is not in use 
org.eclipse.ui.IWorkbenchPage.getViews()
          use #getViewReferences() instead. 
org.eclipse.update.core.SiteManager.handleNewChanges()
          Do not use this method 
org.eclipse.core.runtime.Plugin.initializeDefaultPluginPreferences()
          This method has been refactored in the new preference mechanism to handle the case where the runtime compatibility layer does not exist. The contents of this method should be moved to the method named initializeDefaultPreferences in a separate subclass of AbstractPreferenceInitializer. This class should be contributed via the org.eclipse.core.runtime.preferences extension point.
        <extension point=&quo;org.eclipse.core.runtime.preferences&quo;>
                        <initializer class=&quo;com.example.MyPreferenceInitializer&quo;/>
                </extension>
                ...
                package com.example;
                public class MyPreferenceInitializer extends AbstractPreferenceInitializer {
                        public MyPreferenceInitializer() {
                                super();
                        }
                        public void initializeDefaultPreferences() {
                                Preferences node = new DefaultScope().getNode("my.plugin.id");
                                node.put(key, value);
                        }
                }
 
 
org.eclipse.ui.plugin.AbstractUIPlugin.initializeDefaultPluginPreferences()
          this is only called if the runtime compatibility layer is present. See the deprecated comment in Plugin.initializeDefaultPluginPreferences(). 
org.eclipse.ui.plugin.AbstractUIPlugin.initializeDefaultPreferences(IPreferenceStore)
          this is only called if the runtime compatibility layer is present. See AbstractUIPlugin.initializeDefaultPluginPreferences(). 
org.eclipse.ui.application.WorkbenchAdvisor.isApplicationMenu(IWorkbenchWindowConfigurer, String)
          since 3.1, override ActionBarAdvisor#isApplicationMenu(String) instead 
org.eclipse.core.runtime.IPluginPrerequisite.isExported()
          Given a manifest element equivalent of a plug-in prerequisite (see the class comment), this method is replaced by:
     element.getAttribute(Constants.REPROVIDE_ATTRIBUTE);
 
 
org.eclipse.core.runtime.ILibrary.isExported()
          As of Eclipse 3.0 exporting an individual library is obsolete. There is no replacement. 
org.eclipse.core.runtime.ILibrary.isFullyExported()
          As of Eclipse 3.0 exporting an individual library is obsolete. There is no replacement. 
org.eclipse.core.runtime.IPluginPrerequisite.isMatchedAsCompatible()
          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");
     VersionRange versionRange = spec.getVersionRange();
     if (versionRange == null || versionRange.getMinimum() == null)
         return false;
     Version minimum = versionRange.getMinimum();
     Version maximum = versionRange.getMaximum() == null ? Version.maxVersion : versionRange.getMaximum();
     if (!minimum.isInclusive() || maximum.isInclusive())
         return false;
     else if (minimum.getMajorComponent() == maximum.getMajorComponent() - 1)
         return true;
     return false;      
 
 
org.eclipse.core.runtime.IPluginPrerequisite.isMatchedAsEquivalent()
          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");
     VersionRange versionRange = spec.getVersionRange();
     if (versionRange == null || versionRange.getMinimum() == null)
         return false;
     Version minimum = versionRange.getMinimum();
     Version maximum = versionRange.getMaximum() == null ? Version.maxVersion : versionRange.getMaximum();
     if (!minimum.isInclusive() || maximum.isInclusive())
         return false;
     else if (minimum.getMajorComponent() == maximum.getMajorComponent() - 1)
         return false;
     else if (minimum.getMajorComponent() != maximum.getMajorComponent())
         return false;
     else if (minimum.getMinorComponent() == maximum.getMinorComponent() - 1)
         return true;
     return false;
 
 
org.eclipse.core.runtime.IPluginPrerequisite.isMatchedAsExact()
          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");
     VersionRange versionRange = spec.getVersionRange();
     if (versionRange == null || versionRange.getMinimum() == null)
         return false;
     Version minimum = versionRange.getMinimum();
     Version maximum = versionRange.getMaximum() == null ? Version.maxVersion : versionRange.getMaximum();
     if (!minimum.isInclusive() || maximum.isInclusive())
         return false;
     else if (minimum.getMajorComponent() == maximum.getMajorComponent() - 1)
         return false;
     else if (minimum.getMajorComponent() != maximum.getMajorComponent())
         return false;
     else if (minimum.getMinorComponent() == maximum.getMinorComponent() - 1)
         return true;
     return false;
 
 
org.eclipse.core.runtime.IPluginPrerequisite.isMatchedAsGreaterOrEqual()
          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");
     VersionRange versionRange = spec.getVersionRange();
     if (versionRange == null || versionRange.getMinimum() == null)
         return false;
     Version minimum = versionRange.getMinimum();
     Version maximum = versionRange.getMaximum() == null ? Version.maxVersion : versionRange.getMaximum();
     if (maximum.equals(Version.maxVersion))
         return true;
     return false;
 
 
org.eclipse.core.runtime.IPluginPrerequisite.isMatchedAsPerfect()
          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");
     VersionRange versionRange = spec.getVersionRange();
     if (versionRange == null || versionRange.getMinimum() == null)
         return false;
     Version minimum = versionRange.getMinimum();
     Version maximum = versionRange.getMaximum() == null ? Version.maxVersion : versionRange.getMaximum();
     if (minimum.equals(maximum))
         return true;
     return false;
 
 
org.eclipse.core.runtime.IPluginPrerequisite.isOptional()
          Given a manifest element equivalent of a plug-in prerequisite (see the class comment), this method is replaced by:
     "true".equals(element.getAttribute(Constants.OPTIONAL_ATTRIBUTE);
 
 
org.eclipse.core.runtime.IPluginDescriptor.isPluginActivated()
          Use
     bundle.getState == org.osgi.framework.Bundle.ACTIVE 
 
where bundle is the bundle associated with the relevant plug-in.
 
org.eclipse.update.configuration.IConfiguredSite.isPrivateSite()
          private site are considered the same as extension site (3.0) 
org.eclipse.jface.action.SubContributionManager.items()
          Use getItems(String value) instead. 
org.eclipse.ui.plugin.AbstractUIPlugin.loadPreferenceStore()
          As of Eclipse 2.0, a basic org.eclipse.jface.preference store exists for all plug-ins. This method now exists only for backwards compatibility. It is called as the plug-in's org.eclipse.jface.preference store is being initialized. The plug-ins preferences are loaded from the file regardless of what this method does. 
org.eclipse.ui.application.WorkbenchAdvisor.openIntro(IWorkbenchWindowConfigurer)
          since 3.1, override WorkbenchWindowAdvisor.openIntro() instead 
org.eclipse.core.runtime.Plugin.openStream(IPath)
          use FileLocator.openStream(Bundle, IPath, boolean) 
org.eclipse.core.runtime.Plugin.openStream(IPath, boolean)
          use FileLocator.openStream(Bundle, IPath, boolean) 
org.eclipse.ui.application.WorkbenchAdvisor.postWindowClose(IWorkbenchWindowConfigurer)
          since 3.1, override WorkbenchWindowAdvisor.postWindowClose() instead 
org.eclipse.ui.application.WorkbenchAdvisor.postWindowCreate(IWorkbenchWindowConfigurer)
          since 3.1, override WorkbenchWindowAdvisor.postWindowCreate() instead 
org.eclipse.ui.application.WorkbenchAdvisor.postWindowOpen(IWorkbenchWindowConfigurer)
          since 3.1, override WorkbenchWindowAdvisor.postWindowOpen() instead 
org.eclipse.ui.application.WorkbenchAdvisor.postWindowRestore(IWorkbenchWindowConfigurer)
          since 3.1, override WorkbenchWindowAdvisor.postWindowRestore() instead 
org.eclipse.ui.application.WorkbenchAdvisor.preWindowOpen(IWorkbenchWindowConfigurer)
          since 3.1, override WorkbenchWindowAdvisor.preWindowOpen() instead 
org.eclipse.ui.application.WorkbenchAdvisor.preWindowShellClose(IWorkbenchWindowConfigurer)
          since 3.1, override WorkbenchWindowAdvisor.preWindowShellClose() instead 
org.eclipse.osgi.service.resolver.StateObjectFactory.readState(DataInputStream)
          use StateObjectFactory.readState(File) instead 
org.eclipse.osgi.service.resolver.StateObjectFactory.readState(InputStream)
          use StateObjectFactory.readState(File) instead 
org.eclipse.ui.IWorkbenchPage.removePropertyChangeListener(IPropertyChangeListener)
          individual views should store a working set if needed and register a property change listener directly with the working set manager to receive notification when the view working set is removed. 
org.eclipse.core.runtime.Platform.resolve(URL)
          use FileLocator.resolve(URL) instead 
org.eclipse.core.runtime.jobs.IJobManager.resume(ISchedulingRule)
          This method is not safe and should not be used. Suspending a scheduling rule violates the thread safety of clients that use scheduling rules as a mutual exclusion mechanism, and can result in concurrency problems in all clients that use the suspended rule. 
org.eclipse.core.runtime.Platform.run(ISafeRunnable)
          clients should use SafeRunner#run instead 
org.eclipse.ui.plugin.AbstractUIPlugin.savePreferenceStore()
          As of Eclipse 2.0, preferences exist for all plug-ins. The equivalent of this method is Plugin.savePluginPreferences. This method now calls savePluginPreferences, and exists only for backwards compatibility. 
org.eclipse.update.configurator.IPlatformConfiguration.setBootstrapPluginLocation(String, URL)
          Do not use this method. Use the osig.bundles system property contains the urls of the automatically started bundles. 
org.eclipse.ui.IPageLayout.setEditorReuseThreshold(int)
          this method has no effect, as of Eclipse 2.1 
org.eclipse.update.core.model.IncludedFeatureReferenceModel.setMatchingRule(int)
          since 3.0 included feature version is exactly specified 
org.eclipse.update.core.model.ImportModel.setPluginIdentifier(String)
          use setIdentifier() 
org.eclipse.update.core.model.ImportModel.setPluginVersion(String)
          use setVersion() 
org.eclipse.ui.part.WorkbenchPart.setTitle(String)
          new code should use setPartName and setContentDescription 
org.eclipse.osgi.framework.internal.protocol.URLStreamHandlerSetter.setURL(URL, String, String, int, String, String)
            
org.osgi.service.url.AbstractURLStreamHandlerService.setURL(URL, String, String, int, String, String)
          This method is only for compatibility with handlers written for JDK 1.1. 
org.osgi.service.url.URLStreamHandlerSetter.setURL(URL, String, String, int, String, String)
          This method is only for compatibility with handlers written for JDK 1.1. 
org.eclipse.core.runtime.Plugin.shutdown()
          In Eclipse 3.0 this method has been replaced by Plugin.stop(BundleContext context). Implementations of shutdown() should be changed to override stop(BundleContext context) and call super.stop(context) instead of super.shutdown(). The shutdown() method is called only for plug-ins which explicitly require the org.eclipse.core.runtime.compatibility plug-in. 
org.eclipse.ui.plugin.AbstractUIPlugin.shutdown()
          In Eclipse 3.0, shutdown has been replaced by Plugin.stop(BundleContext context). Implementations of shutdown should be changed to extend stop(BundleContext context) and call super.stop(context) instead of super.shutdown(). Unlike super.shutdown(), super.stop(context) must be called as the very last thing rather than as the very first thing. The shutdown method is called only for plug-ins which explicitly require the org.eclipse.core.runtime.compatibility plug-in; in contrast, the stop method is always called. 
org.eclipse.core.runtime.Plugin.startup()
          In Eclipse 3.0 this method has been replaced by Plugin.start(BundleContext context). Implementations of startup() should be changed to extend start(BundleContext context) and call super.start(context) instead of super.startup(). The startup() method is called only for plug-ins which explicitly require the org.eclipse.core.runtime.compatibility plug-in. 
org.eclipse.ui.plugin.AbstractUIPlugin.startup()
          In Eclipse 3.0, startup has been replaced by Plugin.start(BundleContext context). Implementations of startup should be changed to extend start(BundleContext context) and call super.start(context) instead of super.startup(). Like super.startup(), super.stop(context) must be called as the very first thing. The startup method is called only for plug-ins which explicitly require the org.eclipse.core.runtime.compatibility plug-in; in contrast, the start method is always called. 
org.eclipse.core.runtime.jobs.IJobManager.suspend(ISchedulingRule, IProgressMonitor)
          This method is not safe and should not be used. Suspending a scheduling rule violates the thread safety of clients that use scheduling rules as a mutual exclusion mechanism, and can result in concurrency problems in all clients that use the suspended rule. 
org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(Widget, Object, Object[])
          this is no longer called by the framework 
org.eclipse.osgi.service.resolver.StateObjectFactory.writeState(State, DataOutputStream)
          use StateObjectFactory.writeState(State, File) instead 
org.eclipse.osgi.service.resolver.StateObjectFactory.writeState(State, OutputStream)
          use StateObjectFactory.writeState(State, File) instead 
 

Deprecated Constructors
org.eclipse.ui.plugin.AbstractUIPlugin(IPluginDescriptor)
          In Eclipse 3.0 this constructor has been replaced by AbstractUIPlugin.AbstractUIPlugin(). Implementations of MyPlugin(IPluginDescriptor descriptor) should be changed to MyPlugin() and call super() instead of super(descriptor). The MyPlugin(IPluginDescriptor descriptor) constructor is called only for plug-ins which explicitly require the org.eclipse.core.runtime.compatibility plug-in (or, as in this case, subclasses which might). 
org.eclipse.jface.viewers.CheckboxTableViewer(Composite)
          use newCheckList(Composite, int) or new CheckboxTableViewer(Table) instead (see below for details) 
org.eclipse.jface.viewers.CheckboxTableViewer(Composite, int)
          use newCheckList(Composite, int) or new CheckboxTableViewer(Table) instead (see above for details) 
org.eclipse.core.commands.ExecutionEvent(Map, Object, Object)
          use ExecutionEvent.ExecutionEvent(Command, Map, Object, Object) 
org.osgi.framework.FrameworkEvent(int, Object)
          As of 1.2. This constructor is deprecated in favor of using the other constructor with the System Bundle as the event source. 
org.eclipse.core.runtime.Plugin(IPluginDescriptor)
          In Eclipse 3.0 this constructor has been replaced by Plugin.Plugin(). Implementations of MyPlugin(IPluginDescriptor descriptor) should be changed to MyPlugin() and call super() instead of super(descriptor). The MyPlugin(IPluginDescriptor descriptor) constructor is called only for plug-ins which explicitly require the org.eclipse.core.runtime.compatibility plug-in.