docs: protected void initContent(CmsExternalLinkInfoBean linkInfo) {
  
          CmsPushButton closeButton = new CmsPushButton();
          closeButton.setText(Messages.get().key(Messages.GUI_CANCEL_0));
          closeButton.setUseMinWidth(true);
          closeButton.setButtonStyle(ButtonStyle.TEXT, ButtonColor.BLUE);
          closeButton.addClickHandler(new ClickHandler() {
  
              /**
               * @see com.google.gwt.event.dom.client.ClickHandler#onClick(com.google.gwt.event.dom.client.ClickEvent)
               */
              public void onClick(ClickEvent event) {
  
                  hide();
              }
          });
          addButton(closeButton);
  
          m_okButton = new CmsPushButton();
          m_okButton.setText(Messages.get().key(Messages.GUI_OK_0));
          m_okButton.setUseMinWidth(true);
          m_okButton.setButtonStyle(ButtonStyle.TEXT, ButtonColor.RED);
          m_okButton.addClickHandler(new ClickHandler() {
  
              /**
               * @see com.google.gwt.event.dom.client.ClickHandler#onClick(com.google.gwt.event.dom.client.ClickEvent)
               */
              public void onClick(ClickEvent event) {
  
                  onOk();
              }
          });
          addButton(m_okButton);
  
          m_linkInfo = linkInfo;
          m_previousLink = m_linkInfo.getLink() != null ? m_linkInfo.getLink() : "";
          m_previousTitle = m_linkInfo.getTitle() != null ? m_linkInfo.getTitle() : "";
          m_dialogContent = new CmsFieldsetFormFieldPanel(m_linkInfo, null);
          m_dialogContent.addStyleName(I_CmsInputLayoutBundle.INSTANCE.inputCss().highTextBoxes());
          m_dialogContent.getFieldSet().setOpenerVisible(false);
          m_dialogContent.getFieldSet().getElement().getStyle().setMarginTop(4, Style.Unit.PX);
          setMainContent(m_dialogContent);
          if (m_isCreateNew) {
              m_fileName = new CmsTextBox();
              m_fileName.setTriggerChangeOnKeyPress(true);
              m_fileName.addValueChangeHandler(this);
              addInputRow(Messages.get().key(Messages.GUI_EDIT_LINK_LABEL_FILE_NAME_0), m_fileName);
          }
  
          m_linkTitle = new CmsTextBox();
          m_linkTitle.setFormValueAsString(m_previousTitle);
          m_linkTitle.setTriggerChangeOnKeyPress(true);
          m_linkTitle.addValueChangeHandler(this);
          addInputRow(Messages.get().key(Messages.GUI_EDIT_LINK_LABEL_TITLE_0), m_linkTitle);
          m_linkContent = new CmsTextBox();
          m_linkContent.setFormValueAsString(m_previousLink);
          m_linkContent.setTriggerChangeOnKeyPress(true);
          m_linkContent.addValueChangeHandler(this);
          addInputRow(Messages.get().key(Messages.GUI_EDIT_LINK_LABEL_LINK_0), m_linkContent);
          addDialogClose(null);
          setOkEnabled(
              false,
              m_isCreateNew
              ? Messages.get().key(Messages.GUI_EDIT_LINK_NO_FILE_NAME_0)
              : Messages.get().key(Messages.GUI_EDIT_LINK_NO_CHANGES_0));
  
          m_dialogContent.truncate(METRICS_KEY, CmsPopup.DEFAULT_WIDTH - 20);
      }