Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Riena Migrating to 2.0 from 1.2"
(New page: == Introduction == Explains how to migrate to Riena 2.0 from 1.2. While every effort was made to avoid breakage, there are a few areas of incompatibility or new APIs that should be adop...) |
(→Incompatibilities) |
||
Line 10: | Line 10: | ||
SWT does not support changing the alignment after creating a Text widget. In 1.2 all occurrences of these methods have intentionally thrown an UnsupportedOperationException. These methods have been removed in 2.0. | SWT does not support changing the alignment after creating a Text widget. In 1.2 all occurrences of these methods have intentionally thrown an UnsupportedOperationException. These methods have been removed in 2.0. | ||
+ | |||
+ | === SimpleNavigationNodeProvider - register methods removed === | ||
+ | |||
+ | The following methods are removed: | ||
+ | * register(ISubApplicationNodeExtension, INavigationAssembler assembler) | ||
+ | * register(IModuleGroupNodeExtension, INavigationAssembler assembler) | ||
+ | * register(IModuleNodeExtension, INavigationAssembler assembler) | ||
+ | * register(ISubModuleNodeExtension, INavigationAssembler assembler) | ||
+ | In the old implementation of SimpleNavigationNodeProvider these methods do nothing. | ||
== Adopting 2.0 mechanisms and API == | == Adopting 2.0 mechanisms and API == |
Revision as of 08:59, 3 February 2010
Contents
Introduction
Explains how to migrate to Riena 2.0 from 1.2.
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.
Incompatibilities
ITextRidget - Removed getAlignment() and setAlignment(int) methods
SWT does not support changing the alignment after creating a Text widget. In 1.2 all occurrences of these methods have intentionally thrown an UnsupportedOperationException. These methods have been removed in 2.0.
The following methods are removed:
- register(ISubApplicationNodeExtension, INavigationAssembler assembler)
- register(IModuleGroupNodeExtension, INavigationAssembler assembler)
- register(IModuleNodeExtension, INavigationAssembler assembler)
- register(ISubModuleNodeExtension, INavigationAssembler assembler)
In the old implementation of SimpleNavigationNodeProvider these methods do nothing.
Adopting 2.0 mechanisms and API
TBD