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/Detached Views"
< Riena
m (Riena DetachedViews moved to Riena Detached Views) |
(→Riena Detached Views How-To) |
||
Line 1: | Line 1: | ||
− | === Riena Detached Views | + | === Riena Detached Views === |
− | + | This document explains how to easily open 'auxilary' views when a certain navigation node is selected in the main window. | |
+ | |||
+ | [[Image:riena_detached_views.png]] | ||
+ | |||
+ | ==== How-To ==== | ||
+ | |||
+ | Riena has a mechanism that allows developers to show any ViewPart in a separate 'detached' shell/window. This can be used to show one or more views in separate shells. These shells are draggable, moveable, but not closeable. | ||
+ | |||
+ | Only one view can be shown in each 'detached' shell. This view can be a regular ViewPart or an implementation of Riena's SubModuleView. | ||
+ | |||
+ | Using this mechanism is done in three steps: | ||
+ | * deciding when to show / hide /dispose these detached shells. | ||
+ | * deciding where to show these shells. | ||
+ | * using a DetachedViewMAnager to do the actual work. | ||
TBD. | TBD. | ||
[[Category:Riena]] | [[Category:Riena]] |
Revision as of 20:48, 13 May 2009
Riena Detached Views
This document explains how to easily open 'auxilary' views when a certain navigation node is selected in the main window.
How-To
Riena has a mechanism that allows developers to show any ViewPart in a separate 'detached' shell/window. This can be used to show one or more views in separate shells. These shells are draggable, moveable, but not closeable.
Only one view can be shown in each 'detached' shell. This view can be a regular ViewPart or an implementation of Riena's SubModuleView.
Using this mechanism is done in three steps:
- deciding when to show / hide /dispose these detached shells.
- deciding where to show these shells.
- using a DetachedViewMAnager to do the actual work.
TBD.