Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-3537

Extending SwitchableField

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.5
    • 5.3.10, 5.4.1
    • dialogs
    • Saigon 57
    • 3

      While creating an extension of SwitchableField, i needed to override 2 classes that might be improved:

      1. SwitchableFieldFactory might use the D class parameter to extend AbstractFieldFactory and D might extend SwitchableFieldDefinition (which leads to SwitchableFieldFactory<D extends SwitchableFieldDefinition> extends AbstractFieldFactory<D, PropertysetItem>)
      2. SwitchableField might declare its member fieldMap as protected or provide a getFieldByName() method

        Acceptance criteria

              ngoc.nguyenthanh Ngoc Nguyenthanh
              vgombert Vincent Gombert
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - 1.5d
                    1.5d
                    Remaining:
                    Time Spent - 1d 3.5h Remaining Estimate - 0.5h
                    0.5h
                    Logged:
                    Time Spent - 1d 3.5h Remaining Estimate - 0.5h
                    1d 3.5h