diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-02-01 13:31:13 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-02-01 13:31:13 +0000 |
commit | a7a0e338ccd123668fd8c7fde2beeb9a2498b5c4 (patch) | |
tree | e951a2297a300ee2c950001c13a19170525cf54e /accessibility/bridge | |
parent | d8c92b24a4e1e67928d8d39d1195478526c4ab4e (diff) |
INTEGRATION: CWS swqbf49 (1.10.14); FILE MERGED
2006/01/06 14:56:36 obr 1.10.14.1: #i27298# map TEXT_SELECTION_CHANGED events to property change events for SELECTION_PROPERTY
Diffstat (limited to 'accessibility/bridge')
-rw-r--r-- | accessibility/bridge/org/openoffice/java/accessibility/Container.java | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Container.java b/accessibility/bridge/org/openoffice/java/accessibility/Container.java index d5bafe35938e..64d48ac4891f 100644 --- a/accessibility/bridge/org/openoffice/java/accessibility/Container.java +++ b/accessibility/bridge/org/openoffice/java/accessibility/Container.java @@ -4,9 +4,9 @@ * * $RCSfile: Container.java,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: rt $ $Date: 2005-09-07 15:36:43 $ + * last change: $Author: kz $ $Date: 2006-02-01 14:31:13 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -351,8 +351,13 @@ public class Container extends java.awt.Container implements javax.accessibility case AccessibleEventId.BOUNDRECT_CHANGED: firePropertyChange(AccessibleContext.ACCESSIBLE_VISIBLE_DATA_PROPERTY, null, null); break; + /* + * the Java AccessBridge for GNOME maps SELECTION_PROPERTY change events + * for objects of role TEXT to object:text-selection-changed + */ + case AccessibleEventId.TEXT_SELECTION_CHANGED: case AccessibleEventId.SELECTION_CHANGED: - firePropertyChange(javax.accessibility.AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY, null, null); + firePropertyChange(AccessibleContext.ACCESSIBLE_SELECTION_PROPERTY, null, null); break; case AccessibleEventId.INVALIDATE_ALL_CHILDREN: handleAllChildrenChangedEvent(); |