docs: public void editElementSettings(final CmsContainerPageElementPanel elementWidget) {
  
          m_controller.getElementSettingsConfig(
              elementWidget.getId(),
              elementWidget.getParentTarget().getContainerId(),
              new I_CmsSimpleCallback<CmsElementSettingsConfig>() {
  
                  public void execute(final CmsElementSettingsConfig settingsConfig) {
  
                      CmsContainerElementData elementBean = settingsConfig.getElementData();
  
                      if (!elementBean.getClientId().equals(elementWidget.getId())) {
                          // the client id may have changed, update the element widget
                          elementWidget.setId(elementBean.getClientId());
                      }
                      Map<String, String> settingPresets = getSettingPresets(elementWidget);
                      try {
                          CmsElementSettingsDialog dialog = new CmsElementSettingsDialog(
                              m_controller,
                              elementWidget,
                              settingsConfig,
                              settingPresets);
                          dialog.center();
                      } catch (NoFormatterException e) {
                          String ctype = "???";
                          String cname = "???";
                          String schema = "???";
                          if (settingsConfig.getSchema() != null) {
                              schema = settingsConfig.getSchema();
                          }
                          try {
                              I_CmsDropContainer dropContainer = elementWidget.getParentTarget();
                              if (dropContainer instanceof CmsContainerPageContainer) {
                                  CmsContainerPageContainer cpc = (CmsContainerPageContainer)dropContainer;
                                  ctype = cpc.getContainerType();
                                  cname = cpc.getContainerId();
                              }
                          } catch (Exception e2) {
                              /*ignore*/ }
                          String path = "???";
                          try {
                              path = elementBean.getSitePath();
                          } catch (Exception e2) {
                              /*ignore*/ }
                          CmsAlertDialog alert = new CmsAlertDialog(
                              org.opencms.gwt.client.Messages.get().key(org.opencms.gwt.client.Messages.GUI_ERROR_0),
                              Messages.get().key(Messages.GUI_NO_FORMATTER_4, path, cname, ctype, schema));
                          alert.center();
                      }
                  }
  
                  /**
                   * Gets the map of setting presets.<p>
                   *
                   * @param elementWidget2 the element widget
                   * @return the setting presets
                   */
                  private Map<String, String> getSettingPresets(CmsContainerPageElementPanel elementWidget2) {
  
                      I_CmsDropContainer dropContainer = elementWidget2.getParentTarget();
                      if (dropContainer instanceof CmsContainerPageContainer) {
                          CmsContainerPageContainer container = (CmsContainerPageContainer)dropContainer;
                          return container.getSettingPresets();
                      } else {
                          return new HashMap<String, String>();
                      }
                  }
              });
      }