diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-11-01 14:06:59 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-11-01 14:06:59 +0000 |
commit | 08d02815d464e2a12b593d901c025dece0dbdbc7 (patch) | |
tree | d74c4ce8adbb1c4e44cc47fb1c1e88b8aa688541 /accessibility | |
parent | 26ae913b73a3c46794575b46d68809d62a13961d (diff) |
INTEGRATION: CWS tbe28 (1.22.14); FILE MERGED
2006/08/30 05:59:39 obr 1.22.14.2: #i56539# filter SELECTION_CHANGED for menu bar and popup menus as well
2006/08/03 09:02:01 obr 1.22.14.1: #56539# menu items can be focusable
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/bridge/org/openoffice/java/accessibility/AccessibleObjectFactory.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/AccessibleObjectFactory.java b/accessibility/bridge/org/openoffice/java/accessibility/AccessibleObjectFactory.java index 92cfdbc4dfd7..bc8398a483d9 100644 --- a/accessibility/bridge/org/openoffice/java/accessibility/AccessibleObjectFactory.java +++ b/accessibility/bridge/org/openoffice/java/accessibility/AccessibleObjectFactory.java @@ -4,9 +4,9 @@ * * $RCSfile: AccessibleObjectFactory.java,v $ * - * $Revision: 1.22 $ + * $Revision: 1.23 $ * - * last change: $Author: kz $ $Date: 2006-02-06 13:11:03 $ + * last change: $Author: vg $ $Date: 2006-11-01 15:06:59 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -358,18 +358,17 @@ public class AccessibleObjectFactory { // } break; case AccessibleRole.MENU_BAR: - c = new Container(javax.accessibility.AccessibleRole.MENU_BAR, xAccessible, xAccessibleContext); + c = new MenuContainer(javax.accessibility.AccessibleRole.MENU_BAR, xAccessible, xAccessibleContext); break; case AccessibleRole.MENU_ITEM: c = new MenuItem(xAccessible, xAccessibleContext); - c.setFocusable(false); // Menu items are always visible, but change SHOWING state // if (!xAccessibleStateSet.contains(AccessibleStateType.SHOWING)) { // c.setVisible(false); // } break; case AccessibleRole.POPUP_MENU: - c = new Container(javax.accessibility.AccessibleRole.POPUP_MENU, xAccessible, xAccessibleContext); + c = new MenuContainer(javax.accessibility.AccessibleRole.POPUP_MENU, xAccessible, xAccessibleContext); break; case AccessibleRole.OPTION_PANE: c = new Container(javax.accessibility.AccessibleRole.OPTION_PANE, |