Eclipse Platform
2.0

Deprecated API

Deprecated Classes
org.eclipse.jface.text.source.AnnotationColumn
          use AnnotationRulerColumn instead. 
org.eclipse.ui.actions.CreateFileAction
          should use NewWizardMenu to populate a New submenu instead (see Navigator view) 
org.eclipse.ui.actions.CreateFolderAction
          should use NewWizardMenu to populate a New submenu instead (see Navigator view) 
org.eclipse.ui.actions.CreateProjectAction
          This new experimental API is being temporary deprecated for release 2.0 New project creation should continue to make use of NewProjectAction. 
org.eclipse.ui.help.DialogPageContextComputer
          nested contexts are no longer supported by the help support system

 

org.eclipse.ui.texteditor.MarkerRulerInfoAction
          use MarkerRulerAction instead 
org.eclipse.ui.part.MultiPageEditor
          Use the class MultiPageEditorPart instead 
org.eclipse.ui.actions.OpenNewPageMenu
          Workbench no longer exposes the concept of "pages" in the user ui model. See IWorkbench.showPerspective methods. 
org.eclipse.ui.actions.OpenNewWindowMenu
          See IWorkbench.showPerspective methods. 
org.eclipse.ui.actions.OpenPerspectiveMenu
          See IWorkbench.showPerspective methods. 
org.eclipse.ui.texteditor.PropagatingFontFieldEditor
          use WorkbenchChainedTextFontFieldEditor 
org.eclipse.jface.text.rules.RuleBasedDamagerRepairer
          use DefaultDamagerRepairer 
org.eclipse.jface.text.rules.RuleBasedPartitioner
          use DefaultPartitioner instead 
org.eclipse.ui.texteditor.SelectMarkerRulerInfoAction
          use SelectMarkerRulerAction instead 
org.eclipse.ui.help.ViewContextComputer
          nested contexts are no longer supported by the help support system 
org.eclipse.ui.dialogs.WizardExportPage
          use WizardExportResourcePage 
org.eclipse.ui.dialogs.WizardImportPage
          use WizardResourceImportPage 
org.eclipse.ui.dialogs.YesNoCancelListSelectionDialog
          Providing Cancel in addition to Yes/No is confusing. It is better to subclass the regular ListSelectionDialog, which uses OK/Cancel, and provide a separate checkbox if necessary. 
 

Deprecated Interfaces
org.eclipse.ui.ICapabilityWizard
          use ICapabilityInstallWizard instead. This interface will be deleted for M6 milestone build. 
org.eclipse.ui.help.IContextComputer
          nested contexts are no longer supported by the help support system 
 

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.jface.util.OpenStrategy.FILE_EXPLORER
            
org.eclipse.jface.dialogs.TitleAreaDialog.INFO_MESSAGE
            
org.eclipse.ui.views.navigator.ResourceNavigator.NAVIGATOR_VIEW_HELP_ID
          No longer used but preserved to avoid an api change. 
org.eclipse.ui.IWorkbenchPreferenceConstants.NO_NEW_PERSPECTIVE
          Opening a perspective on project creation is now handled by the New Project & Capabilities wizard. 
org.eclipse.jface.util.OpenStrategy.NO_TIMER
            
org.eclipse.ui.IWorkbenchPreferenceConstants.OPEN_NEW_PERSPECTIVE
          How a perspective is opened is dependent on user's current context instead of one global preference. Callers should use IWorkbench.showPerspective methods. 
org.eclipse.ui.IWorkbenchPreferenceConstants.OPEN_PERSPECTIVE_PAGE
          How a perspective is opened is dependent on user's current context instead of one global preference. Callers should use IWorkbench.showPerspective methods. 
org.eclipse.ui.IWorkbenchPreferenceConstants.OPEN_PERSPECTIVE_REPLACE
          How a perspective is opened is dependent on user's current context instead of one global preference. Callers should use IWorkbench.showPerspective methods. 
org.eclipse.ui.IWorkbenchPreferenceConstants.OPEN_PERSPECTIVE_WINDOW
          How a perspective is opened is dependent on user's current context instead of one global preference. Callers should use IWorkbench.showPerspective methods. 
org.eclipse.jface.text.rules.Token.OTHER
          will be removed 
org.eclipse.ui.IWorkbenchPreferenceConstants.PROJECT_OPEN_NEW_PERSPECTIVE
          Opening a perspective on project creation is now handled by the New Project & Capabilities wizard. 
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.jface.dialogs.TitleAreaDialog.WARNING_MESSAGE
            
 

Deprecated Methods
org.eclipse.jface.text.source.VerticalRuler.addMouseListener(MouseListener)
          will be removed 
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.ui.IWorkingSetManager.createWorkingSetSelectionDialog(Shell)
          use createWorkingSetSelectionDialog(parent, true) instead 
