docs: void openEditDialog(String typeName) {
  
          try {
              Window window = CmsBasicDialog.prepareWindow(DialogWidth.max);
  
              window.setContent(
                  new CmsEditResourceTypeDialog(window, m_app, OpenCms.getResourceManager().getResourceType(typeName)));
              window.setCaption(CmsVaadinUtils.getMessageText(Messages.GUI_RESOURCETYPE_EDIT_WINDOW_CAPTION_0));
              A_CmsUI.get().addWindow(window);
          } catch (CmsLoaderException e) {
              LOG.error("Unable to read resource type by name", e);
          }
      }