Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/launch
diff options
context:
space:
mode:
authorVivian Kong2007-05-28 20:00:33 +0000
committerVivian Kong2007-05-28 20:00:33 +0000
commit48656a5e1f5a38719d58bb014d87a16c5cd6fc88 (patch)
treefc2098b5d37a20bcb00f930a7e32be5f3e164986 /launch
parentfd2d54649e961f807bf5748704cfda9bda725406 (diff)
downloadorg.eclipse.cdt-48656a5e1f5a38719d58bb014d87a16c5cd6fc88.tar.gz
org.eclipse.cdt-48656a5e1f5a38719d58bb014d87a16c5cd6fc88.tar.xz
org.eclipse.cdt-48656a5e1f5a38719d58bb014d87a16c5cd6fc88.zip
fix for bug 189237 - manually add label to edit/input box for accessibility
Diffstat (limited to 'launch')
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java
index c7ad0ae3e34..6998514c5f3 100644
--- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java
+++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/ui/CDebuggerTab.java
@@ -45,6 +45,8 @@ import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.swt.SWT;
+import org.eclipse.swt.accessibility.AccessibleAdapter;
+import org.eclipse.swt.accessibility.AccessibleEvent;
import org.eclipse.swt.custom.ScrolledComposite;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
@@ -441,6 +443,13 @@ public class CDebuggerTab extends AbstractCDebuggerTab {
update();
}
});
+ fStopInMainSymbol.getAccessible().addAccessibleListener(
+ new AccessibleAdapter() {
+ public void getName(AccessibleEvent e) {
+ e.result = LaunchMessages.getString( "CDebuggerTab.Stop_at_main_on_startup"); //$NON-NLS-1$
+ }
+ }
+ );
}
fAdvancedButton = createPushButton(optionsComp, LaunchMessages.getString("CDebuggerTab.Advanced"), null); //$NON-NLS-1$
((GridData)fAdvancedButton.getLayoutData()).horizontalAlignment = GridData.END;

Back to the top