summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2006-05-26 10:10:53 (EDT)
committerpelder2006-05-26 10:10:53 (EDT)
commit54a3b698f5a74747b90133031db83bc959e0f16c (patch)
tree76103ad12efed3fa803130214d04ebe94c2a0f01
parentb0c04acdeb111e6e2f37f779a8af13538faa448c (diff)
downloadorg.eclipse.jet-54a3b698f5a74747b90133031db83bc959e0f16c.zip
org.eclipse.jet-54a3b698f5a74747b90133031db83bc959e0f16c.tar.gz
org.eclipse.jet-54a3b698f5a74747b90133031db83bc959e0f16c.tar.bz2
[143946] Change committed to CVS.
-rw-r--r--plugins/org.eclipse.jet.ui/src/org/eclipse/jet/internal/ui/launch/JETTransformMainTab.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/org.eclipse.jet.ui/src/org/eclipse/jet/internal/ui/launch/JETTransformMainTab.java b/plugins/org.eclipse.jet.ui/src/org/eclipse/jet/internal/ui/launch/JETTransformMainTab.java
index 7a23722..83649f7 100644
--- a/plugins/org.eclipse.jet.ui/src/org/eclipse/jet/internal/ui/launch/JETTransformMainTab.java
+++ b/plugins/org.eclipse.jet.ui/src/org/eclipse/jet/internal/ui/launch/JETTransformMainTab.java
@@ -38,6 +38,8 @@ import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.swt.SWT;
+import org.eclipse.swt.accessibility.AccessibleAdapter;
+import org.eclipse.swt.accessibility.AccessibleEvent;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.events.SelectionAdapter;
@@ -208,6 +210,13 @@ public class JETTransformMainTab extends AbstractLaunchConfigurationTab {
gridData.widthHint = IDialogConstants.ENTRY_FIELD_WIDTH;
sourceField.setLayoutData(gridData);
sourceField.addModifyListener(fListener);
+ final String accessibleName = group.getText().replaceFirst("(?<!&)&", ""); //$NON-NLS-1$ //$NON-NLS-2$
+ sourceField.getAccessible().addAccessibleListener(new AccessibleAdapter() {
+
+ public void getName(AccessibleEvent e) {
+ e.result = accessibleName;
+ }
+ });
Composite buttonComposite = new Composite(group, SWT.NONE);
layout = new GridLayout();