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

Showing component in extension view

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None
    • None

    Description

      Currently, extension view is toggled by small icon. But in jcr-browser, and might in customer requirement, the component like workspace selector can be showed there.

      There is some code in jcr-browser to help it works with:

       protected Component createViewIcon(String viewId, boolean extension, String icon) {
              if (extension && icon == null) {
                  ExtensionViewDefinition<?> contentViewDefinition = getExtensionViews().get(viewId);
      
                  UIComponent view = create(contentViewDefinition.getView());
      
                  return view.asVaadinComponent();
              }
      
              return super.createViewIcon(viewId, extension, icon);
          }
      

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              sang.ngo Sang Ngo Huu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoD