Eclipse eRCP
Release 1.1

Deprecated API

Deprecated Classes
org.eclipse.ui.commands.HandlerSubmission
          Please use IHandlerService.activateHandler instead. 
org.eclipse.ui.commands.Priority
          This concept is now captured in the ISources integer constants. 
 

Deprecated Interfaces
org.eclipse.update.configuration.IInstallDeltaHandler
          Do not use this interface. The extension point deltaHandler has been deprecated. 
org.eclipse.update.configuration.ISessionDelta
          Do not use this interface 
org.eclipse.ui.commands.IWorkbenchCommandSupport
          Please use ICommandService and IHandlerService instead. 
 

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.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.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.eclipse.ui.WorkbenchEncoding.ISO_8859_1
          Use #getDefinedEncodings. This API will be deleted before 3.1 M2. 
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.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.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.IUpdateSearchFilter.accept(IFeature)
          In 3.1 only the accept (IFeatureReference) will be used 
org.eclipse.update.search.BaseFilter.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.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.ui.application.WorkbenchAdvisor.createEmptyWindowContents(IWorkbenchWindowConfigurer, Composite)
          since 3.1, override WorkbenchWindowAdvisor.createEmptyWindowContents(Composite) instead 
org.eclipse.update.core.Site.createFeature(String, URL)
            
org.eclipse.update.core.ISite.createFeature(String, URL)
          use createFeature(String,URL,IProgressMonitor) instead 
org.eclipse.update.core.IFeatureFactory.createFeature(URL, ISite)
          use createFeature(URL, ISite, IProgressMonitor) instead 
org.eclipse.update.core.BaseFeatureFactory.createFeature(URL, ISite)
          implement createFeature(URL, ISite, IProgressMonitor) instead 
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.ui.IWorkbench.getCommandSupport()
          Please use getAdapter(ICommandService.class) instead. 
org.eclipse.ui.IPageLayout.getEditorReuseThreshold()
          this always returns -1 as of Eclipse 2.1 
org.eclipse.update.core.IncludedFeatureReference.getFeature()
          use getFeature(IProgressMonitor) 
org.eclipse.update.core.IIncludedFeatureReference.getFeature()
          use getFeature(IProgressMonitor) 
org.eclipse.update.core.IFeatureReference.getFeature()
          use getFeature(IProgressMonitor) instead 
org.eclipse.update.core.FeatureReference.getFeature()
          use getFeaure(IProgressMonitor) 
org.eclipse.update.core.IncludedFeatureReference.getFeature(boolean, IConfiguredSite)
          use getFeature(IProgressMonitor) 
org.eclipse.update.core.IIncludedFeatureReference.getFeature(boolean, IConfiguredSite)
          use getFeature(IProgressMonitor) 
org.eclipse.update.core.IncludedFeatureReference.getFeature(boolean, IConfiguredSite, IProgressMonitor)
          use getFeature(IProgressMonitor) 
org.eclipse.update.core.IIncludedFeatureReference.getFeature(boolean, IConfiguredSite, IProgressMonitor)
          use getFeature(IProgressMonitor) 
org.eclipse.update.core.model.FeatureModel.getFeatureIncludeVersionedIdentifier()
          use getFeatureIncludeIdentifier instead. 
org.eclipse.jface.util.SafeRunnable.getIgnoreErrors(boolean)
          use getIgnoreErrors() 
org.eclipse.update.core.IIncludedFeatureReference.getMatch()
          since 3.0 included feature version is exactly specified 
org.eclipse.update.core.model.IncludedFeatureReferenceModel.getMatch()
          since 3.0 included feature version is exactly specified 
org.eclipse.update.core.model.ImportModel.getPluginIdentifier()
          use getIdentifier() instead 
org.eclipse.update.core.model.ImportModel.getPluginVersion()
          use getVersion() instead 
org.eclipse.update.core.SiteManager.getSite(URL)
          use getSite(URL,IPogressMonitor) instead 
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.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.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.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.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.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.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.swt.graphics.GC.setXORMode(boolean)
          this functionality is not supported on some platforms 
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.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.jface.viewers.AbstractTreeViewer.updateChildren(Widget, Object, Object[])
          this is no longer called by the framework 
 

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) 
 


Eclipse eRCP
Release 1.1