Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerge Beauchamp2013-09-25 12:08:47 -0400
committerAndrew Gvozdev2013-10-03 11:47:10 -0400
commit02b96302a7fdbb6fc95a4a5e114eff29d6b7f0c9 (patch)
tree0befedd7dc1644e1b0701a359eea7f2e8fffee49 /build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder
parent15b11f611afe73f06b297ab51fd4bf4fcbfa69b1 (diff)
downloadorg.eclipse.cdt-02b96302a7fdbb6fc95a4a5e114eff29d6b7f0c9.tar.gz
org.eclipse.cdt-02b96302a7fdbb6fc95a4a5e114eff29d6b7f0c9.tar.xz
org.eclipse.cdt-02b96302a7fdbb6fc95a4a5e114eff29d6b7f0c9.zip
Bug 406545 - Restore Defaults/Apply buttons disappear in [All
configurations] mode from Project Properties Change-Id: Iac29cd3f6d3b06bf2baae8c3bbc16cbff9c73d2e Signed-off-by: Serge Beauchamp <sergebeauchamp@mac.com> Reviewed-on: https://git.eclipse.org/r/16770 Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com> IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com> Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/RefreshPolicyTab.java11
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ToolChainEditTab.java11
2 files changed, 20 insertions, 2 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/RefreshPolicyTab.java b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/RefreshPolicyTab.java
index 7f3746e538..5b3b47ee47 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/RefreshPolicyTab.java
+++ b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/RefreshPolicyTab.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2011, 2012 IBM Corporation and others.
+ * Copyright (c) 2011, 2013 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
@@ -7,6 +7,7 @@
*
* Contributors:
* IBM Corporation - initial API and implementation
+ * Serge Beauchamp (Freescale Semiconductor) - Bug 406545
*******************************************************************************/
package org.eclipse.cdt.managedbuilder.ui.properties;
@@ -530,6 +531,14 @@ public class RefreshPolicyTab extends AbstractCBuildPropertyTab {
}
+ /**
+ * @since 8.2
+ */
+ @Override
+ public boolean canSupportMultiCfg() {
+ return false;
+ }
+
@Override
protected void updateButtons() {
TreeItem[] sel = fTree.getTree().getSelection();
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ToolChainEditTab.java b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ToolChainEditTab.java
index 5e5a79d337..a6242b49e8 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ToolChainEditTab.java
+++ b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ToolChainEditTab.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2010 Intel Corporation and others.
+ * Copyright (c) 2007, 2013 Intel 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
@@ -7,6 +7,7 @@
*
* Contributors:
* Intel Corporation - Initial API and implementation
+ * Serge Beauchamp (Freescale Semiconductor) - Bug 406545
*******************************************************************************/
package org.eclipse.cdt.managedbuilder.ui.properties;
@@ -197,6 +198,14 @@ public class ToolChainEditTab extends AbstractCBuildPropertyTab {
updateData();
}
+ /**
+ * @since 8.2
+ */
+ @Override
+ public boolean canSupportMultiCfg() {
+ return false;
+ }
+
private void updateData() {
showErrorMessage();
fillToolChainCombo();

Back to the top