@Override
  protected EditorTextField getEditorTextField(@NotNull PsiTypePanel component) {
    return ((ReferenceEditorWithBrowseButton)component.getComponent(0)).getEditorTextField();
  }
@Override
  protected EditorTextField getEditorTextField(@NotNull PsiTypePanel component)