diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2012-11-29 00:27:03 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2012-11-29 16:58:16 +0100 |
commit | 70626249cd247d9acdad417b8eaf252bae22c059 (patch) | |
tree | 2327193318672b583f12be99cdcaec5ef4d3830d /accessibility/bridge | |
parent | Prettify cppumaker output. (diff) | |
download | core-70626249cd247d9acdad417b8eaf252bae22c059.tar.gz core-70626249cd247d9acdad417b8eaf252bae22c059.zip |
API CHANGE a11y unpublishing and add/removeListener rename.
The a11y API has never really been picked up by tools vendors, let's
not tie ourselves up here for no good reason.
This unpublishes all css::accessibility, and dependend API.
With that, we can change the rather unfortunately-named add/
removeEventListener to be add/removeAccessibleEventListener, thus
not conflicting with the XComponent methods of the same name.
Change-Id: I595598c3a8e46415f80b2780f333333174865fe4
Diffstat (limited to 'accessibility/bridge')
6 files changed, 6 insertions, 6 deletions
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Component.java b/accessibility/bridge/org/openoffice/java/accessibility/Component.java index c92a92015b43..821d2e9e099a 100644 --- a/accessibility/bridge/org/openoffice/java/accessibility/Component.java +++ b/accessibility/bridge/org/openoffice/java/accessibility/Component.java @@ -46,7 +46,7 @@ public abstract class Component extends java.awt.Component { XAccessibleEventBroadcaster broadcaster = UnoRuntime.queryInterface(XAccessibleEventBroadcaster.class, unoAccessibleComponent); if (broadcaster != null) { - broadcaster.addEventListener(createEventListener()); + broadcaster.addAccessibleEventListener(createEventListener()); } } diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Container.java b/accessibility/bridge/org/openoffice/java/accessibility/Container.java index f56af00fec28..4b447c9c2f92 100644 --- a/accessibility/bridge/org/openoffice/java/accessibility/Container.java +++ b/accessibility/bridge/org/openoffice/java/accessibility/Container.java @@ -50,7 +50,7 @@ public class Container extends java.awt.Container implements javax.accessibility XAccessibleEventBroadcaster broadcaster = UnoRuntime.queryInterface(XAccessibleEventBroadcaster.class, unoAccessibleContext); if (broadcaster != null) { - broadcaster.addEventListener(createEventListener()); + broadcaster.addAccessibleEventListener(createEventListener()); } } diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Dialog.java b/accessibility/bridge/org/openoffice/java/accessibility/Dialog.java index 95dda3e4dcc2..f7c1c08466fb 100644 --- a/accessibility/bridge/org/openoffice/java/accessibility/Dialog.java +++ b/accessibility/bridge/org/openoffice/java/accessibility/Dialog.java @@ -51,7 +51,7 @@ public class Dialog extends java.awt.Dialog implements javax.accessibility.Acces XAccessibleEventBroadcaster broadcaster = UnoRuntime.queryInterface(XAccessibleEventBroadcaster.class, xAccessibleComponent); if (broadcaster != null) { - broadcaster.addEventListener(new AccessibleDialogListener()); + broadcaster.addAccessibleEventListener(new AccessibleDialogListener()); } } diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Frame.java b/accessibility/bridge/org/openoffice/java/accessibility/Frame.java index 311a32f2e2f6..7ea0877c05ec 100644 --- a/accessibility/bridge/org/openoffice/java/accessibility/Frame.java +++ b/accessibility/bridge/org/openoffice/java/accessibility/Frame.java @@ -45,7 +45,7 @@ public class Frame extends java.awt.Frame implements javax.accessibility.Accessi XAccessibleEventBroadcaster broadcaster = UnoRuntime.queryInterface(XAccessibleEventBroadcaster.class, unoAccessibleComponent); if (broadcaster != null) { - broadcaster.addEventListener(new AccessibleFrameListener()); + broadcaster.addAccessibleEventListener(new AccessibleFrameListener()); } } diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Window.java b/accessibility/bridge/org/openoffice/java/accessibility/Window.java index 00300d678256..da4249a07e11 100644 --- a/accessibility/bridge/org/openoffice/java/accessibility/Window.java +++ b/accessibility/bridge/org/openoffice/java/accessibility/Window.java @@ -40,7 +40,7 @@ public class Window extends java.awt.Window implements javax.accessibility.Acces XAccessibleEventBroadcaster broadcaster = UnoRuntime.queryInterface(XAccessibleEventBroadcaster.class, unoAccessibleComponent); if (broadcaster != null) { - broadcaster.addEventListener(new AccessibleWindowListener()); + broadcaster.addAccessibleEventListener(new AccessibleWindowListener()); } } diff --git a/accessibility/bridge/org/openoffice/java/accessibility/logging/XAccessibleEventLog.java b/accessibility/bridge/org/openoffice/java/accessibility/logging/XAccessibleEventLog.java index e601a1cae4fc..b0d1d7e80d94 100644 --- a/accessibility/bridge/org/openoffice/java/accessibility/logging/XAccessibleEventLog.java +++ b/accessibility/bridge/org/openoffice/java/accessibility/logging/XAccessibleEventLog.java @@ -46,7 +46,7 @@ public class XAccessibleEventLog implements XAccessibleEventListener { public static void addEventListener(XAccessibleContext xac, java.awt.Component c) { XAccessibleEventBroadcaster broadcaster = UnoRuntime.queryInterface(XAccessibleEventBroadcaster.class, xac); if (broadcaster != null) { - broadcaster.addEventListener(XAccessibleEventLog.get()); + broadcaster.addAccessibleEventListener(XAccessibleEventLog.get()); // remember the proxy objects synchronized (proxyList) { |