Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350071 - Make NavigationView a fastView
Summary: Make NavigationView a fastView
Status: RESOLVED FIXED
Alias: None
Product: Riena
Classification: RT
Component: UI (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Sabine Achilles CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-22 11:54 EDT by Cristiano Gaviao CLA
Modified: 2011-08-05 02:22 EDT (History)
1 user (show)

See Also:


Attachments
minimized navigation (28.05 KB, image/png)
2011-08-01 07:04 EDT, Sabine Achilles CLA
no flags Details
maximized navigation (45.14 KB, image/png)
2011-08-01 07:04 EDT, Sabine Achilles CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cristiano Gaviao CLA 2011-06-22 11:54:53 EDT
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.
Comment 1 Thorsten Schenkel CLA 2011-07-20 09:51:04 EDT
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.
Comment 2 Sabine Achilles CLA 2011-08-01 07:04:12 EDT
Created attachment 200648 [details]
minimized navigation
Comment 3 Sabine Achilles CLA 2011-08-01 07:04:44 EDT
Created attachment 200649 [details]
maximized navigation
Comment 4 Sabine Achilles CLA 2011-08-01 07:04:56 EDT
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!
Comment 5 Cristiano Gaviao CLA 2011-08-02 08:10:20 EDT
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
Comment 6 Christian Campo CLA 2011-08-03 03:26:33 EDT
(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)
Comment 7 Cristiano Gaviao CLA 2011-08-03 09:44:11 EDT
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)
Comment 8 Sabine Achilles CLA 2011-08-05 02:22:22 EDT
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.