Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVeronika Irvine2004-08-17 16:43:24 +0000
committerVeronika Irvine2004-08-17 16:43:24 +0000
commit4a83b98ec772be03912c39fa08d7d4e365e0b9e9 (patch)
tree0bbaba8f4dc2a50f74c644f90a87d18cd45bbf47
parentfda8b1f012bcf4162f6a4fb84418c5d8827941c1 (diff)
downloadeclipse.platform.swt-4a83b98ec772be03912c39fa08d7d4e365e0b9e9.tar.gz
eclipse.platform.swt-4a83b98ec772be03912c39fa08d7d4e365e0b9e9.tar.xz
eclipse.platform.swt-4a83b98ec772be03912c39fa08d7d4e365e0b9e9.zip
remove 3.1 changes that were not part of bug 69440 fix
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java24
1 files changed, 0 insertions, 24 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
index 1210731a76..5fb8abfbb6 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
@@ -725,18 +725,6 @@ void initAccessible() {
text.getAccessible().addAccessibleListener(accessibleAdapter);
list.getAccessible().addAccessibleListener(accessibleAdapter);
- arrow.getAccessible().addAccessibleListener(new AccessibleAdapter() {
- public void getName(AccessibleEvent e) {
- e.result = isDropped () ? "Close" : "Open"; //$NON-NLS-1$ //$NON-NLS-2$
- }
- public void getKeyboardShortcut(AccessibleEvent e) {
- e.result = "Alt+Down Arrow"; //$NON-NLS-1$
- }
- public void getHelp(AccessibleEvent e) {
- e.result = getToolTipText();
- }
- });
-
getAccessible().addAccessibleTextListener(new AccessibleTextAdapter() {
public void getCaretOffset(AccessibleTextEvent e) {
e.offset = text.getCaretPosition();
@@ -776,18 +764,6 @@ void initAccessible() {
e.result = getText();
}
});
-
- text.getAccessible().addAccessibleControlListener(new AccessibleControlAdapter() {
- public void getRole(AccessibleControlEvent e) {
- e.detail = text.getEditable() ? ACC.ROLE_TEXT : ACC.ROLE_LABEL;
- }
- });
-
- arrow.getAccessible().addAccessibleControlListener(new AccessibleControlAdapter() {
- public void getDefaultAction(AccessibleControlEvent e) {
- e.result = isDropped () ? "Close" : "Open"; //$NON-NLS-1$ //$NON-NLS-2$
- }
- });
}
boolean isDropped () {
return popup.getVisible ();

Back to the top