code: private void replaceOptions(LinkedHashMap<String, String> options) {
  
          String oldValue = m_selectBox.getFormValueAsString();
          for (String additionalValue : new String[] {oldValue, m_externalValue}) {
              if (!options.containsKey(additionalValue)) {
                  options.put(additionalValue, additionalValue);
              }
          }
          if (options.containsKey("")) {
              options.put(
                  "",
                  org.opencms.gwt.client.Messages.get().key(
                      org.opencms.gwt.client.Messages.GUI_SELECTBOX_EMPTY_SELECTION_0));
          }
          m_selectBox.setItems(options);
          m_selectBox.setFormValueAsString(oldValue);
      }
docs: Replaces the select options with the given options.<p>
  
  @param options the map of select options (keys are option values, values are option descriptions)