Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorVivian Kong2007-05-29 19:25:28 +0000
committerVivian Kong2007-05-29 19:25:28 +0000
commit196349f9fa15147eea15ee95e8d6b2ca4bdffc04 (patch)
tree6dab5e1f52b8c877f823a52b7b649e9075c178d0 /build
parent50c7c5c5421003bea3bc356125c5b40482809c35 (diff)
downloadorg.eclipse.cdt-196349f9fa15147eea15ee95e8d6b2ca4bdffc04.tar.gz
org.eclipse.cdt-196349f9fa15147eea15ee95e8d6b2ca4bdffc04.tar.xz
org.eclipse.cdt-196349f9fa15147eea15ee95e8d6b2ca4bdffc04.zip
Patch for bug 187634 by Jason Montojo - "Debug" and "Release" shared in the menu and in the file system
Diffstat (limited to 'build')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.properties3
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/NewCfgDialog.java10
2 files changed, 13 insertions, 0 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.properties b/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.properties
index 34c6633d4b0..e5972055303 100644
--- a/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.properties
+++ b/build/org.eclipse.cdt.managedbuilder.gnu.ui/plugin.properties
@@ -7,6 +7,7 @@
#
# Contributors:
# Texas Instruments Inc. - initial API and implementation
+# IBM Corporation
###############################################################################
# plugin names
@@ -38,8 +39,10 @@ TargetName.linux.lib=Linux Static Library
TargetName.solaris=Solaris
# Default Configuration Names
+# START NON-TRANSLATABLE
ConfigName.Rel=Release
ConfigName.Dbg=Debug
+# END NON-TRANSLATABLE
# Generic tool-chain names
ToolChainName.Rel=GCC Tool Chain
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/NewCfgDialog.java b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/NewCfgDialog.java
index 0f14984aa19..a263e8150b4 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/NewCfgDialog.java
+++ b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/NewCfgDialog.java
@@ -7,6 +7,7 @@
*
* Contributors:
* Intel Corporation - Initial API and implementation
+ * IBM Corporation
*******************************************************************************/
package org.eclipse.cdt.managedbuilder.ui.properties;
@@ -138,6 +139,15 @@ public class NewCfgDialog implements INewCfgDialog {
GridData gd = new GridData(GridData.FILL_HORIZONTAL);
gd.horizontalSpan = 3;
group1.setLayoutData(gd);
+
+ // bug 187634: Add a label to warn user that configuration name will be used directly
+ // as a directory name in the filesystem.
+ Label warningLabel = new Label(group1, SWT.BEGINNING | SWT.WRAP);
+ warningLabel.setFont(parent.getFont());
+ warningLabel.setText(UIMessages.getString("NewConfiguration.label.warning")); //$NON-NLS-1$
+ gd = new GridData(SWT.FILL, SWT.BEGINNING, true, false, 3, 1);
+ gd.widthHint = 300;
+ warningLabel.setLayoutData(gd);
// Add a label and a text widget for Configuration's name
final Label nameLabel = new Label(group1, SWT.LEFT);

Back to the top