Deprecated API
Contents
-
ElementDescriptiononly consumer is PDE and this should never be used by other clients, see javadoc for details.clients should use
Version
insteadGranting free access to the backing zip file archive is dangerous because a caller could close it prematurely and thus break all subsequent usages. Existing callers should use derived methods likeZipEntryStorage.getArchivePath()
orZipEntryStorage.getContents()
instead, if possible.Saving has been moved to the launch delegateLaunchConfigurationDelegate
to allow for scoped saving of resources that are only involved in the current launch, no longer the entire workspaceUse contributionURI insteadInstead annotate the component with the@Apply(< a-value >)
component property typeInstead annotate the component with the@Beforefragment(true|false)
component property typeSee bug for details.marked for deletion, see Bug 442959. This interface became obsolete in 3.0, along with the extension point that it was associated with. The functionality provided by this interface is available elsewhere. UseHelpSystem.getTocs()
andHelpSystem.getContext(String)
to obtain help resources. Use various display methods of org.eclipse.ui.help.IWorkbenchHelpSystem to display help resources.use org.eclipse.swt.widgets.Display.getSystemImage(SWT.ICON_ERROR)use org.eclipse.swt.widgets.Display.getSystemImage(SWT.ICON_INFORMATION)org.eclipse.swt.widgets.Display.getSystemImage(SWT.ICON_QUESTION)Support for Chromium was limited to ancient and full of CVEs version of Chromium. See bug report for detailsdiscontinued support for fast viewsdiscontinued support for fast viewsdiscontinued support for fast viewsthis always returns -1 as of Eclipse 2.1this method has no effect, as of Eclipse 2.1No longer needed withISharedImages.IMG_OBJS_DND_BOTTOM
.Dropped in favor ofISharedImages.IMG_OBJS_DND_BOTTOM
. The replacement icon does not require a mask.No longer needed withISharedImages.IMG_OBJS_DND_INVALID
.Dropped in favor ofISharedImages.IMG_OBJS_DND_INVALID
. The replacement icon does not require a mask.No longer needed withISharedImages.IMG_OBJS_DND_LEFT
.Dropped in favor ofISharedImages.IMG_OBJS_DND_LEFT
. The replacement icon does not require a mask.No longer needed withISharedImages.IMG_OBJS_DND_OFFSCREEN
.Dropped in favor ofISharedImages.IMG_OBJS_DND_OFFSCREEN
. The replacement icon does not require a mask.No longer needed withISharedImages.IMG_OBJS_DND_RIGHT
.Dropped in favor ofISharedImages.IMG_OBJS_DND_RIGHT
. The replacement icon does not require a mask.No longer needed withISharedImages.IMG_OBJS_DND_STACK
.Dropped in favor ofISharedImages.IMG_OBJS_DND_STACK
. The replacement icon does not require a mask.No longer needed withISharedImages.IMG_OBJS_DND_TOFASTVIEW
.Dropped in favor ofISharedImages.IMG_OBJS_DND_TOFASTVIEW
. The replacement icon does not require a mask.No longer needed withISharedImages.IMG_OBJS_DND_TOP
.Dropped in favor ofISharedImages.IMG_OBJS_DND_TOP
. The replacement icon does not require a mask.in 3.0. This image is now the same asIMG_TOOL_BACK
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.in 3.0. This image is now the same asIMG_TOOL_COPY
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.in 3.0. This image is now the same asIMG_TOOL_CUT
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.in 3.0. This image is now the same asIMG_TOOL_DELETE
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.in 3.0. This image is now the same asIMG_TOOL_FORWARD
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.in 3.0. This image is now the same asIMG_TOOL_NEW_WIZARD
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.in 3.0. This image is now the same asIMG_TOOL_PASTE
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.in 3.0. This image is now the same asIMG_TOOL_REDO
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.in 3.0. This image is now the same asIMG_TOOL_UNDO
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.in 3.0. This image is now the same asIMG_TOOL_UP
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.Please use org.eclipse.jface.bindings.keys.KeyStroke and org.eclipse.jface.bindings.keys.KeyLookupFactoryPlease use org.eclipse.jface.bindings.keys.IKeyFormatterPlease use org.eclipse.jface.bindings.keys.KeyStroke and org.eclipse.jface.bindings.keys.KeyLookupFactoryPlease use org.eclipse.jface.bindings.keys.KeyFormatterFactoryPlease use org.eclipse.jface.bindings.keys.KeySequencePlease use org.eclipse.jface.bindings.keys.KeyStrokePlease use org.eclipse.jface.bindings.keys.KeyStroke and org.eclipse.jface.bindings.keys.KeyLookupFactoryPlease use org.eclipse.jface.bindings.keys.KeyStroke and org.eclipse.jface.bindings.keys.KeyLookupFactoryPlease use org.eclipse.jface.bindings.keys.ParseExceptionPlease use org.eclipse.jface.bindings.keys.KeyStroke and org.eclipse.jface.bindings.keys.KeyLookupFactoryPlease useSWTKeySupport
The org.eclipse.update component has been replaced by Equinox p2. This API will be deleted in a future release. See bug 311590 for details.
-
InterfaceDescriptionClients should use
org.eclipse.team.core.mapping.IStorageMerger
instead.As of 3.2 the"org.eclipse.core.filebuffers.documentCreation"
extension point has been deprecated. See the extension point documentation for more details.clients should subclassFileModificationValidator
instead of implementing this interfaceclients should implementIStepFilters
insteadreplaced by org.eclipse.ui.console.IHyperlinkIf possible, use one of the predefined queries inQueryUtil
or use theQueryUtil.createMatchQuery(String, Object...)
to create a custom expression based query. If the query cannot be expressed using the p2QL, then use a predefined or custom expression query as a first filter (in worst case, useQueryUtil.createIUAnyQuery()
) and then provide further filtering like so:for (iter = queryable.query(someExpressionQuery).iterator(); iter.hasNext();) { // do your match here }
marked for deletion, see Bug 442959. This interface became obsolete in 3.0, along with the extension point that it was associated with. The functionality provided by this interface is available elsewhere. UseHelpSystem.getTocs()
andHelpSystem.getContext(String)
to obtain help resources. Use various display methods of org.eclipse.ui.help.IWorkbenchHelpSystem to display help resources.As of 3.2, replaced by Platform UI's field assist supportAs of 3.2, replaced by Platform UI's field assist supportAs of 3.2, replaced by Platform UI's field assist supportAs of 3.2, replaced by Platform UI's field assist supportAs of 3.3, clients should useControlDecoration
instead ofDecoratedField
.since 3.0, useIAutoEditStrategy
directlyreplaced byITextViewerExtension5
Use theIFileContentManager
API instead.UseRepositoryProviderType.getProjectSetCapability()
to obtain an instance ofProjectSetCapability
instead.Clients should use a subclass ofCompareEditorInput
andCompareUI.openCompareDialog(org.eclipse.compare.CompareEditorInput)
Please use the "org.eclipse.core.commands" plug-in instead.Please use the "org.eclipse.core.commands" plug-in instead.Please use the "org.eclipse.core.commands" plug-in instead.Please use the "org.eclipse.core.commands" plug-in instead.Please useIBindingService
andIContextService
instead.Use org.eclipse.ui.IActionDelegate2 instead.See IContextService to manage scopes and IHandlerService to manage handlers. IAction can be proxied by org.eclipse.jface.commands.ActionHandler.This is now handled byIServiceLocator
which can be nested.Please use org.eclipse.jface.bindings.keys.IKeyFormatterThe org.eclipse.update component has been replaced by Equinox p2. This API will be deleted in a future release. See bug 311590 for details.The org.eclipse.update component has been replaced by Equinox p2. This API will be deleted in a future release. See bug 311590 for details.
-
ClassDescriptionUse an
org.eclipse.team.ui.history.IHistoryPageSource
in conjunction with theorg.eclipse.team.ui.history.IHistoryView
or aHistoryPageCompareEditorInput
. For sub-file elements, aorg.eclipse.team.ui.history.ElementLocalHistoryPageSource
can be used.Temporarily replaced by CompareWithOtherResourceHandler. See bug 264498.This class is deprecated; useBidiObservableMap
instead.This class is deprecated.UseXMLRootElementContentDescriber2
insteadclients should useVersion
insteadThis class is replaced byIEclipsePreferences
. Setting a default value is accomplished by a setting a value in theDefaultScope
, and setting an explicit non-default value is accomplished by setting a value in theInstanceScope
. To obtain a preference value, use the preference accessor methods onIPreferencesService
.useSubMonitor
insteadThe use of perspective based launch shortcuts has been deprecated in the 3.1 release. Instead, selection sensitive launch is supported in the top level menus. UseLaunchShorcutsAction
instead.Should use BreakpointTypesContribution instead.Custom content in the debug views is no longer supported byIWorkbenchAdapter
. Custom content is currently supported by a provisional internal viewer framework.deferred custom content in the debug views is no longer supported byIDeferredWorkbenchAdapter
. Deferred custom content is currently supported by a provisional internal viewer framework.No longer required.If possible, use one of the predefined queries inQueryUtil
or use theQueryUtil.createMatchQuery(String, Object...)
to create a custom expression based query. If the query cannot be expressed using the p2QL, then use a predefined or custom expression query as a first filter (in worst case, useQueryUtil.createIUAnyQuery()
) and then provide further filtering like so:for(iter = queryable.query(someExpressionQuery).iterator(); iter.hasNext();) { // do your match here }
As of 3.2, replaced by Platform UI's field assist supportAs of 3.2, replaced by Platform UI's field assist supportAs of 3.2, replaced by Platform UI's field assist support *As of 3.2, replaced by Platform UI's field assist supportAs of 3.2, replaced by Platform UI's field assist supportas of 3.3, this class is no longer used.As of 3.3, clients should useControlDecoration
instead.As of 3.3, this class is no longer necessary.As of 3.3, clients should useControlDecoration
instead ofDecoratedField
.since 3.1 useDefaultIndentLineAutoEditStrategy
insteadAs of 3.2, replaced byTextViewerUndoManager
since 3.0 not longer in use, no longer supportedAs of 3.1, replaced byFastPartitioner
insteaduseDefaultDamagerRepairer
useFastPartitioner
insteadsince 3.3 asGapTextStore
performs better even for sequential rewrite scenariosAs of 3.4, no longer used as closer from super class is useduseAnnotationRulerColumn(int)
instead.As of 3.4, replaced byAnnotationPainter.UnderlineStrategy
useViewerComparator
instead.This action is now longer needed. Undo is now performed via the global undo/redo stack provided byorg.eclipse.core.commands
.This action is now longer needed. Undo is now performed via the global undo/redo stack provided byorg.eclipse.core.commands
.As of 3.5. Replaced by CopyOnWriteIdentityMap.As of 3.13. Replaced byCaseInsensitiveDictionaryMap
.As of Eclipse 2.1, use ProgressBar with the style SWT.INDETERMINATE- Styles:
- VERTICAL, HORIZONTAL, BORDER
Clients should use a subclass ofCompareEditorInput
andCompareUI.openCompareDialog(org.eclipse.compare.CompareEditorInput)
Clients should use a subclass ofCompareEditorInput
andCompareUI.openCompareDialog(org.eclipse.compare.CompareEditorInput)
Clients should use a subclass ofCompareEditorInput
andCompareUI.openCompareDialog(org.eclipse.compare.CompareEditorInput)
Clients should use a subclass ofPageCompareEditorInput
andCompareUI.openCompareDialog(org.eclipse.compare.CompareEditorInput)
should use NewWizardMenu to populate a New submenu instead (see Navigator view)should use NewWizardMenu to populate a New submenu instead (see Navigator view)Workbench no longer exposes the concept of "pages" in the user ui model. See IWorkbench.showPerspective methods.See IWorkbench.showPerspective methods.See IWorkbench.showPerspective methods.the IDE now uses the new intro mechanismThis class is obsolete; there is no support in the workspace for scrubbing local content.As of 3.2, replaced by JFace field assist supportPlease use the "org.eclipse.core.commands" plug-in instead.Please use the "org.eclipse.core.commands" plug-in instead.Please useIContextService.activateContext
instead.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.As of 2.1, fonts are managed by the workbench, no longer supportedAs of 3.3 - do not useAs of 3.3, clients should useControlDecoration
andContentAssistCommandAdapter
instead of this class.Replaced by IResourceSnapshot and ResourceSnapshotFactory in the org.eclipse.core.resources.undo.snapshot packagePlease use org.eclipse.jface.bindings.keys.KeyStroke and org.eclipse.jface.bindings.keys.KeyLookupFactoryPlease use org.eclipse.jface.bindings.keys.KeyStroke and org.eclipse.jface.bindings.keys.KeyLookupFactoryPlease use org.eclipse.jface.bindings.keys.KeyFormatterFactoryPlease use org.eclipse.jface.bindings.keys.KeySequencePlease use org.eclipse.jface.bindings.keys.KeyStrokePlease use org.eclipse.jface.bindings.keys.KeyStroke and org.eclipse.jface.bindings.keys.KeyLookupFactoryPlease use org.eclipse.jface.bindings.keys.KeyStroke and org.eclipse.jface.bindings.keys.KeyLookupFactoryPlease use org.eclipse.jface.bindings.keys.KeyStroke and org.eclipse.jface.bindings.keys.KeyLookupFactoryPlease useSWTKeySupport
as of 3.3, useWorkbenchViewerComparator
insteadsince 3.1. Line delimiter conversion has been modified to work on groups of files rather than being editor specificAs of 3.0, replaced byImageUtilities
since 3.0. there is no replacement, use org.eclipse.ui.forms to define a component with a similar look and function.useMarkerRulerAction
insteadno longer supportedAs of 3.5, replaced byActionFactory.SAVE
As of 2.1, replaced bySelectMarkerRulerAction
since 3.0 not longer in use, no longer supported, use aChainedPreferenceStore
to access preferences from theorg.eclipse.ui.editors
plug-in.The org.eclipse.update component has been replaced by Equinox p2. This API will be deleted in a future release. See bug 311590 for details.
-
ExceptionsDescriptionPlease use the "org.eclipse.core.commands" plug-in instead.Please use the "org.eclipse.core.commands" plug-in instead.Please use org.eclipse.jface.bindings.keys.ParseExceptionNo longer used, create a
CoreException
instead
-
FieldDescriptionno longer usedno longer usedno longer usedno longer usedsee getEncoding for detailssee getEncoding for detailssee getEncoding for detailssee getEncoding for detailssee getEncoding for detailssee getEncoding for detailssee getEncoding for detailsThis event type has been renamed to
POST_BUILD
This event type has been renamed toPRE_BUILD
Do not use.useARCH_X86_64
instead. Note the values has been changed to be the value of theARCH_X86_64
constant.not supported anymorenot supported anymorenot supported anymorenot supported anymorenot supported anymorenot supported anymorenot supported anymorenot supported anymorenot supported anymorenot supported anymorenot supported anymorenot supported anymorenot supported anymorenot supported anymorein 3.3 Please use DebugPlugin.ATTR_CONSOLE_ENCODING instead.useATTR_FAVORITE_GROUPS
insteaduseATTR_FAVORITE_GROUPS
insteadSince 3.0, this launch configuration attribute is no longer supported. UseDebugUITools.setLaunchPerspective(ILaunchConfigurationType type, String mode, String perspective)
.Since 3.0, this launch configuration attribute is no longer supported. UseDebugUITools.setLaunchPerspective(ILaunchConfigurationType type, String mode, String perspective)
.The Debug Action Groups extension point no longer exists. Product vendors should use Activities instead.As of release 3.4, replaced byIDebugUIConstants.EXTENSION_POINT_MEMORY_RENDERINGS
Use org.eclipse.ui.console.IConsoleConstants.ID_CONSOLE_VIEWuse the platform shared image for clear -ISharedImages.IMG_ETOOL_CLEAR
no longer usedno longer usedthe launch dialog no longer supports launching without opening - this constant will never be returned by the dialogSeemodel documentation
for details.Seemodel documentation
for details.Seemodel documentation
for details.Seemodel documentation
for details.please use IStylingEngine.class or IStylingEngine.class.getName() for context accessnot supported in the Eclipse platform anymoreInstead annotate the component with the@Apply(< a-value >)
component property typeInstead annotate the component with the@Beforefragment(true|false)
component property typeSee bug for details.use org.eclipse.swt.widgets.Display.getSystemImage(SWT.ICON_ERROR)use org.eclipse.swt.widgets.Display.getSystemImage(SWT.ICON_INFORMATION)org.eclipse.swt.widgets.Display.getSystemImage(SWT.ICON_QUESTION)use org.eclipse.swt.widgets.Display.getSystemImage(SWT.ICON_WARNING)This constant is no longer in use. The button heights are now determined by the layout.As of 3.9, this is deprecated as it is too big as DLU and got accidentally used when setting pixel valuesAs of 3.9, this is deprecated as it is not clear what the meaning of a "small indent" would beAs of 3.4, filtering that is sensitive to changes in the control content should be performed by the suppliedIContentProposalProvider
, such as that performed bySimpleContentProposalProvider
this is not thread-safe and may contain invalid data at startup. CallPreferenceConverter.getFontDataArrayDefaultDefault()
from the UI thread instead.this is not thread-safe and may contain invalid data at startup. CallPreferenceConverter.getFontDataArrayDefaultDefault()
} from the UI thread instead.This font is not in useThis font is not in useAs of 3.0, usegetManagingPositionCategories()
instead.As of 3.0, usegetManagingPositionCategories()
.will be removedsince 3.0 usegetAnnotationMap
insteaduse DELIMITERS insteadas of 3.3 UseViewerComparator.getComparator()
UseRefactoringWizard.DIALOG_BASED_USER_INTERFACE
instead.useARCH_X86_64
instead. Note the values has been changed to be the value of theARCH_X86_64
constant.this type is no longer validthis type is no longer validuse ROLE_TABLECOLUMNHEADERdrop shadow border is no longer drawn in 3.0drop shadow border is no longer drawn in 3.0drop shadow border is no longer drawn in 3.0This field is no longer used. See setMinimumCharacters(int)Support for Chromium was limited to ancient and full of CVEs version of Chromium. See bug report for detailsThis style is deprecated and will be removed in the future. XULRunner as a browser renderer is no longer supported. UseSWT.WEBKIT
orSWT.NONE
instead.The same as PreExternalEventDispatch (value is 52).The same as PostExternalEventDispatch (value is 53).not used, please useISynchronizeView.VIEW_ID
instead.you should not use this field, kept for compatibility reasons. use instead the commandorg.eclipse.ui.window.maximizePart
.you should not use this field, that is kept for compatibility reasons. use instead the commandorg.eclipse.ui.window.minimizePart
.the shell provider should be used instead.As of 3.5, replaced byIWorkbenchCommandConstants.PERSPECTIVES_SHOW_PERSPECTIVE
useinstead
useinstead
useinstead
useinstead
use WINDOW_IMAGES instead (see recommendations there)When a console is created, its font is set to the default text font as specified byJFaceResources.TEXT_FONT
. Clients must provide their own infrastructure to manage console specific fonts.As of 2.1, provided byorg.eclipse.ui.editors.markerAnnotationSpecification
extension pointAs of 2.1, provided byorg.eclipse.ui.editors.markerAnnotationSpecification
extension pointAs of 2.1, provided byorg.eclipse.ui.editors.markerAnnotationSpecification
extension pointAs of 3.0, replaced byAbstractDecoratedTextEditorPreferenceConstants
As of 3.0, replaced byAbstractDecoratedTextEditorPreferenceConstants
As of 2.1, provided byorg.eclipse.ui.editors.markerAnnotationSpecification
extension pointAs of 2.1, provided byorg.eclipse.ui.editors.markerAnnotationSpecification
extension pointAs of 2.1, provided byorg.eclipse.ui.editors.markerAnnotationSpecification
extension pointAs of 2.1, provided byorg.eclipse.ui.editors.markerAnnotationSpecification
extension pointAs of 3.0, replaced byAbstractDecoratedTextEditorPreferenceConstants
As of 3.0, replaced byAbstractDecoratedTextEditorPreferenceConstants
As of 3.0, replaced byAbstractDecoratedTextEditorPreferenceConstants
As of 3.0, replaced byAbstractDecoratedTextEditorPreferenceConstants
As of 3.0,, replaced byAbstractDecoratedTextEditorPreferenceConstants
As of 3.0,, replaced byAbstractDecoratedTextEditorPreferenceConstants
As of 2.1, provided byorg.eclipse.ui.editors.markerAnnotationSpecification
extension pointAs of 2.1, provided byorg.eclipse.ui.editors.markerAnnotationSpecification
extension pointAs of 2.1, provided byorg.eclipse.ui.editors.markerAnnotationSpecification
extension pointAs of 2.1, provided byorg.eclipse.ui.editors.markerAnnotationSpecification
extension pointAs of 2.1, provided byorg.eclipse.ui.editors.markerAnnotationSpecification
extension pointAs of 2.1, provided byorg.eclipse.ui.editors.markerAnnotationSpecification
extension pointAs of 2.1, provided byorg.eclipse.ui.editors.markerAnnotationSpecification
extension pointAs of 2.1, provided byorg.eclipse.ui.editors.markerAnnotationSpecification
extension pointAs of 3.0, replaced byAbstractDecoratedTextEditorPreferenceConstants
As of 3.0, replaced byAbstractDecoratedTextEditorPreferenceConstants
As of 3.0, replaced byAbstractDecoratedTextEditorPreferenceConstants
As of 2.1, provided byorg.eclipse.ui.editors.markerAnnotationSpecification
extension pointAs of 2.1, provided byorg.eclipse.ui.editors.markerAnnotationSpecification
extension pointAs of 2.1, provided byorg.eclipse.ui.editors.markerAnnotationSpecification
extension pointAs of 3.5, replaced byIWorkbenchCommandConstants.EDIT_CONTENT_ASSIST
useIFormColors.BORDER
useIFormColors.SEPARATOR
.useIFormColors.TB_BG
useIFormColors.TB_BORDER
.useIFormColors.TB_FG
useIFormColors.TB_GBG
useIFormColors.TB_TOGGLE
.useIFormColors.TB_TOGGLE_HOVER
.useIFormColors.TITLE
.Since 3.3, this color is not used any more. The tool bar gradient is created starting fromIFormColors.TB_BG
to the section background color.this variable was left as protected by mistake. It will be turned into static and hidden in the future versions. Do not use it and do not change its value.this variable was left as protected by mistake. It will be turned into static and hidden in the future versions. Do not use them and do not change its value.the IDE now uses the new intro mechanismas of 3.0, this action no longer appears in the UI (was deprecated in 3.1)as of 3.0, this action no longer appears in the UI (was deprecated in 3.1)discontinued support for fast viewsPlease use content types instead.Please use content types instead.in 3.0. This image is IDE-specific, and is therefore found only in IDE configurations. IDE-specific tools should useorg.eclipse.ui.ide.IDE.SharedImages.IMG_OBJ_PROJECT
instead.in 3.0. This image is IDE-specific, and is therefore found only in IDE configurations. IDE-specific tools should useorg.eclipse.ui.ide.IDE.SharedImages.IMG_OBJ_PROJECT_CLOSED
instead.in 3.0. This image is IDE-specific, and is therefore found only in IDE configurations. IDE-specific tools should useorg.eclipse.ui.ide.IDE.SharedImages.IMG_OBJS_BKMRK_TSK
instead.No longer needed withISharedImages.IMG_OBJS_DND_BOTTOM
.Dropped in favor ofISharedImages.IMG_OBJS_DND_BOTTOM
. The replacement icon does not require a mask.No longer needed withISharedImages.IMG_OBJS_DND_INVALID
.Dropped in favor ofISharedImages.IMG_OBJS_DND_INVALID
. The replacement icon does not require a mask.No longer needed withISharedImages.IMG_OBJS_DND_LEFT
.Dropped in favor ofISharedImages.IMG_OBJS_DND_LEFT
. The replacement icon does not require a mask.No longer needed withISharedImages.IMG_OBJS_DND_OFFSCREEN
.Dropped in favor ofISharedImages.IMG_OBJS_DND_OFFSCREEN
. The replacement icon does not require a mask.No longer needed withISharedImages.IMG_OBJS_DND_RIGHT
.Dropped in favor ofISharedImages.IMG_OBJS_DND_RIGHT
. The replacement icon does not require a mask.No longer needed withISharedImages.IMG_OBJS_DND_STACK
.Dropped in favor ofISharedImages.IMG_OBJS_DND_STACK
. The replacement icon does not require a mask.No longer needed withISharedImages.IMG_OBJS_DND_TOFASTVIEW
.Dropped in favor ofISharedImages.IMG_OBJS_DND_TOFASTVIEW
. The replacement icon does not require a mask.No longer needed withISharedImages.IMG_OBJS_DND_TOP
.Dropped in favor ofISharedImages.IMG_OBJS_DND_TOP
. The replacement icon does not require a mask.in 3.0. This image is IDE-specific, and is therefore found only in IDE configurations. IDE-specific tools should useorg.eclipse.ui.ide.IDE.SharedImages.IMG_OBJS_TASK_TSK
instead.in 3.0. This image is IDE-specific, and is therefore found only in IDE configurations. IDE-specific tools should useorg.eclipse.ui.ide.IDE.SharedImages.IMG_OPEN_MARKER
instead.in 3.0. This image is now the same asIMG_TOOL_BACK
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.in 3.0. This image is now the same asIMG_TOOL_COPY
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.in 3.0. This image is now the same asIMG_TOOL_CUT
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.in 3.0. This image is now the same asIMG_TOOL_DELETE
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.in 3.0. This image is now the same asIMG_TOOL_FORWARD
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.in 3.0. This image is now the same asIMG_TOOL_NEW_WIZARD
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.in 3.0. This image is now the same asIMG_TOOL_PASTE
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.in 3.0. This image is now the same asIMG_TOOL_REDO
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.in 3.0. This image is now the same asIMG_TOOL_UNDO
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.in 3.0. This image is now the same asIMG_TOOL_UP
. Enabled images are now in color. The workbench itself no longer uses the hover image variants.in 3.0. UseActionFactory.ABOUT.getId()
instead.in 3.0. Useorg.eclipse.ui.ide.IDEActionFactory.ADD_TASK.getId()
instead.in 3.0. UseActionFactory.BACK.getId()
instead.in 3.0. Useorg.eclipse.ui.ide.IDEActionFactory.BOOKMARK.getId()
instead.in 3.0. Useorg.eclipse.ui.ide.IDEActionFactory.BUILD.getId()
instead.in 3.0. Useorg.eclipse.ui.ide.IDEActionFactory.BUILD_PROJECT.getId()
instead.in 3.0. UseActionFactory.CLOSE.getId()
instead.in 3.0. UseActionFactory.CLOSE_ALL.getId()
instead.in 3.0. Useorg.eclipse.ui.ide.IDEActionFactory.CLOSE_PROJECT.getId()
instead.in 3.0. UseActionFactory.COPY.getId()
instead.in 3.0. UseActionFactory.CUT.getId()
instead.in 3.0. UseActionFactory.DELETE.getId()
instead.in 3.0. Useorg.eclipse.ui.ActionFactory.EXPORT.getId()
instead.in 3.0. UseActionFactory.FIND.getId()
instead.in 3.0. UseActionFactory.FORWARD.getId()
instead.in 3.0in 3.0. Useorg.eclipse.ui.ActionFactory.IMPORT.getId()
instead.Since 3.0. This is no longer used.Since 3.0. This is no longer used.in 3.0. UseActionFactory.MOVE.getId()
instead.in 3.0. Useorg.eclipse.ui.ActionFactory.NEW.getId()
instead.in 3.0. UseActionFactory.NEXT.getId()
instead.in 3.0. Useorg.eclipse.ui.ide.IDEActionFactory.OPEN_PROJECT.getId()
instead.in 3.0. UseActionFactory.PASTE.getId()
instead.in 3.0. UseActionFactory.PREVIOUS.getId()
instead.in 3.0. UseActionFactory.PRINT.getId()
instead.in 3.0. UseActionFactory.PROPERTIES.getId()
instead.in 3.0. UseActionFactory.QUIT.getId()
instead.in 3.0. Useorg.eclipse.ui.ide.IDEActionFactory.REBUILD_ALL.getId()
instead.in 3.0. Useorg.eclipse.ui.ide.IDEActionFactory.REBUILD_PROJECT.getId()
instead.in 3.0. UseActionFactory.REDO.getId()
instead.in 3.0. UseActionFactory.REFRESH.getId()
instead.in 3.0. UseActionFactory.RENAME.getId()
instead.in 3.0. UseActionFactory.REVERT.getId()
instead.in 3.0. UseActionFactory.SAVE.getId()
instead.in 3.0. UseActionFactory.SAVE_ALL.getId()
instead.in 3.0. UseActionFactory.SAVE_AS.getId()
instead.in 3.0. UseActionFactory.SELECT_ALL.getId()
instead.this action will be removed soon; use SHOW_IN insteadin 3.0. UseActionFactory.UNDO.getId()
instead.in 3.0 since the notion of markers this is not generally applicable. Use the IDE-specific constantIDE.EDITOR_ID_ATTR
.Workbench no longer supports alternate key modifier to open a new perspective. Callers should use IWorkbench.showPerspective methods.not used anymore by platformnot supported by the platform anymoreOpening a Perspective in a new page is no longer supported functionality as of 2.0.in 3.0. This preference is IDE-specific, and is therefore found only in IDE configurations. IDE-specific tools should useorg.eclipse.ui.ide.IDE.Preferences.PROJECT_OPEN_NEW_PERSPECTIVE
instead.Workbench no longer supports shift key modifier to open a new perspective. Callers should use IWorkbench.showPerspective methods.not supported since the 4.x migrationnot used anymore by platformnot used anymore by platformNo longer in use. Use swt-corner-radius CSS property to override when round or square corners are desired.this property is no longer in use in the Eclipse SDKuseIStatusAdapterConstants.TIMESTAMP_PROPERTY
insteaduseIStatusAdapterConstants.TITLE_PROPERTY
insteadas of 3.0 there are no UNKNOWN annotations any moreAs of 3.0, there are no UNKNOWN annotations any moreAs of 3.0, there are no UNKNOWN annotations any moreAs of 3.6, replaced byStatus.OK_STATUS
As of 2.1, replaced byJFaceResources.TEXT_FONT
As of 3.0, no replacementAs of 3.0, replaced by Annotation.TYPE_UNKNOWNin 3.0 Useorg.eclipse.ui.texteditor.ITextEditorHelpContextIds.ADD_TASK_ACTION
instead.in 3.0 Useorg.eclipse.ui.texteditor.ITextEditorHelpContextIds.BOOKMARK_ACTION
instead.since 3.1 No longer supported as editor actions.since 3.1. No longer supported as editor actions.since 3.1. No longer supported as editor actions.As of 3.5, no longer usedsince 3.1. No longer supported as editor actions.since 3.1. No longer supported as editor actions.since 3.1. No longer supported as editor actions.since 3.1. No longer supported as editor actions.since 3.1. No longer supported as editor actions.since 3.1. No longer supported as editor actions.As of 3.5, replaced byIWorkbenchCommandConstants.EDIT_ADD_BOOKMARK
As of 3.5, replaced byIWorkbenchCommandConstants.EDIT_ADD_TASK
As of 3.5, replaced byIWorkbenchCommandConstants.EDIT_COPY
As of 3.5, replaced byIWorkbenchCommandConstants.EDIT_CUT
As of 3.5, replaced byIWorkbenchCommandConstants.EDIT_DELETE
As of 3.5, replaced byIWorkbenchCommandConstants.EDIT_FIND_AND_REPLACE
As of 3.5, replaced byIWorkbenchCommandConstants.FILE_MOVE
As of 3.5, replaced byIWorkbenchCommandConstants.EDIT_PASTE
As of 3.5, replaced byIWorkbenchCommandConstants.FILE_PRINT
As of 3.5, replaced byIWorkbenchCommandConstants.FILE_PROPERTIES
As of 3.5, replaced byIWorkbenchCommandConstants.EDIT_REDO
As of 3.5, replaced byIWorkbenchCommandConstants.FILE_RENAME
As of 3.5, replaced byIWorkbenchCommandConstants.FILE_REVERT
As of 3.4, replaced byIWorkbenchActionDefinitionIds.REVERT
As of 3.5, no longer usedAs of 3.5, replaced byIWorkbenchCommandConstants.EDIT_SELECT_ALL
As of 3.5, replaced byIWorkbenchCommandConstants.EDIT_UNDO
As of 3.0, replaced byIAnnotationAccessExtension
-
MethodDescriptionuse getAntHomeClasspathEntries and getToolsJarEntryuse
AntCorePreferences.getDefaultAntHomeEntries()
insteaduse getToolsJarEntry()use setAntHomeEntires(IAntClasspathEntry[])use setAdditionalEntries(IAntClasspathEntry)[]Override method saveChanges instead.Please useCompareEditorInput.setFocus2()
instead.Clients should obtain anorg.eclipse.team.core.mapping.IStorageMerger
from theorg.eclipse.team.core.Team#createMerger(String)
method.Clients should obtain anorg.eclipse.team.core.mapping.IStorageMerger
from theorg.eclipse.team.core.Team#createMerger(IContentType)
method.This method can be called before the first attempt to apply the hunk when it is impossible to determine the encoding and in this case it always returns null. Please seeIFilePatchResult.getCharset()
as a proper way to obtain charset.Subclasses should overrideStructureDiffViewer.postDiffHook(Differencer, IDiffContainer, IProgressMonitor)
insteadPlease useCommand.executeWithChecks(ExecutionEvent)
instead.Please useParameterizedCommand.executeWithChecks(Object, Object)
instead.as of 1.1, please useDataBindingContext.getValidationStatusProviders()
UseObjects.equals(Object, Object)
insteadSubclasses are no longer required to call this method.This method is very error prone. If any class creates internal observables without hiding them withObservableTracker.setIgnore(boolean)
the result can be that objects are disposed involuntary or in the wrong order. Prefer instead to useObservablesManager.addContext(org.eclipse.core.databinding.DataBindingContext, boolean, boolean)
.As of 3.2, replaced byFileBuffers.getFileStoreAtLocation(IPath)
As of 3.3, replaced byIFileBufferManager.connect(IPath, LocationKind, IProgressMonitor)
As of 3.3, replaced byIFileBufferManager.disconnect(IPath, LocationKind, IProgressMonitor)
As of 3.3, replaced byIFileBufferManager.getFileBuffer(IPath, LocationKind)
As of 3.1, replaced byIFileBuffer.releaseSynchronizationContext()
As of 3.1, replaced byIFileBuffer.requestSynchronizationContext()
As of 3.3, replaced byITextFileBufferManager.createAnnotationModel(IPath, LocationKind)
As of 3.3, replaced byITextFileBufferManager.createEmptyDocument(IPath, LocationKind)
As of 3.3, replaced byITextFileBufferManager.getTextFileBuffer(IPath, LocationKind)
As of 3.2, replaced byITextFileBufferManager.isTextFileLocation(IPath, boolean)
useIFileStore.getFileStore(IPath)
insteaduseFileStore.getFileStore(IPath)
insteadThis method is deprecated because of its ambiguity. UseIProxyService.select(URI)
instead.This method is deprecated because of its ambiguity. UseIProxyService.select(URI)
instead.Replaced byIContainer.setDefaultCharset(String, IProgressMonitor)
which is a workspace operation and reports changes in resource deltas.useIFile.getCharset()
insteadReplaced byIFile.setCharset(String, IProgressMonitor)
which is a workspace operation and reports changes in resource deltas.useIPathVariableManager.getURIValue(String)
instead.useIPathVariableManager.resolveURI(URI)
instead.useIPathVariableManager.setURIValue(String, URI)
instead.Since 3.2, project locations are not necessarily in the local file system. The more generalIProjectDescription.getLocationURI()
method should be used instead.please useIDynamicReferenceProvider
with the builders extension point to supply dynamic referencesThis API is no longer in use. Note that this API is unrelated to whether the resource is in the local file system versus some other file system.Replaced byIResource.setDerived(boolean, IProgressMonitor)
which is a workspace operation and reports changes in resource deltas.This API is no longer in use. Note that this API is unrelated to whether the resource is in the local file system versus some other file system.useIResource#setResourceAttributes(ResourceAttributes)
Replaced byIWorkspace.computeProjectOrder
, which produces a more usable result when there are cycles in project reference graph.UseIWorkspace.removeSaveParticipant(String)
insteaduseIWorkspaceRoot.findContainersForLocationURI(URI)
insteaduseIWorkspaceRoot.findFilesForLocationURI(URI)
insteadSubclasses should override and clients should callRefreshProvider.installMonitor(IResource, IRefreshResult, IProgressMonitor)
instead.Subclasses should override and clients should callRefreshProvider.resetMonitors(IResource, IProgressMonitor)
instead.this method is part of the deprecatedIFileModificationValidator
interface. Clients should callFileModificationValidator.validateEdit(IFile[], FileModificationValidationContext)
instead.useFileLocator.getBundleFileLocation(Bundle)
insteadThe method is equivalent to theIConfigurationElement.getAttribute(String)
. Contrary to its description, this method returns a translated value. Use theIConfigurationElement.getAttribute(String)
method instead.As namespace is no longer restricted to the contributor name, useIConfigurationElement.getNamespaceIdentifier()
to obtain namespace name orIConfigurationElement.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 ofMyId
, the namespace of the element was always set toorg.abc
, producing the qualified name oforg.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 specifyorg.zzz.MyExtPoint
as an Id. In this case, namespace name isorg.zzz
, but the contributor name isorg.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, useIConfigurationElement.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, useIConfigurationElement.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 theorg.abc
namespace would fall into this category.The method is equivalent to theIConfigurationElement.getValue()
. Contrary to its description, this method returns a translated value. Use theIConfigurationElement.getValue()
method instead.As namespace is no longer restricted to the contributor name, useIExtension.getNamespaceIdentifier()
to obtain namespace name orIExtension.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 ofMyId
, the namespace of the element was always set toorg.abc
, producing the qualified name oforg.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 specifyorg.zzz.MyExtPoint
as an Id. In this case, namespace name isorg.zzz
, but the contributor name isorg.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, useIExtension.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, useIExtension.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 theorg.abc
namespace would fall into this category.As namespace is no longer restricted to the contributor name, useIExtensionPoint.getNamespaceIdentifier()
to obtain namespace name orIExtensionPoint.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 ofMyId
, the namespace of the element was always set toorg.abc
, producing the qualified name oforg.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 specifyorg.zzz.MyExtPoint
as an Id. In this case, namespace name isorg.zzz
, but the contributor name isorg.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, useIExtensionPoint.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, useIExtensionPoint.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 theorg.abc
namespace would fall into this category.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.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.Authorization database is superseded by the Equinox secure storage. Useorg.eclipse.equinox.security.storage.SecurePreferencesFactory
to obtain secure preferences andorg.eclipse.equinox.security.storage.ISecurePreferences
for data access and modifications. This API will be deleted in a future release. See bug 370248 for details.useFileLocator.toFileURL(URL)
insteaduseIApplicationContext.applicationRunning()
insteaduseFileLocator.find(Bundle, IPath, Map)
insteadonly consumer is PDE and this should never be used by other clients, see javadoc for details.useFileLocator.resolve(URL)
insteadclients should useSafeRunner#run
insteadReplaced byIEclipsePreferences
. Preferences are now stored according to scopes in theIPreferencesService
. The return value of this method corresponds to a combination of theInstanceScope
and theDefaultScope
. To set preferences for your plug-in, useInstanceScope.INSTANCE.getNode(<yourPluginId>)
. To set default preferences for your plug-in, useDefaultScope.INSTANCE.getNode(<yourPluginId>)
. To lookup an integer preference value for your plug-in, usePlatform.getPreferencesService().getInt(<yourPluginId>, <preferenceKey>, <defaultValue>, null)
. Similar methods exist onIPreferencesService
for obtaining other kinds of preference values (strings, booleans, etc).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 namedinitializeDefaultPreferences
in a separate subclass ofAbstractPreferenceInitializer
. This class should be contributed via theorg.eclipse.core.runtime.preferences
extension point.<extension point="org.eclipse.core.runtime.preferences"> <initializer class="com.example.MyPreferenceInitializer"/> </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); } }
Replaced by InstanceScope.getNode(<bundleId>).flush()Since a launch configuration does not need to be stored in the local file system, this attribute should no longer be used to identify a launch configuration.usegetDelegate(String)
to specify modesince 3.3, the methodgetDelegates(Set)
should be used instead, as there can be more than one capable delegate per mode or combination of modesSince 3.3 all modes are provided as sets and not individual strings. The methodgetSupportedModeCombinations
should be used instead to retrieve the complete listing of supported modes and their allowable combinations.since 3.6 clients should use theILaunchManager.generateLaunchConfigurationName(String)
method which will perform validation of the name and correct unsupported name parts.Granting free access to the backing zip file archive is dangerous because a caller could close it prematurely and thus break all subsequent usages. Existing callers should use derived methods likeZipEntryStorage.getArchivePath()
orZipEntryStorage.getContents()
instead, if possible.As of R3.0, this method is no longer called by the launch framework. Since tabs do not exist when launching is performed elsewhere than the launch dialog, this method cannot be relied upon for launching functionality.As of R3.0, this method is no longer called by the launch framework. Since tabs do not exist when launching is performed elsewhere than the launch dialog, this method cannot be relied upon for launching functionality.this method returns a class that is not API and is not intended for clients of the debug platform. Instead, usegetHistory()
,getFavorites()
, andgetLastLaunch()
.replaced with addLink(IHyperlink link, int offset, int length)replaced with getRegion(IHyperlink link) insteadorg.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialog(Shell, IStructuredSelection, String) use openLaunchConfigurationDialogOnGroup(Shell, IStructuredSelection, String) to specify the launch group that the dialog should be opened on. This method will open on the launch group with the specified mode and anull
categorySaving has been moved to the launch delegateLaunchConfigurationDelegate
to allow for scoped saving of resources that are only involved in the current launch, no longer the entire workspaceSaving has been moved to the launch delegateLaunchConfigurationDelegate
to allow for scoped saving of resources that are only involved in the current launch, no longer the entire workspaceSee AbstractDebugView#getContextMenuManagers()As of R3.0, this method is no longer called by the launch framework. Since tabs do not exist when launching is performed elsewhere than the launch dialog, this method cannot be relied upon for launching functionality.As of R3.0, this method is no longer called by the launch framework. Since tabs do not exist when launching is performed elsewhere than the launch dialog, this method cannot be relied upon for launching functionality.useresetRendering
to reset this rendering.IContextFunction
's compute() was changed to take the context keyUse contributionURI insteadUsecreateURI
, which now has explicit device support enabled. The two methods now operate identically.UseURI.createPlatformResourceURI(String, boolean)
instead.Please usecreateURI
instead.As of EMF 2.0, replaced byvalidArchiveAuthority
.Seemodel documentation
for details.Seemodel documentation
for details.Seemodel documentation
for details.dirtyable is managed by part.Seemodel documentation
for details.let users control bidi processing independent of the localeuseIExpression.toLDAPString(StringBuilder)
insteaduseIExpression.toString(StringBuilder)
insteadUseIVersionFormat.toString(StringBuilder)
insteadUse addRequirements(additional) insteadUse getMetaRequirements() insteadorg.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription.getRequiredCapabilities()Use getRequirements() insteadUse setMetaRequirements(requirements) insteadUse setRequirements(requirements) insteaduseVersion.toString(StringBuilder)
insteaduseVersionRange.toString(StringBuilder)
instead.org.eclipse.equinox.p2.repository.artifact.IArtifactRepository.addDescriptors(IArtifactDescriptor[]) org.eclipse.equinox.p2.repository.artifact.IArtifactRepository.removeDescriptor(IArtifactDescriptor) Use WorkbenchHelp.displayContext(HelpSystem.getContext(contextId),x,y) instead.Use WorkbenchHelp.displayContext(context,x,y) instead.Use WorkbenchHelp.displayHelp() instead.Use WorkbenchHelp.displayHelpResource(toc) instead.Use WorkbenchHelp.displayContext(HelpSystem.getContext(contextId),x,y) instead.Use WorkbenchHelp.displayHelpResource(selectedTopic) instead.Use WorkbenchHelp.displayContext(context,x,y) instead.Use WorkbenchHelp.displayHelpResource(href) instead.Use WorkbenchHelp.displayHelpResource(helpResource.getHref()) instead.Use HelpSystem.getContext(contextId) instead.Use HelpSystem.getTocs() instead.Use WorkbenchHelp.isContextHelpDisplayed() instead.Help webapp no longer has basic view.Help webapp no longer has basic view.usecreateMenuBar(Decorations)
instead.this method is no longer a part of theIContributionItem
API.Use getItems(String value) instead.UsegetButton(IDialogConstants.CANCEL_ID)
instead. This method will be removed soon.UsegetButton(IDialogConstants.OK_ID)
instead. This method will be removed soon.use setErrorMessage(String) insteaduse #getPage()use #setPage(DialogPage)Colors do not need disposal anymoreUseCompositeImageDescriptor.drawImage(ImageDataProvider, int, int)
instead. Replace the code that created the ImageData by calls toCompositeImageDescriptor.createCachedImageDataProvider(Image)
orCompositeImageDescriptor.createCachedImageDataProvider(ImageDescriptor)
and then pass on that provider instead of ImageData objects. Replace references toImageData.width
/height by calls toCompositeImageDescriptor.CachedImageDataProvider.getWidth()
/getHeight().UseCompositeImageDescriptor.getImageData(int)
instead.This method doesn't make sense and should never have been made API.use bestDataArray in order to support Motif multiple entry fonts.use filterData in order to preserve multiple entry fonts on MotifUseImageDescriptor.getImageData(int)
instead.JFaceColors no longer maintains a cache of colors. This job is now handled by the ColorRegistry.JFaceColors no longer maintains a cache of colors. This job is now handled by the ColorRegistry.This font is not in useuseResourceManager.create(DeviceResourceDescriptor)
insteaduseResourceManager.create(DeviceResourceDescriptor)
insteaduseResourceManager.create(DeviceResourceDescriptor)
insteaduse asString(FontData)As of 3.4, replaced byAbstractDocument.computeIndexInPositionList(List, int, boolean)
as of 3.0. UsedoFireDocumentChanged2(DocumentEvent)
instead; this method will be removed.as of 2.0. UsefireDocumentPartitioningChanged(IRegion)
instead.as of 3.0. UsefireDocumentPartitioningChanged(DocumentPartitioningChangedEvent)
instead.as of 3.0 search is provided byFindReplaceDocumentAdapter
since 3.1. UseIDocumentExtension4.startRewriteSession(DocumentRewriteSessionType)
instead.As of 3.1, replaced byIDocumentExtension4.stopRewriteSession(DocumentRewriteSession)
visibility will be changed to protectedvisibility will be changed to protectedAs of 3.2, no longer used and calledAs of 3.4, replaced byITextHoverExtension2.getHoverInfo2(ITextViewer, IRegion)
incompatible with an open set of document partitionings. The provided information is only used if this formatter can not compute the partition managing position categories.as of 3.0 search is provided byFindReplaceDocumentAdapter
since 3.1. UseIDocumentExtension4.startRewriteSession(DocumentRewriteSessionType)
instead.since 3.1. UseIDocumentExtension4.stopRewriteSession(DocumentRewriteSession)
instead.As of 2.1, replaced byIInformationProviderExtension.getInformation2(ITextViewer, IRegion)
As of 3.4, replaced byITextHoverExtension2.getHoverInfo2(ITextViewer, IRegion)
As of 3.1, replaced byLinkedPositionGroup.isEmpty()
As of 3.4, replaced byProjectionDocument.getDocumentInformationMapping()
As of 3.4, replaced byAnnotationBarHoverManager.Closer.stop()
. Note thatdelayRestart
was never honored.as of 3.2 the number of lines in the viewport cannot be computed because StyledText supports variable line heightsuseAnnotation.getType()
assumed to always returntrue
useAnnotation.isPersistent()
as of 3.2 the number of lines in the viewport cannot be computed because StyledText supports variable line heightsorg.eclipse.jface.text.source.SourceViewerConfiguration.getAutoIndentStrategy(ISourceViewer, String) since 3.1 useSourceViewerConfiguration.getAutoEditStrategies(ISourceViewer, String)
insteadwill be removedwill be removedTemplates should never be modifiedTemplates should never be modifiedTemplates should never be modifiedTemplates should never be modifieduse the version specifyingIRegion
as third parameterThis method is no longer called by the framework and clients should overwriteTemplateProposal.apply(ITextViewer, char, int, int)
insteadThis method is no longer called by the framework and clients should overwriteTemplateProposal.apply(ITextViewer, char, int, int)
insteadas of 3.3 useTemplateTranslator.createVariable(TemplateVariableType, String, int[])
insteaduseMultiStringMatcher.indexOf(CharSequence, int, String...)
instead. Notable differences:- new matcher indexOf does not allow negative offsets (old matcher treated them
as
0
) - new matcher indexOf will tolerate
null
and empty search strings (old accepted empty but throw onnull
) - new matcher indexOf will not match empty string (old matched empty if nothing else matched)
delimiter
use the optimizedTextUtilities.nextDelimiter(CharSequence, int)
method instead.useStyledText.invokeAction
insteadas of 3.2usegetWidthInPixels(int, int)
insteaduse shift(boolean, boolean, boolean) insteadsince 3.1 useIDocumentExtension4.startRewriteSession(DocumentRewriteSessionType)
insteadsince 3.1 useIDocumentExtension4.stopRewriteSession(DocumentRewriteSession)
insteaduseupdateSlaveDocument
insteadthis is no longer in use as of 3.3this is no longer in use as of 3.3use getIgnoreErrors()return directly value, or useInteger.hashCode(int)
This method was inadvertently released as API but is not intended to be called by clients.this is no longer called by the frameworkas this method only checks or unchecks visible items is is recommended thatCheckboxTreeViewer.setSubtreeChecked(Object, boolean)
is used instead.As of 3.7, replaced byComboBoxViewerCellEditor.setContentProvider(IStructuredContentProvider)
Since 3.4, the default implementation ofCellLabelProvider.initialize(ColumnViewer, ViewerColumn)
in this class will set up the necessary owner draw callbacks automatically. Calls to this method can be removed.This method is deprecated in 3.3 in favor ofColumnViewer.getItemAt(org.eclipse.swt.graphics.Point)
. Viewers who are not subclasses ofColumnViewer
should consider using a widget relative implementation likeColumnViewer.getItemAt(org.eclipse.swt.graphics.Point)
.usesetComparator()
instead.this method should not be used. Exception handling has been removed from DropTargetAdapter methods overridden by this class. Handles any exception that occurs during callback, including rethrowing behavior.[Issue: Implementation prints stack trace and eats exception to avoid crashing VA/J. Consider conditionalizing the implementation to do one thing in VAJ and something more reasonable in other operating environments. ]
as of 3.3 UseViewerComparator.getComparator()
use #changePerformed(Change, boolean) insteadsince 3.4. OverridePerformRefactoringHistoryOperation.createRefactoring(RefactoringDescriptor, RefactoringStatus, IProgressMonitor)
insteadsince 3.6. OverrideRefactoringHistoryWizard.createRefactoringContext(RefactoringDescriptor, RefactoringStatus, IProgressMonitor)
insteadsince 3.7. OverrideRefactoringHistoryWizard.createRefactoringContext(RefactoringDescriptor, RefactoringStatus, IProgressMonitor)
insteadusePerformChangeOperation(Change)
. Since 3.1, undo batching is implemented inTextChange
.RefactoringWizard.WIZARD_BASED_USER_INTERFACE
always shows a '?' button. To show the button withRefactoringWizard.DIALOG_BASED_USER_INTERFACE
, add theRefactoringWizard.SHOW_HELP_CONTROL
flag.As of 3.5. Replaced byListenerQueue.queueListeners(Set, EventDispatcher)
.useLocation.set(URL, boolean)
instead.all export package descriptions are roots. The Reexport-Package header never became API.matching should only be done against a capability's attributes.matching should only be done against a capability's attributes.in favour ofPlatformAdmin.createResolver()
.The exact form of this has never been defined. There is no alternative method available.useStateObjectFactory.readState(File)
insteaduseStateObjectFactory.readState(File)
insteaduseStateObjectFactory.writeState(State, File)
insteaduseStateObjectFactory.writeState(State, File)
insteadThis information is not readily available using the JAR APIs included with Java. A value unknown will be returned.deprecated in 3.1. UseNewSearchUI.runQueryInBackground(ISearchQuery)
to run a query in background orNewSearchUI.runQueryInForeground(IRunnableContext, ISearchQuery)
to run it in foregroundIAccessibleTable2::caption is deprecated, instead use the IA2_RELATION_LABELED_BY relation to create a relation between the table and its caption.IAccessibleTable2::summary is deprecated, instead use the IA2_RELATION_DESCRIBED_BY relation to create a relation between the table and its summary.IAccessibleTable2::caption is deprecated, instead use the IA2_RELATION_LABELED_BY relation to create a relation between the table and its caption.IAccessibleTable2::summary is deprecated, instead use the IA2_RELATION_DESCRIBED_BY relation to create a relation between the table and its summary.SWT.MOZILLA is deprecated and XULRunner as a browser renderer is no longer supported.use addCTabFolder2Listener(CTabFolder2Listener)see removeCTabFolderCloseListener(CTabFolderListener)the disabled image is not usedThis image is not useduse BidiSegmentListener instead.UseStyledText.getOffsetAtPoint(Point)
instead for better performanceuse BidiSegmentListener instead.Use getAverageCharacterWidth() insteadThis API doesn't serve the purpose in an environment having multiple monitors with different DPIs, hence deprecated.This API doesn't serve the purpose in an environment having multiple monitors with different DPIs, hence deprecated. UseImage.getImageData(int)
instead.- use OleControlSite.removeEventListener(OleAutomation, int, OleListener)useComposite.layout(Control[], int)
insteaduse #getFontList ()use #setFontList (FontData [])this functionality is not supported on most platformsThis method doesn't do anything useful so it has been deprecated.should use or override projectSetCreated(File, ProjectSetSerializationContext, IProgressMonitor) insteadUseTeam.createMerger(String)
instead.UseTeam.createMerger(IContentType)
instead.UsegetFileContentManager().getExtensionMappings()
instead.Use Team.getFileContentManager().getDefaultExtensionMappings() instead.UseRepositoryProviderType.getProjectSetCapability()
to obtain an instance ofProjectSetCapability
instead.UsegetFileContentManager().getType(IStorage storage)
instead.use isIgnoredHint insteaduse isIgnoredHint(IResource) insteadUsegetFileContentManager().setExtensionMappings()
instead.usegetLongTaskName(IResource[]) instead
As of 3.3, the work is performed in the undoable operation created inCopyFilesAndFoldersOperation.getUndoableCopyOrMoveOperation(IResource[], IPath)
As of 3.3, this method is no longer in use anywhere in this class and is only provided for backwards compatability with subclasses of the receiver.As of 3.3, the undoable operation created by this action handles error dialogs.As of 3.3, validation is performed in the undoable operation executed by this operation.As of 3.3, the work is performed in the undoable operation created inMoveFilesAndFoldersOperation.getUndoableCopyOrMoveOperation(IResource[], IPath)
As of 3.3, the error handling is performed by the undoable operation which handles the move.has no effectAs of 3.5 this is not necessary as the SWT Menu created inQuickMenuCreator.createMenu()
will be disposed shortly after the SWT.Hide event.Since 3.3, subclasses should instead implement the methodWorkspaceAction.createOperation(IStatus[])
and provide an empty implementation for this method.since 3.1, overrideWorkbenchWindowAdvisor.createWindowContents(Shell)
insteadsince 3.1, overrideActionBarAdvisor.fillActionBars(int)
insteadsince 3.1, overrideActionBarAdvisor.isApplicationMenu(String)
insteadsince 3.1, overrideWorkbenchWindowAdvisor.openIntro()
insteadsince 3.1, overrideWorkbenchWindowAdvisor.postWindowClose()
insteadsince 3.1, overrideWorkbenchWindowAdvisor.postWindowCreate()
insteadsince 3.1, overrideWorkbenchWindowAdvisor.postWindowOpen()
insteadsince 3.1, overrideWorkbenchWindowAdvisor.postWindowRestore()
insteadsince 3.1, overrideWorkbenchWindowAdvisor.preWindowOpen()
insteadsince 3.1, overrideWorkbenchWindowAdvisor.preWindowShellClose()
insteadThis method is no longer used. Applications now define workbench window contents in their application model.This method is no longer used. Applications now define workbench window contents in their application model.rather than pinning a specific console, a console view is pinned - usesetPinned(boolean)
since 3.1, this method should no longer be called, and has no effect. Writing to a message console stream updates the documentuse setBackground(Color) insteadUseIEvaluationResultCache.clearResult()
instead.UseIEvaluationResultCache.evaluate(IEvaluationContext)
instead.UseIContextService.activateContext(String, Expression)
instead.since 3.3, useCheckedTreeSelectionDialog.setComparator(ViewerComparator)
insteadas of 3.3, useElementTreeSelectionDialog.setComparator(ViewerComparator)
insteaduse getInitialElementSelections() insteadOnly retained for backwards compatibility.As of 3.3, use or overrideWizardNewFileCreationPage.createNewFile()
which uses the undoable operation support. To supply customized file content for a subclass, useWizardNewFileCreationPage.getInitialContents()
.As of 3.3, scheduling rules are provided by the undoable operation that this page creates and executes.As of 3.3, useWizardNewFolderMainPage.createNewFolder()
which uses the undoable operation support.Should use the APIIElementFilter
As of 3.5, replaced byEditorsUI.getPreferenceStore()
as of 3.0 this method is no longer in use and does nothinguse file encoding based versionuse encoding based version insteaduse the encoding based version insteaddue to the underlying widget limitations, background image is either painted at 0,0 and/or tiled.usegetHeadColor(IFormColors.H_BOTTOM_KEYLINE2)
due to the underlying widget limitations, background image is always clipped.due to the underlying widget limitations, background image is always tiled and alignment cannot be controlled.due to the underlying widget limitations, background image is always clipped.usesetHeadColor(IFormColors.H_BOTTOM_KEYLINE2, separatorColor)
loading text is not used since 3.1not used any more - returnsfalse
use setText(loadingText, false, false);usegetHoverDecorationColor
UseIEvaluationResultCache.clearResult()
instead.UseIEvaluationResultCache.evaluate(IEvaluationContext)
instead.Use org.eclipse.ui.IActionDelegate2 instead.Since 3.12, useIDE.getEditorDescriptor(String, boolean, boolean)
instead.Since 3.12, useIDE.getEditorDescriptor(String, boolean, boolean)
instead.Since 3.12, useIDE.getEditorDescriptor(IFile, boolean, boolean)
Since 3.12, useIDE.getEditorDescriptor(IFile, boolean, boolean)
instead.UseAdapters.adapt(Object, Class, boolean)
instead.use getBaseLabelProvider(String) instead.The system external editor is the default editor. UsefindEditor(IEditorRegistry.SYSTEM_EXTERNAL_EDITOR_ID)
instead.use createWorkingSetSelectionDialog(parent, true) insteadindividual 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.individual views should store a working set if neededindividual 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.individual views should store a working set if neededUse IServiceLocator#getService(*) to retrieve IContextService and IHandlerService instead.discontinued support for fast viewsdiscontinued support for fast viewsthis always returns -1 as of Eclipse 2.1this method has no effect, as of Eclipse 2.1Please useIServiceLocator.getService(Class)
instead.this returns the internal preference store for the workbench, which clients should not use. UsePlatformUI.getPreferenceStore()
instead. Note that these preference stores are not the same. If you were previously storing preferences in the store returned by this method you should move them to your own plugin preference store.client should register listeners on the instance ofIWorkingSetManager
returned byIWorkbench.getWorkingSetManager()
instead.Clients are encouraged to useIWorkbenchPage.getEditorReferences()
instead. Calling this method has the side effect of restoring all the editors in the page which can cause plug-in activation.Clients are encouraged to useIWorkbenchPage.getViewReferences()
instead. Calling this method has the side effect of restoring all the views in the page which can cause plug-in activation.individual views should store a working set if neededuse IPageLayout.setEditorReuseThreshold(int openEditors) instead.UseIServiceLocator.getService(Class)
instead.useIWorkingSet.getImageDescriptor()
insteaduse createWorkingSetSelectionDialog(parent, true) insteaduse IWorkbench.getDecoratorManager()new code should use setPartName and setContentDescriptionUsePlatformUI.getWorkbench()
directlythis is only called if the runtime compatibility layer is present. See the deprecated comment inPlugin.initializeDefaultPluginPreferences()
.this is only called if the runtime compatibility layer is present. SeeAbstractUIPlugin.initializeDefaultPluginPreferences()
.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.As of Eclipse 2.0, preferences exist for all plug-ins. The equivalent of this method isPlugin.savePluginPreferences
. This method now callssavePluginPreferences
, and exists only for backwards compatibility.In Eclipse 3.0,shutdown
has been replaced byPlugin.stop(BundleContext context)
. Implementations ofshutdown
should be changed to extendstop(BundleContext context)
and callsuper.stop(context)
instead ofsuper.shutdown()
. Unlikesuper.shutdown()
,super.stop(context)
must be called as the very last thing rather than as the very first thing. Theshutdown
method is called only for plug-ins which explicitly require the org.eclipse.core.runtime.compatibility plug-in; in contrast, thestop
method is always called.As of 3.5WorkbenchStatusDialogManager.setMessageDecorator(org.eclipse.jface.viewers.ILabelDecorator)
is recommended.as of 3.3. Not called any longer, replaced byAbstractDecoratedTextEditor.createLineNumberRulerColumn()
visibility will be reduced, usegetAdapter(IGotoMarker.class) for accessing this method
useupdateMarker(IDocument, IMarker, Position)
instead. This method will be changed to protected.since 3.0since 3.0useAnnotation.getType()
assumed to always returntrue
assumed to always returntrue
As of 3.9, replaced byHyperlinkDetectorDescriptor.createHyperlinkDetectorImplementation()
As of 3.0, replaced byImageUtilities.drawImage(Image, GC, Canvas, Rectangle, int)
As of 3.0, replaced byImageUtilities.drawImage(Image, GC, Canvas, Rectangle, int, int)
As of 3.0, visual presentation is no longer supported, annotation with a visible presentation should implementIAnnotationPresentation
As of 3.0, visual presentation is no longer supported, annotation with a visible presentation should implementIAnnotationPresentation
As of 3.0, visual presentation is no longer supported, annotation with a visible presentation should implementIAnnotationPresentation
As of 3.0, visual presentation is no longer supported, annotation with a visible presentation should implementIAnnotationPresentation
As of 3.0, replaced byIAnnotationAccessExtension.getLayer(org.eclipse.jface.text.source.Annotation)
As of 3.0, visual presentation is no longer supported, annotation with a visible presentation should implementIAnnotationPresentation
As of 3.0, visual presentation is no longer supported, annotation with a visible presentation should implementIAnnotationPresentation
As of 3.0, visual presentation is no longer supported, annotation with a visible presentation should implementIAnnotationPresentation
As of 3.0, annotation with a visible presentation should implementIAnnotationPresentation
usegetVerticalRulerInfo
insteadas of 3.2, the default flag should not be used any longerAs of 4.8, this is no longer usedAs of 3.4, replaced bySpellingProblem.removeAll(ISourceViewer, String)
not called any longer as of 3.1 - useTemplatePreferencePage.editTemplate(Template, boolean, boolean)
Do not use this method. Check the osgi.bundles system property for the urls of the automatically started bundlesDo not use this method.Do not use this methodDo not use this methodDo not use this methodDo not use this method. Use the osig.bundles system property contains the urls of the automatically started bundles. - new matcher indexOf does not allow negative offsets (old matcher treated them
as
-
ConstructorDescriptionUse HTMLParser(FileInputStream) insteaduse
MultiList(List)
insteaduseMultiList(List, Object)
insteaduseMultiList(Realm, List, Object)
insteadthis constructor relies on the workspace already initialized and accessible via static access, instead theResourceRuleFactory(IWorkspace)
constructor should be used.this constructor relies on the workspace already initialized and accessible via static access, instead theTeamHook(IWorkspace)
constructor should be used.useBundleDefaultsScope.INSTANCE
insteaduseConfigurationScope.INSTANCE
insteaduseDefaultScope.INSTANCE
insteadcallInstanceScope.INSTANCE
instead.use other constructoruse Help#Help(String[])As of 3.4, replaced by simpler constructorsAs of 3.4, replaced by simpler constructorsAs of 3.4, replaced byDefaultInformationControl(Shell, DefaultInformationControl.IInformationPresenter)
As of 3.4, replaced byDefaultInformationControl(Shell, String, DefaultInformationControl.IInformationPresenter)
useGapTextStore(int, int, float)
insteadAs of 3.2, replaced byURLHyperlinkDetector
use DefaultDamagerRepairer(ITokenScanner) insteaduse RuleBasedDamagerRepairer(RuleBasedScanner) insteadUseAnnotationRulerColumn(int)
insteadsince 3.2 useChangeRulerColumn(ISharedTextColors)
insteadas of 3.1 replaced byTemplate(String, String, String, String, boolean)
use newCheckList(Composite, int) or new CheckboxTableViewer(Table) instead (see below for details)use newCheckList(Composite, int) or new CheckboxTableViewer(Table) instead (see above for details)useProcessorBasedRefactoring(RefactoringProcessor)
insteadsee deprecated tag on classsee deprecated tag on classShould take an IShellProvider, seeDeleteResourceAction(IShellProvider)
use the constructorExportResourcesAction(IWorkbenchWindow)
use the constructorExportResourcesAction(IWorkbenchWindow, String)
use GlobalBuildAction(IWorkbenchWindow, type) insteaduse the constructorImportResourcesAction(IWorkbenchWindow)
use the constructorNewWizardAction(IWorkbenchWindow)
use NewWizardMenu(IWorkbenchWindow) insteadAs there is no way to set the file with this constructor use a different constructor.As of 3.116, replaced byFilteredTree(Composite, boolean, boolean)
As of 3.116, replaced byFilteredTree(Composite, int, PatternFilter, boolean, boolean)
As of 3.116, replaced byFilteredTree(Composite, int, PatternFilter, boolean, boolean)
As of 3.116, replaced byFilteredTree(Composite, int, PatternFilter, boolean, boolean)
since 3.123; useListSelectionDialog.of(Object)
instead:ListSelectionDialog.of(input).contentProvider(contentProvider).labelProvider(labelProvider).message(message).create(parentShell)
use PropertyDialogAction(IShellProvider, ISelectionProvider)default placement of the working set group has been removed. If you wish to use the working set block please callWizardNewProjectCreationPage.createWorkingSetGroup(Composite, IStructuredSelection, String[])
in your overriddenWizardNewProjectCreationPage.createControl(Composite)
implementation.see class commentuseFileSynchronizer(IFileEditorInput)
create theCommandContributionItemParameter
in 3.4. provider is not used by this classin 3.4. provider is not used by this classAs of 3.4 theparentShell
is ignoredAs of 3.4 theparentShell
is ignoredAs of 3.0, replaced byDefaultMarkerAnnotationAccess()
use FindReplaceAction(ResourceBundle, String, IWorkbenchPart, boolean) insteaduse FindReplaceAction(ResourceBundle, String, IWorkbenchPart) insteaduse FindReplaceAction(ResourceBundle, String, IWorkbenchPart, boolean) insteadAs of 3.5, this is a NOP since the framework installs this nowAs of 3.5, this is a NOP since the framework installs this nowuseMarkerRulerAction(ResourceBundle, String, ITextEditor, IVerticalRulerInfo, String, boolean)
insteaduse super class constructor insteadAs of 3.5, replaced byMoveLinesAction(ResourceBundle, String, ITextEditor, ITextViewer, boolean, boolean)
no longer supportedAs of 3.0, replaced bySelectMarkerRulerAction(ResourceBundle, String, ITextEditor, IVerticalRulerInfo)
As of 2.1 replaced bySelectMarkerRulerAction(ResourceBundle, String, ITextEditor, IVerticalRulerInfo)
-
Annotation Interface ElementDescriptionUse contributionURI instead
org.eclipse.equinox.security.storage.SecurePreferencesFactory
to obtain secure preferences andorg.eclipse.equinox.security.storage.ISecurePreferences
for data access and modifications. This API will be deleted in a future release. See bug 370248 for details.