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 /toolkit/test | |
parent | dda524a71145441b336f5f9f6e559fa31d32d3d2 (diff) |
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 'toolkit/test')
-rw-r--r-- | toolkit/test/accessibility/AccessibilityTreeModel.java | 4 | ||||
-rw-r--r-- | toolkit/test/accessibility/ov/ListeningObjectView.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/test/accessibility/AccessibilityTreeModel.java b/toolkit/test/accessibility/AccessibilityTreeModel.java index bd442ed0912c..a30329c6daf5 100644 --- a/toolkit/test/accessibility/AccessibilityTreeModel.java +++ b/toolkit/test/accessibility/AccessibilityTreeModel.java @@ -449,7 +449,7 @@ public class AccessibilityTreeModel XAccessibleEventBroadcaster xBroadcaster = getBroadcaster( aObject ); if (xBroadcaster != null) { - xBroadcaster.addEventListener( mxListener ); + xBroadcaster.addAccessibleEventListener( mxListener ); } } @@ -458,7 +458,7 @@ public class AccessibilityTreeModel XAccessibleEventBroadcaster xBroadcaster = getBroadcaster( aObject ); if (xBroadcaster != null) { - xBroadcaster.removeEventListener( mxListener ); + xBroadcaster.removeAccessibleEventListener( mxListener ); } } diff --git a/toolkit/test/accessibility/ov/ListeningObjectView.java b/toolkit/test/accessibility/ov/ListeningObjectView.java index 1b17ef973d3e..dd9291fe8231 100644 --- a/toolkit/test/accessibility/ov/ListeningObjectView.java +++ b/toolkit/test/accessibility/ov/ListeningObjectView.java @@ -47,7 +47,7 @@ abstract class ListeningObjectView UnoRuntime.queryInterface( XAccessibleEventBroadcaster.class, xContext); if (xBroadcaster != null) - xBroadcaster.addEventListener (this); + xBroadcaster.addAccessibleEventListener (this); } @@ -61,7 +61,7 @@ abstract class ListeningObjectView UnoRuntime.queryInterface( XAccessibleEventBroadcaster.class, mxContext); if (xBroadcaster != null) - xBroadcaster.removeEventListener (this); + xBroadcaster.removeAccessibleEventListener (this); } /** Derived classes have to implement this method to handle incoming |