Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoopur Gupta2015-01-14 15:50:22 +0000
committerDani Megert2015-01-27 13:02:29 +0000
commitcfff15dbacfe333e8fba6ccdd592e25e1dd6335f (patch)
treef6aae99f4fb8a6ab540c79541cc9b7d9f02812be
parentb4a2fe7d159c61d00ac1602a43970d643d6dd7c3 (diff)
downloadeclipse.platform.ui-cfff15dbacfe333e8fba6ccdd592e25e1dd6335f.tar.gz
eclipse.platform.ui-cfff15dbacfe333e8fba6ccdd592e25e1dd6335f.tar.xz
eclipse.platform.ui-cfff15dbacfe333e8fba6ccdd592e25e1dd6335f.zip
Bug 387821 - [Contributions] [CPD] CustomizePerspectiveDialog requires 2
checks to hide Navigate>Show In Change-Id: I1063020bbc380a7d7aba0925099c0bf8d8220eac Signed-off-by: Noopur Gupta <noopur_gupta@in.ibm.com>
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/cpd/CustomizePerspectiveDialog.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/cpd/CustomizePerspectiveDialog.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/cpd/CustomizePerspectiveDialog.java
index c0afd31d838..a97f8406e99 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/cpd/CustomizePerspectiveDialog.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/cpd/CustomizePerspectiveDialog.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2014 IBM Corporation and others.
+ * Copyright (c) 2000, 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
@@ -1900,6 +1900,7 @@ public class CustomizePerspectiveDialog extends TrayDialog {
if (findDynamics.containsKey(null)) {
IContributionItem item = findDynamics.get(null);
dynamicEntry = new DynamicContributionItem(item);
+ dynamicEntry.setCheckState(getMenuItemIsVisible(dynamicEntry));
dynamicEntry.setActionSet(idToActionSet.get(getActionSetID(item)));
parent.addChild(dynamicEntry);
}

Back to the top