@Override
  public @NotNull JComponent getComponent(@Nullable PropertiesContainer container,
                                          @Nullable PropertyContext context, Object value,
                                          @Nullable InplaceContext inplaceContext) {
    setEditorValue(container, value);

    if (inplaceContext == null) {
      myTextField.setBorder(BorderFactory.createEmptyBorder(0, 4, 0, 0));
    }
    else {
      myTextField.setBorder(UIUtil.getTextFieldBorder());
      if (inplaceContext.isStartChar()) {
        myTextField.setText(inplaceContext.getText(myTextField.getText()));
      }
    }
    return myTextField;
  }
@Override
  public @NotNull JComponent getComponent(@Nullable PropertiesContainer container,
                                          @Nullable PropertyContext context, Object value,
                                          @Nullable InplaceContext inplaceContext)