docs: @Override
      protected void defineWidgets() {
  
          // initialize the project object to use for the dialog
          initProjectObject();
  
          setKeyPrefix(KEY_PREFIX);
  
          // widgets to display
          if (isNewProject()) {
              addWidget(new CmsWidgetDialogParameter(this, "name", PAGES[0], new CmsInputWidget()));
          } else {
              addWidget(new CmsWidgetDialogParameter(this, "name", PAGES[0], new CmsDisplayWidget()));
          }
          addWidget(new CmsWidgetDialogParameter(m_project, "description", "", PAGES[0], new CmsTextareaWidget(), 0, 1));
          addWidget(new CmsWidgetDialogParameter(this, "managerGroup", PAGES[0], new CmsGroupWidget(null, null)));
          addWidget(new CmsWidgetDialogParameter(this, "userGroup", PAGES[0], new CmsGroupWidget(null, null)));
          if (isNewProject()) {
              int ous = 1;
              try {
                  ous = OpenCms.getRoleManager().getOrgUnitsForRole(getCms(), CmsRole.PROJECT_MANAGER, true).size();
              } catch (CmsException e) {
                  // should never happen
              }
              if (ous < 2) {
                  addWidget(new CmsWidgetDialogParameter(this, "assignedOu", PAGES[0], new CmsDisplayWidget()));
              } else {
                  addWidget(
                      new CmsWidgetDialogParameter(
                          this,
                          "oufqn",
                          PAGES[0],
                          new CmsOrgUnitWidget(CmsRole.PROJECT_MANAGER)));
              }
          } else {
              addWidget(new CmsWidgetDialogParameter(this, "assignedOu", PAGES[0], new CmsDisplayWidget()));
          }
          addWidget(new CmsWidgetDialogParameter(m_project, "deleteAfterPublishing", PAGES[0], new CmsCheckboxWidget()));
          addWidget(
              new CmsWidgetDialogParameter(this, "resources", PAGES[0], new CmsVfsFileWidget(false, "", false, false)));
      }