code: private void decorate(final DistributionSet distributionSet, final String caption, final String style1,
              final String style2) {
          final VaadinMessageSource i18n = SpringContextHelper.getBean(VaadinMessageSource.class);
          final VerticalLayout layout = new VerticalLayout();
          // Display distribution set name
          layout.addComponent(SPUIComponentProvider.createNameValueLabel(i18n.getMessage("label.dist.details.name"),
                  distributionSet.getName(), distributionSet.getVersion()));
  
          /* Module info */
          distributionSet.getModules()
                  .forEach(module -> layout.addComponent(getSWModlabel(module.getType().getName(), module)));
  
          layout.setSizeFull();
          layout.setMargin(false);
          layout.setSpacing(false);
  
          setContent(layout);
          // Decorate specific
          setCaption(caption);
          addStyleName(style1);
          addStyleName(style2);
          addStyleName("small");
          setImmediate(false);
      }
docs: Decorate.
  
  @param distributionSet
  as DistributionSet
  @param caption
  as String
  @param style1
  as String
  @param style2
  as String