code: private void generatesFormatSelection() {
  
          if (m_configuration.isUseFormats()) {
              String[] formats = m_configuration.getImageFormatNames().split(",");
              for (int i = 0; i < formats.length; i++) {
                  m_formats.put(formats[i].split(":")[0], formats[i].split(":")[1]);
              }
              m_formatSelection.setItems(m_formats);
          } else {
              m_formatSelection.removeFromParent();
              m_descriptionArea.setRowsGallery(4);
          }
      }
docs: Generates the format select box.<p>