Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Eclipse4/RCP/Compatibility Layer/Migration"

< Eclipse4‎ | RCP
(New page: In order to ensure a smooth migration of 3.x plug-ins running on top of a 4.x base, there are several things that need to be checked to prevent headaches further down the road. ==APIs and...)
 
(APIs and Internals)
Line 5: Line 5:
  
 
The <tt>org.eclipse.ui.actionSets</tt> extension point has been deprecated in the 4.x stream. While they may still be used on 3.x, it is recommended to migrate code that uses the <tt>actionSets</tt> and <tt>objectContributions</tt> extension points to the Eclipse 3.3 <tt>org.eclipse.ui.menus</tt> extension point.
 
The <tt>org.eclipse.ui.actionSets</tt> extension point has been deprecated in the 4.x stream. While they may still be used on 3.x, it is recommended to migrate code that uses the <tt>actionSets</tt> and <tt>objectContributions</tt> extension points to the Eclipse 3.3 <tt>org.eclipse.ui.menus</tt> extension point.
 +
 +
It should be noted that the absence of compiler errors does not indicate API-cleanliness. Interfaces marked with <tt>@noimplement</tt> may be being implemented and classes marked with <tt>@noextend</tt> may have been subclassed. Care should be taken to ensure that these API tags are being honoured.

Revision as of 14:46, 7 April 2011

In order to ensure a smooth migration of 3.x plug-ins running on top of a 4.x base, there are several things that need to be checked to prevent headaches further down the road.

APIs and Internals

As detailed on the limitations of the Compatibility Layer, the org.eclipse.ui.presentations API has been removed and the org.eclipse.ui.themes extension point is being ignored for some select cases. These references should be searched for to ensure that they have been refactored out into a separate bundle to prevent problems when using the original plug-in on a 4.x base.

The org.eclipse.ui.actionSets extension point has been deprecated in the 4.x stream. While they may still be used on 3.x, it is recommended to migrate code that uses the actionSets and objectContributions extension points to the Eclipse 3.3 org.eclipse.ui.menus extension point.

It should be noted that the absence of compiler errors does not indicate API-cleanliness. Interfaces marked with @noimplement may be being implemented and classes marked with @noextend may have been subclassed. Care should be taken to ensure that these API tags are being honoured.

Back to the top