From cd53449842bdb8a9f36fd700c0fa5750f39fb493 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Tue, 31 Jan 2006 17:22:05 +0000 Subject: 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 --- .../openoffice/java/accessibility/AccessibleObjectFactory.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'accessibility') 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); -- cgit v1.2.3