Top For Removal Deprecated
Standard Widget Toolkit for GTK 3.125.0

Deprecated API


Terminally Deprecated Item Summary

SinceTerminally Deprecated Item and Description
2024-03
org.eclipse.swt.SWT.CHROMIUM

Support for Chromium was limited to ancient and full of CVEs version of Chromium. See bug report for details

Deprecated Item Summary

SinceDeprecated Item and Description
org.eclipse.swt.SWT.MOZILLA

This style is deprecated and will be removed in the future. XULRunner as a browser renderer is no longer supported. Use SWT.WEBKIT or SWT.NONE instead.

org.eclipse.swt.SWT.Sleep

The same as PreExternalEventDispatch (value is 52).

org.eclipse.swt.SWT.Wakeup

The same as PostExternalEventDispatch (value is 53).

org.eclipse.swt.accessibility.AccessibleTableAdapter.getCaption(AccessibleTableEvent
an event object containing the following fields:
  • [out] accessible - the caption for the table, or null if the table does not have a caption
e
)

IAccessibleTable2::caption is deprecated, instead use the IA2_RELATION_LABELED_BY relation to create a relation between the table and its caption.

org.eclipse.swt.accessibility.AccessibleTableAdapter.getSummary(AccessibleTableEvent
an event object containing the following fields:
  • [out] accessible - the summary for the table, or null if the table does not have a summary
e
)

IAccessibleTable2::summary is deprecated, instead use the IA2_RELATION_DESCRIBED_BY relation to create a relation between the table and its summary.

org.eclipse.swt.accessibility.AccessibleTableListener.getCaption(AccessibleTableEvent
an event object containing the following fields:
  • [out] accessible - the caption for the table, or null if the table does not have a caption
e
)

IAccessibleTable2::caption is deprecated, instead use the IA2_RELATION_LABELED_BY relation to create a relation between the table and its caption.

org.eclipse.swt.accessibility.AccessibleTableListener.getSummary(AccessibleTableEvent
an event object containing the following fields:
  • [out] accessible - the summary for the table, or null if the table does not have a summary
e
)

IAccessibleTable2::summary is deprecated, instead use the IA2_RELATION_DESCRIBED_BY relation to create a relation between the table and its summary.

Returns:

the receiver's JavaXPCOM nsIWebBrowser or null
org.eclipse.swt.browser.Browser.getWebBrowser
()

SWT.MOZILLA is deprecated and XULRunner as a browser renderer is no longer supported.

org.eclipse.swt.custom.AnimatedProgress

As of Eclipse 2.1, use ProgressBar with the style SWT.INDETERMINATE

Styles:
VERTICAL, HORIZONTAL, BORDER
org.eclipse.swt.custom.CTabFolder.MIN_TAB_WIDTH

This field is no longer used. See setMinimumCharacters(int)

org.eclipse.swt.custom.CTabFolder.addCTabFolderListener(CTabFolderListener
the listener which should be notified
listener
)

use addCTabFolder2Listener(CTabFolder2Listener)

org.eclipse.swt.custom.CTabFolder.borderInsideRGB

drop shadow border is no longer drawn in 3.0

org.eclipse.swt.custom.CTabFolder.borderMiddleRGB

drop shadow border is no longer drawn in 3.0

org.eclipse.swt.custom.CTabFolder.borderOutsideRGB

drop shadow border is no longer drawn in 3.0

org.eclipse.swt.custom.CTabFolder.removeCTabFolderListener(CTabFolderListener
the listener which should no longer be notified
listener
)

see removeCTabFolderCloseListener(CTabFolderListener)

Returns:

the disabled image or null
org.eclipse.swt.custom.CTabItem.getDisabledImage
()

the disabled image is not used

org.eclipse.swt.custom.CTabItem.setDisabledImage(Image
the image to be displayed when the item is disabled or null
image
)

This image is not used

Returns:

the current coloring mode
org.eclipse.swt.custom.StyledText.getBidiColoring
()

use BidiSegmentListener instead.

Returns:

offset of the character at the given location relative to the first character in the document.
org.eclipse.swt.custom.StyledText.getOffsetAtLocation
(Point
the origin of character bounding box relative to the origin of the widget client area.
point
)

Use getOffsetAtPoint(Point) instead for better performance

org.eclipse.swt.custom.StyledText.setBidiColoring(boolean
the new coloring mode
mode
)

use BidiSegmentListener instead.

Returns:

the average character width of the font
org.eclipse.swt.graphics.FontMetrics.getAverageCharWidth
()

Use getAverageCharacterWidth() instead

Returns:

a rectangle specifying the image's bounds in pixels.
org.eclipse.swt.graphics.Image.getBoundsInPixels
()

This API doesn't serve the purpose in an environment having multiple monitors with different DPIs, hence deprecated.

Returns:

an ImageData containing the image's data and attributes at the current zoom level.
org.eclipse.swt.graphics.Image.getImageDataAtCurrentZoom
()

This API doesn't serve the purpose in an environment having multiple monitors with different DPIs, hence deprecated. Use getImageData(int) instead.

org.eclipse.swt.internal.Callback.ignoreCallbacks(boolean
true if callbacks should not be invoked
ignore
)

org.eclipse.swt.widgets.Composite.changed(Control[]
an array of controls that changed state and require a recalculation of size
changed
)

use Composite#layout(Control[], int) instead

Returns:

the FontData for the selected font, or null
org.eclipse.swt.widgets.FontDialog.getFontData
()

use #getFontList ()

org.eclipse.swt.widgets.FontDialog.setFontData(FontData
the FontData to use initially, or null
fontData
)

use #setFontList (FontData [])

org.eclipse.swt.widgets.TableItem.setImageIndent(int
the new indent
indent
)

this functionality is not supported on most platforms