Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVivian Kong2012-08-24 15:49:30 -0400
committerVivian Kong2012-08-24 15:58:33 -0400
commit3990a3875be405e273b5c40210ca37a32bb185cf (patch)
tree0ddfda289dc4cc8d177ed82059a9a15a65c5b283
parent142b427343cf903d50e097e85eaa1613edf63dc5 (diff)
downloadorg.eclipse.cdt-3990a3875be405e273b5c40210ca37a32bb185cf.tar.gz
org.eclipse.cdt-3990a3875be405e273b5c40210ca37a32bb185cf.tar.xz
org.eclipse.cdt-3990a3875be405e273b5c40210ca37a32bb185cf.zip
Bug 387135 - ARA: Wrong direction of bracket displayed on new C++
Project toolchains column
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/wizards/CDTConfigWizardPage.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/wizards/CDTConfigWizardPage.java b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/wizards/CDTConfigWizardPage.java
index a0568bd7a8..e6e7c8e706 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/wizards/CDTConfigWizardPage.java
+++ b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/wizards/CDTConfigWizardPage.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2011 Intel Corporation and others.
+ * Copyright (c) 2007, 2012 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
@@ -8,6 +8,7 @@
* Contributors:
* Intel Corporation - initial API and implementation
* James Blackbrun (Broadcom Corp.)
+ * IBM Corporation
*******************************************************************************/
package org.eclipse.cdt.managedbuilder.ui.wizards;
@@ -31,6 +32,7 @@ import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.window.Window;
import org.eclipse.jface.wizard.IWizardPage;
import org.eclipse.jface.wizard.WizardPage;
+import org.eclipse.osgi.util.TextProcessor;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
@@ -140,7 +142,7 @@ public class CDTConfigWizardPage extends WizardPage {
tv.setLabelProvider(new LabelProvider() {
@Override
public String getText(Object element) {
- return element == null ? EMPTY_STR : ((CfgHolder)element).getName();
+ return element == null ? EMPTY_STR : TextProcessor.process(((CfgHolder)element).getName());
}
@Override
public Image getImage(Object element) { return IMG_CONFIG; }

Back to the top