org.eclipse.jface.text.TextViewer.deleteText()
          use StyledText.invokeAction instead 
org.eclipse.help.IHelp.displayHelp(IContext, int, int)
          use displayContext(context, x, y) 
org.eclipse.help.IHelp.displayHelp(String)
          use displayHelpResource(toc) instead 
org.eclipse.help.IHelp.displayHelp(String, int, int)
          use displayContext(contextId, x, y) 
org.eclipse.help.IHelp.displayHelp(String, String)
          use displayHelpResource(selectedTopic). 
org.eclipse.jface.text.AbstractDocument.fireDocumentPartitioningChanged()
          use fireDocumentPartitioningChanged(IRegion) instead 
org.eclipse.swt.custom.StyledText.getBidiColoring()
          use BidiSegmentListener instead.

 
org.eclipse.jface.dialogs.Dialog.getCancelButton()
          Use getButton(IDialogConstants.CANCEL_ID) instead. This method will be removed soon. 
org.eclipse.ui.part.MultiPageEditorSite.getDecoratorManager()
          use IWorkbench.getDecoratorManager() 
org.eclipse.ui.IWorkbenchPage.getEditorReuseThreshold()
            
org.eclipse.ui.IPageLayout.getEditorReuseThreshold()
            
org.eclipse.ui.IWorkbenchPage.getEditors()
          use getEditorReferences() instead 
org.eclipse.ui.help.WorkbenchHelp.getHelp(Control)
          as context computers are no longer supported 
org.eclipse.ui.help.WorkbenchHelp.getHelp(Menu)
          as context computers are no longer supported 
org.eclipse.ui.help.WorkbenchHelp.getHelp(MenuItem)
          as context computers are no longer supported 
org.eclipse.core.runtime.model.PluginPrerequisiteModel.getMatch()
          - use getMatchByte 
org.eclipse.jface.dialogs.Dialog.getOKButton()
          Use getButton(IDialogConstants.OK_ID) instead. This method will be removed soon. 
org.eclipse.ui.views.navigator.ResourceNavigator.getShell()
          use getViewSite().getShell() 
org.eclipse.ui.texteditor.MarkerRulerAction.getVerticalRuler()
          use getVerticalRulerInfo instead 
org.eclipse.ui.IWorkbenchPage.getViews()
          use getViewReferences() instead. 
org.eclipse.jface.text.TextViewer.getWidthInPixels(String)
          use getWidthInPixels(int, int) instead 
org.eclipse.ui.IWorkbenchPage.getWorkingSet()
          individual views should store a working set if needed 
org.eclipse.team.core.Team.isIgnored(IFile)
          use isIgnoredHint instead 
org.eclipse.jface.action.SubContributionManager.items()
          Use getItems(String value) instead. 
org.eclipse.ui.plugin.AbstractUIPlugin.loadPreferenceStore()
          As of Eclipse 2.0, a basic preference store exists for all plug-ins. This method now exists only for backwards compatibility. It is called as the plug-in's preference store is being initialized. The plug-ins preferences are loaded from the file regardless of what this method does. 
org.eclipse.swt.ole.win32.OleControlSite.removeEventListener(OleAutomation, GUID, int, OleListener)
          - use OleControlSite.removeEventListener(OleAutomation, int, OleListener) 
org.eclipse.jface.text.source.VerticalRuler.removeMouseListener(MouseListener)
          will be removed 
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.compare.CompareEditorInput.save(IProgressMonitor)
          Override method saveChanges 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.search.ui.ISearchResultView.searchStarted(String, String, ImageDescriptor, IContextMenuContributor, ILabelProvider, IAction, IGroupByKeyComputer, IRunnableWithProgress)
          As of build > 20011107, replaced by the new version with additonal parameter 
org.eclipse.search.ui.ISearchResultView.searchStarted(String, String, String, ImageDescriptor, IContextMenuContributor, ILabelProvider, IAction, IGroupByKeyComputer, IRunnableWithProgress)
          As of build > 20020514, replaced by the new version which provides an action group factory 
org.eclipse.swt.custom.StyledText.setBidiColoring(boolean)
          use BidiSegmentListener instead.

 
org.eclipse.ui.editors.text.StorageDocumentProvider.setDocumentContent(IDocument, IEditorInput)
          use the encoding based version instead 
org.eclipse.ui.editors.text.FileDocumentProvider.setDocumentContent(IDocument, IEditorInput)
          use file encoding based version 
org.eclipse.ui.editors.text.StorageDocumentProvider.setDocumentContent(IDocument, InputStream)
          use encoding based version instead 
org.eclipse.ui.IWorkbenchPage.setEditorReuseThreshold(int)
          use IPageLayout.setEditorReuseThreshold(int openEditors) instead. 
org.eclipse.ui.IPageLayout.setEditorReuseThreshold(int)
            
