Community
Participate
Working Groups
As a Riena user, I want that NavigationView can be minimized as a fastview, so I can maximize the current module view. Using fastview is a good option because it minimize the view and creates an icon that represents it on the corner of RCP window. Clicking on this icon shows the view to the front again (without restoring), but it ables to restore the view to the standard place again.
The fastview implementation of Eclipse RCP can not be reused in Riena, because of different reasons. The main problem is the layout of the Riena application window. The layout is not very flexible (but this is part of the Riena navigation concept). Riena is using the FormLayout but the fastview implementation expects the TrimLayout (this is an internal layout and is used the eclipse IDE workbench). It isn't possible to use the TrimLayout in Riena. So we try to find another solution to minimize the navigation of Riena.
Created attachment 200648 [details] minimized navigation
Created attachment 200649 [details] maximized navigation
Just wanted to inform you that we have begun to work on a Riena specific solution to minimize the navigation. See the screenshots for the way it looks right now in the Riena Example Application (the button on the left will be removed, as it is only there for testing at the moment). We have planned to provide an API for opening and closing the navigation as well as some status information. If you have more input or wishes, let us know!
Hi Sabine, By the images I could say that it is looking very cool. ;) One more input: it would be very nice to have some property on module/submodule to able to start it on minimized/maximazed mode. cheers
(In reply to comment #5) > Hi Sabine, > > By the images I could say that it is looking very cool. ;) > > One more input: it would be very nice to have some property on module/submodule > to able to start it on minimized/maximazed mode. > > cheers Not sure I understand that comment. So the min oder max mode is for the whole navigation tree which is specific to one sub application. So not sure why you like to have that specific to a module or submodule. So in theory there could be a use case where you want it one way in one sub application and another way in a different sub application. But since it overlaps the work area, I think its more an application wide setting that you either have switched on or not. Don't you think ? I think for the start you have to have to use the API that we will supply and activate the desired mode in the afterActivate method of the submodule controller…. (if you still want it different in various submodules/modules)
Yep, you are right Christian. cheers (In reply to comment #6) > (In reply to comment #5) > > Hi Sabine, > > > > By the images I could say that it is looking very cool. ;) > > > > One more input: it would be very nice to have some property on module/submodule > > to able to start it on minimized/maximazed mode. > > > > cheers > > Not sure I understand that comment. So the min oder max mode is for the whole > navigation tree which is specific to one sub application. So not sure why you > like to have that specific to a module or submodule. > So in theory there could be a use case where you want it one way in one sub > application and another way in a different sub application. > > But since it overlaps the work area, I think its more an application wide > setting that you either have switched on or not. Don't you think ? > > I think for the start you have to have to use the API that we will supply and > activate the desired mode in the afterActivate method of the submodule > controller…. (if you still want it different in various submodules/modules)
I have just committed the changes for the FastView. It is possible to activate the use of the FastView navigation per Look and Feel (LnfKeyConstants.NAVIGATION_FAST_VIEW). For convenience we introduced the class ApplicationUtility where the application programmer can programmatically set the visibility of the navigation. We also created the ShowHideNavigationHandler which can be used to add a toolbar button to switch the navigation on and off. The Example Client has been extended by such a ToolBar button which is only visible if LnfKeyConstants.NAVIGATION_FAST_VIEW is set to true.