@Override
    public void actionPerformed(ActionEvent e) {
      PsiFile formFile = null;
      if (!myTextField.getText().isEmpty()) {
        VirtualFile formVFile = ResourceFileUtil.findResourceFileInScope(myTextField.getText(), myProject, ProjectScope.getAllScope(myProject));
        if (formVFile != null) {
          formFile = PsiManager.getInstance(myProject).findFile(formVFile);
        }
      }
      final TreeFileChooserFactory factory = TreeFileChooserFactory.getInstance(myProject);
      TreeFileChooser fileChooser = factory.createFileChooser(myTitle, formFile, null, myFilter, true, true);
      fileChooser.showDialog();
      PsiFile file = fileChooser.getSelectedFile();
      if (file != null) {
        myTextField.setText(FormEditingUtil.buildResourceName(file));
      }
    }
@Override
    public void actionPerformed(ActionEvent e)