org.eclipse.jface.text.AbstractInformationControlManager.setEnabled(boolean)
          visibility will be changed to protected 
org.eclipse.ui.help.WorkbenchHelp.setHelp(Control, IContextComputer)
          context computers are no longer supported, clients should implement their own help listener 
org.eclipse.ui.help.WorkbenchHelp.setHelp(Control, Object[])
          use setHelp with single context id parameter 
org.eclipse.ui.help.WorkbenchHelp.setHelp(IAction, IContextComputer)
          context computers are no longer supported, clients should implement their own help listener 
org.eclipse.ui.help.WorkbenchHelp.setHelp(IAction, Object[])
          use setHelp with a single context id parameter 
org.eclipse.ui.help.WorkbenchHelp.setHelp(Menu, IContextComputer)
          context computers are no longer supported, clients should implement their own help listener 
org.eclipse.ui.help.WorkbenchHelp.setHelp(MenuItem, IContextComputer)
          context computers are no longer supported, clients should implement their own help listener 
org.eclipse.ui.help.WorkbenchHelp.setHelp(MenuItem, Object[])
          use setHelp with single context id parameter 
org.eclipse.ui.help.WorkbenchHelp.setHelp(Menu, Object[])
          use setHelp with single context id parameter 
org.eclipse.ui.views.navigator.ResourceNavigator.setLabelDecorator(ILabelDecorator)
          use the decorators extension point instead; see IWorkbench.getDecoratorManager() 
org.eclipse.core.runtime.model.PluginPrerequisiteModel.setMatch(boolean)
          use setMatchByte 
org.eclipse.ui.actions.ImportResourcesAction.setSelection(IStructuredSelection)
            
org.eclipse.ui.actions.ExportResourcesAction.setSelection(IStructuredSelection)
            
org.eclipse.jface.text.TextViewer.shift(boolean, boolean)
          use shift(boolean, boolean, boolean) instead 
 

Deprecated Constructors
org.eclipse.jface.text.source.AnnotationColumn(int)
            
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.ui.actions.CreateFileAction(Shell)
          see deprecated tag on class 
org.eclipse.ui.actions.CreateFolderAction(Shell)
          see deprecated tag on class 
org.eclipse.jface.text.rules.DefaultDamagerRepairer(ITokenScanner, TextAttribute)
          use DefaultDamagerRepairer(ITokenScanner) instead 
org.eclipse.ui.editors.text.FileDocumentProvider.FileSynchronizer(FileEditorInput)
          use FileSynchronizer(IFileEditorInput) 
org.eclipse.ui.texteditor.FindNextAction(ResourceBundle, String, IWorkbenchWindow, boolean)
          use FindReplaceAction(ResourceBundle, String, IWorkbenchPart) instead 
org.eclipse.ui.texteditor.FindReplaceAction(ResourceBundle, String, IWorkbenchWindow)
          use FindReplaceAction(ResourceBundle, String, IWorkbenchPart) instead 
org.eclipse.ui.actions.GlobalBuildAction(IWorkbench, Shell, int)
          use GlobalBuildAction(IWorkbenchWindow, type) instead 
org.eclipse.ui.texteditor.IncrementalFindAction(ResourceBundle, String, IWorkbenchWindow)
          use FindReplaceAction(ResourceBundle, String, IWorkbenchPart) instead 
org.eclipse.ui.texteditor.MarkerRulerAction(ResourceBundle, String, IVerticalRuler, ITextEditor, String, boolean)
          use MarkerRulerAction(ResourceBundle, String, ITextEditor, IVerticalRulerInfo, String, boolean) instead 
org.eclipse.ui.texteditor.MarkerRulerInfoAction(ResourceBundle, String, IVerticalRulerInfo, ITextEditor, String, boolean)
          use super class instead 
org.eclipse.ui.part.MultiPageEditor()
          Use the class MultiPageEditorPart instead 
org.eclipse.ui.texteditor.PropagatingFontFieldEditor(String, String, Composite)
          use WorkbenchChainedTextFontFieldEditor 
org.eclipse.jface.text.rules.RuleBasedDamagerRepairer(RuleBasedScanner, TextAttribute)
          use RuleBasedDamagerRepairer(RuleBasedScanner) instead 
org.eclipse.ui.texteditor.SelectMarkerRulerAction(ResourceBundle, String, IVerticalRuler, ITextEditor)
          use SelectMarkerRulerInfoAction(ResourceBundle, String, IVerticalRulerInfo, ITextEditor) 
org.eclipse.ui.texteditor.SelectMarkerRulerInfoAction(ResourceBundle, String, IVerticalRulerInfo, ITextEditor)
          use super class instead 
org.eclipse.ui.dialogs.YesNoCancelListSelectionDialog(Shell, Object, IStructuredContentProvider, ILabelProvider, String)
          see class comment 
 


Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.