In an application rendered by the SWT GUI, how should the user switch between outlines?
In the swing application, the OutlineViewButtons I have added to my Outline are rendered in an "Outline Bar" on top of the main window. This bar represents the active outline and the other available outlines (configured with getConfiguredOutlines in the Desktop). (To a have a proper "Outline bar" I applied this modification of the SwingEnvironment)
I add a look to what an RCP application may provide...
To my mind, the "outline bar", should be realized with the Main Toolbar (called Coolbar[see this tutorial: Menus and Toolbars]). All Outlines defined in the getConfiguredOutlines of the Desktop needs to be reprensented by a button (IAction). The IAction representing the selected outline should be checked.
Here a prototype (and a comparison with the Swing UI):
For the moment I have no clue on how the Separation of the UI and the GUI is implemented in Scout... I add a look on the org.eclipse.scout.rt.ui.swt plug-in... Coding there is not for me (yet).
From what I understood of Scout RT and Eclipse RCP, this should be possible...