@Override
  public void createFormContent(final IFormEditorPageSite site) {
    super.createFormContent(site);

    String nummer = eigentum.objektNummer().get() != null ? eigentum.schl().get() : "neu";

    site.setEditorTitle(formattedTitle("Wohnungseigentum", nummer, null));
    site.setFormTitle(formattedTitle("Wohnungseigentum", nummer, getTitle()));

    Composite parent = site.getPageBody();
    Composite schildForm = createEditorForm(parent);

    Composite extendedForm = createErweiterteDatenForm(schildForm);
  }
  private Composite createEditorForm(Composite parent) {
    Composite lastLine, newLine = null;

    // readonly
    newLine =
        newFormField(IFormFieldLabel.NO_LABEL)
            .setToolTipText("Objektnummer")
            .setProperty(new PropertyAdapter(eigentum.objektNummer()))
            .setField(new StringFormField(StringFormField.Style.ALIGN_RIGHT))
            .setValidator(new NotNullMyNumberValidator(Integer.class))
            .setEnabled(eigentum.objektNummer().get() == null)
            .setLayoutData(left().left(0).right(15).create())
            .create();

    lastLine = newLine;
    newLine =
        createFlaecheField(
            "Gesamtfläche in m²", eigentum.gesamtFlaeche(), left().top(lastLine), parent, false);

    lastLine = newLine;
    newLine =
        newFormField("TE-Datum")
            .setToolTipText("letzter Nachtrag der Teilungserklärung")
            .setProperty(new PropertyAdapter(eigentum.datumTeilungserklerung()))
            .setLayoutData(left().top(lastLine).create())
            .create();
    newFormField("TE-Urkunde Nr.")
        .setToolTipText("Urkundennummer der letzten Teilungserklärung")
        .setProperty(new PropertyAdapter(eigentum.urkundenNummerDerTeilungserklaerung()))
        .setLayoutData(right().top(lastLine).create())
        .create();

    lastLine = newLine;
    // Bemerkungen
    newLine =
        newFormField("Bemerkungen")
            .setProperty(new PropertyAdapter(eigentum.bemerkungen()))
            .setField(new TextFormField())
            .setLayoutData(left().right(RIGHT).height(100).top(lastLine).create())
            .create();

    return newLine;
  }