Extract JCR-specific implementation details of Workbench into a child class still exposing the public functionality (MGNLUI-2664)

[MGNLUI-2698] Refactor inplace-editing so that it delegates to an action, instead of performing JCR logic in BrowserPresenter Created: 21/Feb/14  Updated: 20/Mar/14  Resolved: 13/Mar/14

Status: Closed
Project: Magnolia UI
Component/s: tree/list, workbench
Affects Version/s: 5.2.2
Fix Version/s: 5.3

Type: Sub-task Priority: Major
Reporter: Mikaël Geljić Assignee: Mikaël Geljić
Resolution: Fixed Votes: 0
Labels: inplace-editing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Sprint: 5.3 Preparation 2, 5.3 Sprint 3, 5.3 Sprint 4

 Description   

In order to turn BrowserPresenter completely JCR-free, we still need to move the #editItem() logic out of it. This is currently invoked:

  • from inplace-editing, through an ItemEditedEvent listener
  • from SaveConfigDialogAction (save action on the editProperty dialog) which also fires a new ItemEditedEvent on the subApp event bus.

This logic should move to an action.

During the process, it may also be necessary to finally refactor inplace-editing into TreeView and an external fieldFactory, rather than inside the extended TreeTable component.


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