private void initControls() {
    UiElement element = getUiElement();
    if (element == null) {
      return;
    }

    name.setText(element.getName());
    comment.setText(element.getComment());
  }
  private void initDefaults() {
    UiElement element = getUiElement();
    if (element == null) {
      return;
    }

    initialName = element.getName();
    initialComment = element.getComment();
  }