Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-10836

Pass pluginContext and pluginConfig as constructor arguments to ImageCropEditorDialog

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.0.0
    • Fix Version/s: 5.1.0
    • Component/s: None
    • Similar issues:
    • Flagged:
      Flagged

      Description

      The constructor of the class org.hippoecm.frontend.plugins.gallery.editor.ImageCropEditorDialog can be improved by passing the plugin context and plugin config objects from calling code (which is org.hippoecm.frontend.plugins.gallery.editor.ImageCropPlugin#ImageCropPlugin).

      Doing so allows the cropper dialog to access any cms-services it needs, for example a potential new cropping engine, exposed via a cms-service.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mchatzidakis Minos Chatzidakis
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: