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.
Difference between revisions of "Riena Migrating to 3.0 from 2.0"
m (→SWTFacade - Removed methods) |
(→API Incompatibilities) |
||
Line 15: | Line 15: | ||
=== SWTFacade - Removed methods === | === SWTFacade - Removed methods === | ||
* getCursorControl(Display) – Removed. Both RCP and RAP now support <tt>display.getCursorControl()</tt> | * getCursorControl(Display) – Removed. Both RCP and RAP now support <tt>display.getCursorControl()</tt> | ||
+ | |||
+ | === GCFacade - Removed methods === | ||
+ | * drawLine(GC, int, int, int, int) – Removed. Both RCP and RAP now support <tt>GC.drawLine(int, int, int, int)</tt> | ||
+ | * drawRoundRectangle(int, int, int, int, int, int) – Removed. Both RCP and RAP now support <tt>GC.drawRoundRectangle(int, int, int, int, int, int)</tt> | ||
== Other Changes == | == Other Changes == |
Revision as of 19:05, 17 December 2010
Contents
Introduction
Explains how to migrate to Riena 3.0 from 2.0
While every effort was made to avoid breakage, there are a few areas of incompatibility or new APIs that should be adopted by clients. This page describes those areas and provides migration instructions.
API Incompatibilities
CompletionCombo - Removed methods
The following methods have been removed, because they could not be provided in the RAP implementation of this widget (browsers don't allow programmatic access to the clipboard):
- copy()
- cut()
- paste()
SWTFacade - Removed methods
- getCursorControl(Display) – Removed. Both RCP and RAP now support display.getCursorControl()
GCFacade - Removed methods
- drawLine(GC, int, int, int, int) – Removed. Both RCP and RAP now support GC.drawLine(int, int, int, int)
- drawRoundRectangle(int, int, int, int, int, int) – Removed. Both RCP and RAP now support GC.drawRoundRectangle(int, int, int, int, int, int)
Other Changes
TDB