Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVikas Chandra2015-04-26 12:42:14 +0000
committerVikas Chandra2015-04-26 12:42:14 +0000
commita97fcea38fe5bf6dbd8abe120f51a96ab3213230 (patch)
treebcd12a49228e173a6bbaf5a7054505cdcc7232a4
parent69f72f93246e4d7196e431fc77fdb15d4c2b7078 (diff)
downloadeclipse.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.java10
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);
}
});

Back to the top