diff options
author | Vikas Chandra | 2015-04-26 12:42:14 +0000 |
---|---|---|
committer | Vikas Chandra | 2015-04-26 12:42:14 +0000 |
commit | a97fcea38fe5bf6dbd8abe120f51a96ab3213230 (patch) | |
tree | bcd12a49228e173a6bbaf5a7054505cdcc7232a4 | |
parent | 69f72f93246e4d7196e431fc77fdb15d4c2b7078 (diff) | |
download | eclipse.pde.ui-a97fcea38fe5bf6dbd8abe120f51a96ab3213230.tar.gz eclipse.pde.ui-a97fcea38fe5bf6dbd8abe120f51a96ab3213230.tar.xz eclipse.pde.ui-a97fcea38fe5bf6dbd8abe120f51a96ab3213230.zip |
Bug 457803 - Run Configurations Dialog / Eclipse App / ViewTab Plug-InsI20150426-2000
does not reset filter
-rw-r--r-- | ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/launcher/FeatureBlock.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/launcher/FeatureBlock.java b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/launcher/FeatureBlock.java index 5ffd0678df..b2b0629d56 100644 --- a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/launcher/FeatureBlock.java +++ b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/launcher/FeatureBlock.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2010, 2014 IBM Corporation and others. + * Copyright (c) 2010, 2015 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 @@ -861,7 +861,13 @@ public class FeatureBlock { fTree.getControl().setRedraw(false); fTree.removeFilter(fSelectedOnlyFilter); fTree.restoreLeafCheckState(); - fTree.addFilter(fSelectedOnlyFilter); + try { + if (fLaunchConfig.getAttribute(IPDELauncherConstants.SHOW_SELECTED_ONLY, false)) { + fTree.addFilter(fSelectedOnlyFilter); + } + } catch (CoreException e) { + + } fTree.getControl().setRedraw(true); } }); |