Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractLangsListTab.java21
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/IncludeTab.java13
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/SymbolTab.java4
3 files changed, 25 insertions, 13 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractLangsListTab.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractLangsListTab.java
index 1668e1c969..c455215fc2 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractLangsListTab.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractLangsListTab.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2008 Intel Corporation and others.
+ * Copyright (c) 2007, 2010 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
@@ -26,8 +26,6 @@ import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.swt.SWT;
-import org.eclipse.swt.accessibility.AccessibleAdapter;
-import org.eclipse.swt.accessibility.AccessibleEvent;
import org.eclipse.swt.custom.SashForm;
import org.eclipse.swt.events.ControlEvent;
import org.eclipse.swt.events.ControlListener;
@@ -288,14 +286,15 @@ public abstract class AbstractLangsListTab extends AbstractCPropertyTab {
langCol.setText(UIMessages.getString("AbstractLangsListTab.1")); //$NON-NLS-1$
langCol.setWidth(200);
langCol.setResizable(false);
- langTree.getAccessible().addAccessibleListener(
- new AccessibleAdapter() {
- @Override
- public void getName(AccessibleEvent e) {
- e.result = UIMessages.getString("AbstractLangsListTab.1"); //$NON-NLS-1$
- }
- }
- );
+ langCol.setToolTipText(UIMessages.getString("AbstractLangsListTab.1")); //$NON-NLS-1$
+// langTree.getAccessible().addAccessibleListener(
+// new AccessibleAdapter() {
+// @Override
+// public void getName(AccessibleEvent e) {
+// e.result = UIMessages.getString("AbstractLangsListTab.1"); //$NON-NLS-1$
+// }
+// }
+// );
return langTree;
}
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/IncludeTab.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/IncludeTab.java
index fca51279c2..e6ab96c117 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/IncludeTab.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/IncludeTab.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007 Intel Corporation and others.
+ * Copyright (c) 2007, 2010 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
@@ -12,6 +12,8 @@
package org.eclipse.cdt.ui.newui;
import org.eclipse.swt.SWT;
+import org.eclipse.swt.accessibility.AccessibleAdapter;
+import org.eclipse.swt.accessibility.AccessibleEvent;
import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.cdt.core.settings.model.CIncludePathEntry;
@@ -24,7 +26,16 @@ public class IncludeTab extends AbstractLangsListTab {
public void additionalTableSet() {
columnToFit = new TableColumn(table, SWT.NONE);
columnToFit.setText(UIMessages.getString("IncludeTab.0")); //$NON-NLS-1$
+ columnToFit.setToolTipText(UIMessages.getString("IncludeTab.0")); //$NON-NLS-1$
showBIButton.setSelection(true);
+ table.getAccessible().addAccessibleListener(
+ new AccessibleAdapter() {
+ @Override
+ public void getName(AccessibleEvent e) {
+ e.result = UIMessages.getString("IncludeTab.0"); //$NON-NLS-1$
+ }
+ }
+ );
}
@Override
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/SymbolTab.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/SymbolTab.java
index 2a3cd2c60e..728f49aaf7 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/SymbolTab.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/SymbolTab.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2008 Intel Corporation and others.
+ * Copyright (c) 2007, 2010 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
@@ -29,9 +29,11 @@ public class SymbolTab extends AbstractLangsListTab {
TableColumn tc = new TableColumn(table, SWT.LEFT);
tc.setText(UIMessages.getString("SymbolTab.0")); //$NON-NLS-1$
tc.setWidth(80);
+ tc.setToolTipText(UIMessages.getString("SymbolTab.0")); //$NON-NLS-1$
tc = new TableColumn(table, SWT.LEFT);
tc.setText(UIMessages.getString("SymbolTab.1")); //$NON-NLS-1$
tc.setWidth(130);
+ tc.setToolTipText(UIMessages.getString("SymbolTab.1")); //$NON-NLS-1$
table.getAccessible().addAccessibleListener(
new AccessibleAdapter() {
@Override

Back to the top