# Incompatibilities Between Eclipse 4.4 and 4.5

Eclipse changed in incompatible ways between 4.4 and 4.5 in ways that affect plug-ins. The following entries describe the areas that changed and provide instructions for migrating 4.4 plug-ins to 4.5. Note that you only need to look here if you are experiencing problems running your 4.4 plug-in on 4.5.

See also the list of deprecated API removals for this release.

1. Eclipse context key Translation.LOCALE provides the Locale type
2. Package org.eclipse.e4.ui.workbench.addons.splitteraddon marked as non-API
3. New monitoring events added in place of SWT.Sleep and SWT.Wakeup
4. Support of Eclipse 2.0 plug-ins via ICompatibleWorkbenchPage removed

## 1. Eclipse Context Key Translation.LOCALE Provides the Locale Type

What is affected: Clients that are getting the Locale injected.

Description: The `Translation.LOCALE` key allows clients to get the current Locale injected. The type has changed from String to Locale.

Action required: Clients that directly use API listed above should remove any references to it.

## 2. Package org.eclipse.e4.ui.workbench.addons.splitteraddon Marked as Non-api

What is affected: Clients accessing the package.

Description: The packages of `org.eclipse.e4.ui.workbench.addons` should all be internal API as the platform team want to have the freedom to adjust them. Unfortunately it was forgotten to mark `org.eclipse.e4.ui.workbench.addons.splitteraddon` as internal in 4.4.

Action required: Clients that directly use API listed above should remove any references to it.

## 3. New Monitoring Events Added in Place of SWT.Sleep and SWT.Wakeup

What is affected: Clients using the SWT.Sleep and SWT.Wakeup events.

Description: `SWT.Sleep` and `SWT.Wakeup` events introduced in 4.4 are now deprecated in favour of the more generic events `SWT.PreExternalEventDispatch` and `SWT.PostExternalEventDispatch`, respectively. Bug report for this change

Action required: Clients that were written using the old event names should be updated to refer to the new events.

## 4. Support of Eclipse 2.0 Plug-ins via ICompatibleWorkbenchPage and org.eclipse.ui.workbench.compatibility Removed

What is affected: Clients using ICompatibleWorkbenchPage and org.eclipse.ui.workbench.compatibility.

Description: The ICompatibleWorkbenchPage interface and the org.eclipse.ui.workbench.compatibility plug-in have been removed. Please note that the support for 2.0 plug-ins was already removed in the past. Bug report for this change

Action required: Clients that were using this interface and this plug-in must update.