diff options
author | Dani Megert | 2011-09-13 13:24:36 +0000 |
---|---|---|
committer | Dani Megert | 2011-09-13 13:24:36 +0000 |
commit | a692d3e3c9de06fb8ac6de8e8907aca68b6c95c3 (patch) | |
tree | ef81f3e90b0a62244236895133cee636dae5ce26 | |
parent | 884cfa8310848a212e678c90a828c4da7cde5e79 (diff) | |
download | eclipse.platform.text-a692d3e3c9de06fb8ac6de8e8907aca68b6c95c3.tar.gz eclipse.platform.text-a692d3e3c9de06fb8ac6de8e8907aca68b6c95c3.tar.xz eclipse.platform.text-a692d3e3c9de06fb8ac6de8e8907aca68b6c95c3.zip |
Fixed broken code which missed to use the given filter.v20110913-2000Git_migration
-rw-r--r-- | org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesDialog.java | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesDialog.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesDialog.java index e1a03ac2ad3..ec5f93549d7 100644 --- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesDialog.java +++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/text/SelectResourcesDialog.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2008 IBM Corporation and others. + * Copyright (c) 2000, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -283,12 +283,7 @@ class SelectResourcesDialog extends Dialog { } protected void setInitialSelection() { - IFilter filter= new IFilter() { - public boolean accept(IResource resource) { - return true; - } - }; - setSelection(fInput, filter); + setSelection(fInput, fAcceptableLocationsFilter); selectAndReveal(fInput[0]); } |