protected void addPatternFilter() {
PackageChooser chooser = PeerFactory.getInstance().getUIHelper().
createPackageChooser(CodeInsightBundle.message("coverage.pattern.filter.editor.choose.package.title"), myProject);
chooser.show();
List<PsiPackage> packages = chooser.getSelectedPackages();
if (!packages.isEmpty()) {
for (final PsiPackage aPackage : packages) {
final String fqName = aPackage.getQualifiedName();
final String pattern = fqName.length() > 0 ? fqName + ".*" : "*";