[MGNLUI-4224] Align code in DialogAction classes Created: 15/Jun/17  Updated: 08/Mar/21  Resolved: 08/Mar/21

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

Type: Improvement Priority: Neutral
Reporter: Evzen Fochr Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

There are big differences in code f.e. in OpenCreateDialogAction, OpenEditDialogAction, OpenEditRoleDialogAction e.t.c. but result should be nearly same.

We can align this code using abstract class for it with protected methods:

  • getFormDialogPresenterItem
  • getFormDialogPresenter
  • createEditorCallback

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