code: public void add(E tabContent, String tabName) {
  
          tabContent.addStyleName(I_CmsLayoutBundle.INSTANCE.generalCss().cornerAll());
          m_tabPanel.add(tabContent, CmsDomUtil.stripHtml(tabName));
  
          Element tabRootEl = m_tabPanel.getElement();
          // set an additional css class for the parent element of the .gwt-TabLayoutPanelTabs element
          List<Element> tabDivs = CmsDomUtil.getElementsByClass(
              I_CmsLayoutBundle.INSTANCE.tabbedPanelCss().cmsTabLayoutPanelTab(),
              CmsDomUtil.Tag.div,
              tabRootEl);
  
          Iterator<Element> it = tabDivs.iterator();
          boolean first = true;
          while (it.hasNext()) {
  
              Element e = it.next();
              e.removeClassName(I_CmsLayoutBundle.INSTANCE.tabbedPanelCss().cornerLeft());
              e.removeClassName(I_CmsLayoutBundle.INSTANCE.tabbedPanelCss().cornerRight());
              if (first) {
                  e.addClassName(I_CmsLayoutBundle.INSTANCE.tabbedPanelCss().cornerLeft());
                  first = false;
              }
              if (!it.hasNext()) {
                  e.addClassName(I_CmsLayoutBundle.INSTANCE.tabbedPanelCss().cornerRight());
              }
          }
          m_tabPanel.checkTabOverflow();
      }
docs: Add a new tab with the provided name and content.<p>
  
  Wrapper function for {@link com.google.gwt.user.client.ui.TabLayoutPanel#add(Widget, String)}
  
  @param tabContent the widget to add as a tab
  @param tabName the name of the tab to display in the tabbar