Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathalie Lepine2012-12-06 13:27:45 +0000
committerNathalie Lepine2012-12-06 13:33:44 +0000
commite3d8b85e82a038a8783580c94e181624cd586dc5 (patch)
tree20c44076eed18d31c70a82d9a1cffc970eef2c40
parent04226fbd946c4ffff38deb2d39930143b0f14a50 (diff)
downloadorg.eclipse.eef-v1_1_0_BRANCH.tar.gz
org.eclipse.eef-v1_1_0_BRANCH.tar.xz
org.eclipse.eef-v1_1_0_BRANCH.zip
Bug 375149 - Filter does not work on "All resources" tab in thev1_1_0_BRANCH
selection popup patch from Stephane Thibaudeau <stephane.thibaudeau@obeo.fr>
-rw-r--r--plugins/org.eclipse.emf.eef.runtime/src/org/eclipse/emf/eef/runtime/ui/widgets/TabElementTreeSelectionDialog.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.eef.runtime/src/org/eclipse/emf/eef/runtime/ui/widgets/TabElementTreeSelectionDialog.java b/plugins/org.eclipse.emf.eef.runtime/src/org/eclipse/emf/eef/runtime/ui/widgets/TabElementTreeSelectionDialog.java
index aec0d2ade..f748c3f4e 100644
--- a/plugins/org.eclipse.emf.eef.runtime/src/org/eclipse/emf/eef/runtime/ui/widgets/TabElementTreeSelectionDialog.java
+++ b/plugins/org.eclipse.emf.eef.runtime/src/org/eclipse/emf/eef/runtime/ui/widgets/TabElementTreeSelectionDialog.java
@@ -290,7 +290,7 @@ public abstract class TabElementTreeSelectionDialog extends Dialog implements IP
Object[] children = ((ITreeContentProvider)((AbstractTreeViewer)viewer).getContentProvider())
.getChildren(element);
// apply all filters
- if (viewerFilters != null && children != null) {
+ if (viewerFilters != null && !viewerFilters.isEmpty() && children != null) {
// if one child match, show the parent in tree
for (ViewerFilter viewerFilter : viewerFilters) {
for (Object child : children) {

Back to the top