@Override
        protected HBox createUndecoratedEditor() {
            final HBox hBox = super.createUndecoratedEditor();
            if (document instanceof ColumnProperty || document instanceof TableProperty) {
                final TextInputControl inputControl = hBox.getChildren().stream()
                    .filter(TextInputControl.class::isInstance)
                    .map(TextInputControl.class::cast)
                    .findFirst()
                    .orElseThrow(() -> new NoSuchElementException("No TextInputControl found for the children of " + hBox));

                final TextField code = new TextField(toCode(inputControl.getText()));

                code.setDisable(true);
                code.setStyle("-fx-font-family: 'monospaced';");

                attachListener(inputControl.textProperty(), (ov, o, n) ->
                    code.textProperty().set(toCode(n))
                );

                if (document instanceof ColumnProperty) {
                    final ColumnProperty columnProperty = (ColumnProperty) document;
                    attachListener(columnProperty.typeMapperProperty(), (ov, o, n) ->
                        code.textProperty().set(toCode(inputControl.getText()))
                    );
                }
                hBox.getChildren().add(code);
                HBox.setHgrow(code, Priority.ALWAYS);
            }
            return hBox;
        }
@param <T>  the document type

@author Simon Jonassons
@since 3.0.0
tool-parent/tool-propertyeditor/src/main/java/com/speedment/tool/propertyeditor/editor/AliasPropertyEditor.java