code: @Override
      protected void defineWidgets() {
  
          // get available files from server
          List files = getFilesFromServer();
  
          if (files.isEmpty()) {
              // no import files available, display message
              addWidget(
                  new CmsWidgetDialogParameter(
                      this,
                      PARAM_IMPORTFILE,
                      PAGES[0],
                      new CmsDisplayWidget(key(Messages.GUI_IMPORTSERVER_NO_DB_EXPORTS_0))));
          } else {
              // add the file select box widget
              addWidget(new CmsWidgetDialogParameter(this, PARAM_IMPORTFILE, PAGES[0], new CmsSelectWidget(files)));
              addWidget(new CmsWidgetDialogParameter(this, PARAM_KEEPPERMISSIONS, PAGES[0], new CmsCheckboxWidget()));
          }
      }
docs: Creates the list of widgets for this dialog.<p>