From a27c734ad7fb8bbeaa66c90f0563cf3370131135 Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Fri, 19 Jun 2015 07:54:33 +0200 Subject: [PATCH] IDEA-CR-3179: fix parameter name --- .../com/intellij/util/ui/tree/AbstractFileTreeTable.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/util/ui/tree/AbstractFileTreeTable.java b/platform/lang-impl/src/com/intellij/util/ui/tree/AbstractFileTreeTable.java index 5287db9087ce..ac6b2491b093 100644 --- a/platform/lang-impl/src/com/intellij/util/ui/tree/AbstractFileTreeTable.java +++ b/platform/lang-impl/src/com/intellij/util/ui/tree/AbstractFileTreeTable.java @@ -60,13 +60,17 @@ public class AbstractFileTreeTable extends TreeTable { this(project, valueClass, valueTitle, filter, showProjectNode, true); } + /** + * Due to historical reasons, passed filter does not perform all jobs - fileIndex.isInContent is checked in addition. + * Flag showContentFilesOnly allows you to disable such behavior. + */ public AbstractFileTreeTable(@NotNull Project project, @NotNull Class valueClass, @NotNull String valueTitle, @NotNull VirtualFileFilter filter, boolean showProjectNode, - boolean filterNonContentFiles) { - super(new MyModel(project, valueClass, valueTitle, filterNonContentFiles ? new NonContentFileFilter(project, filter) : filter)); + boolean showContentFilesOnly) { + super(new MyModel(project, valueClass, valueTitle, showContentFilesOnly ? new NonContentFileFilter(project, filter) : filter)); myProject = project; //noinspection unchecked