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.
Riena Migrating to 3.0 from 2.0
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()
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)
GrabCorner - moved
The class GrabCorner was previously in the bundle org.eclipse.riena.navigation.ui.swt, package org.eclipse.riena.navigation.ui.swt. It is now in the bundle org.eclipse.riena.ui.swt, package org.eclipse.riena.ui.swt. This was done to enable single-sourcing.
GrabCornerListenerWithTracker - moved
The class GrabCornerListenerWithTracker was previously in the bundle org.eclipse.riena.navigation.ui.swt, package org.eclipse.riena.navigation.ui.swt.views. It is now no longer directly available. It can be found in the bundle org.eclipse.riena.ui.swt.rcp, package org.eclipse.riena.ui.swt.facades.internal – however direct access is not recommended, as it interferes with single-sourcing. Use the following, single-source compatible, code instead:
SWTFacade.getDefault().createGrabCornerListenerWithTracker(Control)
SWTFacade - removed methods
- getCursorControl(Display) – Removed. Both RCP and RAP now support display.getCursorControl()
Other Changes
TDB