Let displayed Content view (Tree/List/Thumbnail) be configurable (MGNLUI-968)

[MGNLUI-1010] Review ContentLocation handling. Created: 28/Mar/13  Updated: 02/Apr/13  Resolved: 28/Mar/13

Status: Closed
Project: Magnolia UI
Component/s: app framework, configuration, content app
Affects Version/s: 5.0
Fix Version/s: 5.0

Type: Sub-task Priority: Neutral
Reporter: Eric Hechinger Assignee: Eric Hechinger
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Release notes required:
Yes
Date of First Response:
Sprint: Iteration 2013-12, Iteration 2013-13

 Description   

Currently, the default location is hardcoded in ViewType (always tree). Now we are able to define a default view.

Define a helper Method ContentWorkbenchPresenter.getDefaultViewType that return the default View based on the definition.

Use this helper method in ContentSubApp.restoreWorkbench( in order to set the View if null.



 Comments   
Comment by Jozef Chocholacek [ 02/Apr/13 ]

Release notes: From now on, the Content App is responsible for defining the default view type.

Generated at Mon Feb 12 08:42:29 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.