Adds the listener to the collection of listeners who will
be notified when an accessible client asks for certain strings,
such as name, description, help, or keyboard shortcut. The
listener is notified by sending it one of the messages defined
in the <code>AccessibleListener</code> interface.
@param listener the listener that should be notified when the receiver
is asked for a name, description, help, or keyboard shortcut string
@exception IllegalArgumentException <ul>
<li>ERROR_NULL_ARGUMENT - if the listener is null</li>
</ul>
@exception SWTException <ul>
<li>ERROR_WIDGET_DISPOSED - if the receiver's control has been disposed</li>
<li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver's control</li>
</ul>
Adds the listener to the collection of listeners who will be notified when an accessible client asks for certain strings, such as name, description, help, or keyboard shortcut. The listener is notified by sending it one of the messages defined in the <code>AccessibleListener</code> interface.
@param listener the listener that should be notified when the receiver is asked for a name, description, help, or keyboard shortcut string
@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if the listener is null</li> </ul> @exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver's control has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver's control</li> </ul>
@see AccessibleListener @see #removeAccessibleListener