From 266e19853c9362181618eca43bd69a53b253b65e Mon Sep 17 00:00:00 2001 From: Sean Evoy Date: Mon, 29 Mar 2004 21:02:51 +0000 Subject: [PATCH] Removed the "All configurations' label from the configuration selector since C8 did not make the M8 build --- .../cdt/managedbuilder/ui/properties/BuildPropertyPage.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/BuildPropertyPage.java b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/BuildPropertyPage.java index a6dbc971ef0..461678c2e7c 100644 --- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/BuildPropertyPage.java +++ b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/BuildPropertyPage.java @@ -429,10 +429,11 @@ public class BuildPropertyPage extends PropertyPage implements IWorkbenchPropert * @return an array of names for the configurations defined for the chosen target */ private String [] getConfigurationNames () { - String [] names = new String[configurations.length]; + String [] names = new String[configurations.length /*+ 1*/]; for (int index = 0; index < configurations.length; ++index) { names[index] = configurations[index].getName(); } +// names[names.length - 1] = ManagedBuilderUIPlugin.getResourceString(ALL_CONFS); return names; } @@ -610,7 +611,6 @@ public class BuildPropertyPage extends PropertyPage implements IWorkbenchPropert configurations = selectedTarget.getConfigurations(); configSelector.removeAll(); configSelector.setItems(getConfigurationNames()); - configSelector.add(ManagedBuilderUIPlugin.getResourceString(ALL_CONFS)); configSelector.select(0); updateConfigs = true; } @@ -647,7 +647,6 @@ public class BuildPropertyPage extends PropertyPage implements IWorkbenchPropert configurations = selectedTarget.getConfigurations(); configSelector.removeAll(); configSelector.setItems(getConfigurationNames()); - configSelector.add(ManagedBuilderUIPlugin.getResourceString(ALL_CONFS)); configSelector.select(configSelector.indexOf(name)); updateConfigs = true; } @@ -875,7 +874,6 @@ public class BuildPropertyPage extends PropertyPage implements IWorkbenchPropert // Clear and replace the contents of the selector widget configSelector.removeAll(); configSelector.setItems(getConfigurationNames()); - configSelector.add(ManagedBuilderUIPlugin.getResourceString(ALL_CONFS)); // Make sure the active configuration is selected IManagedBuildInfo info = ManagedBuildManager.getBuildInfo(getProject());