code: public static Widget wrapWithBorderPadding(Widget w) {
  
          w.addStyleName(I_CmsLayoutBundle.INSTANCE.dialogCss().borderPadding());
          w.addStyleName(I_CmsLayoutBundle.INSTANCE.generalCss().cornerAll());
          SimplePanel panel = new SimplePanel();
          panel.add(w);
          return panel;
      }
docs: Wraps the given Widget with a cornered border, padding and margin.<p>
  
  @param w the widget to wrap
  
  @return a new widget that wraps the given one