summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-01-31 17:22:05 +0000
committerKurt Zenker <kz@openoffice.org>2006-01-31 17:22:05 +0000
commitcd53449842bdb8a9f36fd700c0fa5750f39fb493 (patch)
treed70ac572ebe9eebd016d803a6e12932916ed541b /accessibility
parentb098e94c1b5effa2e943c9eef4fc59ee80e07ddf (diff)
INTEGRATION: CWS accessalert (1.20.18); FILE MERGED
2006/01/18 10:15:11 obr 1.20.18.1: #i26277# changed role of [MESS|INFO|WARNING|ERROR|QUERY]BOX to ALERT
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/bridge/org/openoffice/java/accessibility/AccessibleObjectFactory.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/AccessibleObjectFactory.java b/accessibility/bridge/org/openoffice/java/accessibility/AccessibleObjectFactory.java
index aa88faed52c5..c0c6ccc3846b 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.20 $
+ * $Revision: 1.21 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 15:32:54 $
+ * last change: $Author: kz $ $Date: 2006-01-31 18:22:05 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -517,6 +517,11 @@ public class AccessibleObjectFactory {
xAccessibleContext.getAccessibleName(),
xAccessibleStateSet.contains(AccessibleStateType.MODAL),
xAccessibleComponent);
+ } else if (role == AccessibleRole.ALERT) {
+ w = new Alert(new Application(),
+ xAccessibleContext.getAccessibleName(),
+ xAccessibleStateSet.contains(AccessibleStateType.MODAL),
+ xAccessibleComponent);
} else if (role == AccessibleRole.FRAME) {
w = new Frame(xAccessibleContext.getAccessibleName(),
xAccessibleComponent);