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 /qadevOOo/tests | |
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 'qadevOOo/tests')
-rw-r--r-- | qadevOOo/tests/java/ifc/accessibility/_XAccessibleEventBroadcaster.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEventBroadcaster.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEventBroadcaster.java index e4c41d9f1efe..1c345dd51542 100644 --- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEventBroadcaster.java +++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEventBroadcaster.java @@ -35,8 +35,8 @@ import com.sun.star.uno.UnoRuntime; * com.sun.star.accessibility.XAccessibleEventBroadcaster</code> * interface methods : * <ul> - * <li><code> addEventListener()</code></li> - * <li><code> removeEventListener()</code></li> + * <li><code> addAccessibleEventListener()</code></li> + * <li><code> removeAccessibleEventListener()</code></li> * </ul> <p> * * This test needs the following object relations : @@ -108,7 +108,7 @@ public class _XAccessibleEventBroadcaster extends MultiMethodTest { */ public void _addEventListener() { log.println("adding listener"); - oObj.addEventListener(list); + oObj.addAccessibleEventListener(list); boolean isTransient = chkTransient(tEnv.getTestObject()); log.println("fire event"); prod.fireEvent() ; @@ -128,7 +128,7 @@ public class _XAccessibleEventBroadcaster extends MultiMethodTest { } else { log.println("Object is Transient, listener isn't expected to be called"); } - oObj.removeEventListener(list); + oObj.removeAccessibleEventListener(list); } if (EventMsg != null) { @@ -157,7 +157,7 @@ public class _XAccessibleEventBroadcaster extends MultiMethodTest { list.notifiedEvent = null; log.println("remove listener"); - oObj.removeEventListener(list); + oObj.removeAccessibleEventListener(list); log.println("fire event"); prod.fireEvent() ; |