Java 类com.intellij.ui.ReferenceEditorComboWithBrowseButton 实例源码

项目:intellij-ce-playground    文件:MoveClassesOrPackagesDialog.java   
private ReferenceEditorComboWithBrowseButton createPackageChooser() {
  final ReferenceEditorComboWithBrowseButton packageChooser =
    new PackageNameReferenceEditorCombo("", myProject, RECENTS_KEY, RefactoringBundle.message("choose.destination.package"));
  final Document document = packageChooser.getChildComponent().getDocument();
  document.addDocumentListener(new DocumentAdapter() {
    public void documentChanged(DocumentEvent e) {
      validateButtons();
    }
  });

  return packageChooser;
}
项目:tools-idea    文件:MoveClassesOrPackagesDialog.java   
private ReferenceEditorComboWithBrowseButton createPackageChooser() {
  final ReferenceEditorComboWithBrowseButton packageChooser =
    new PackageNameReferenceEditorCombo("", myProject, RECENTS_KEY, RefactoringBundle.message("choose.destination.package"));
  final Document document = packageChooser.getChildComponent().getDocument();
  document.addDocumentListener(new DocumentAdapter() {
    public void documentChanged(DocumentEvent e) {
      validateButtons();
    }
  });

  return packageChooser;
}
项目:consulo-java    文件:MoveClassesOrPackagesDialog.java   
private ReferenceEditorComboWithBrowseButton createPackageChooser() {
  final ReferenceEditorComboWithBrowseButton packageChooser =
    new PackageNameReferenceEditorCombo("", myProject, RECENTS_KEY, RefactoringBundle.message("choose.destination.package"));
  final Document document = packageChooser.getChildComponent().getDocument();
  document.addDocumentListener(new DocumentAdapter() {
    public void documentChanged(DocumentEvent e) {
      validateButtons();
    }
  });

  return packageChooser;
}