[MGNLUI-1602] Refactore ContentPresenter, JcrContainer and ContentPresenterDefinition Created: 07/Jun/13  Updated: 13/Jun/13  Resolved: 07/Jun/13

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.0
Fix Version/s: 5.0

Type: Task Priority: Neutral
Reporter: Daniel Lipp Assignee: Daniel Lipp
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Sprint: RC 1

 Description   

AbstractContentPresenter and AbstractJcrContainer both define an identical method

Iterator<ColumnDefinition> getColumnsIterator()

As both are used in the defining classes to loop aver the ColumnDefinitions we actually also do more processing that required.
Dropping it from AbstractJcrContainer would allow to make the containers unaware of ViewTypes as well.

ConfiguredContentPresenterDefinition should be a simple definition and not contain any logic - hence the filtering of disabled ColumnDefinitions should be moved e.g. to AbstractContentPresenter.


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