code: public void setEditWidget(I_CmsEditWidget editWidget) {
  
          // the edit widget may be set only once
          assert m_editWidget == null;
          m_editWidget = editWidget;
          m_mainPanel.add(m_editWidget);
          m_editWidget.asWidget().addStyleName(I_CmsLayoutBundle.INSTANCE.form().widget());
      }
docs: The edit widget needs to set, before the widget may be used.<p>
  
  @param editWidget the edit widget to wrap