Bug 158767 - Add accessible action
Summary: Add accessible action
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.3   Edit
Hardware: PC Linux-GTK
: P3 enhancement (vote)
Target Milestone: 4.2   Edit
Assignee: Carolyn MacLeod CLA
QA Contact:
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks: 158836
  Show dependency tree
 
Reported: 2006-09-26 10:46 EDT by Larry Weiss CLA
Modified: 2011-10-20 10:49 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Larry Weiss CLA 2006-09-26 10:46:44 EDT
The native widgets on Linux (RHEL 5 or FC5) that expose user actions already expose the Action interface. (See http://developer.gnome.org/doc/API/2.0/atk/AtkImage.html.) And the current AccessibleControlListener does provide a getDefaultAction() method that allows customization of the (string) name exposed for a single action. But more is needed by custom widget authors (including Draw2d and GMF authors) to expose more than a single action, and to customize the behavior of those actions.

I suggest adding a new AccessibleActionListener to the org.eclipse.swt.accessibility package to allow custom widget authors the ability to expose the rich AtkAction interface. The existing AccessibleControlListener should add a method that allows customization of the "default action" behavior. And it should be coordinated with the new ActionListener interface such that the default action will be the first (of the possible multiple) action exposed through the ActionListener.

The mechanism to implement this functionality on Windows will be added soon.
Comment 1 Carolyn MacLeod CLA 2011-10-20 10:49:35 EDT
AccessibleActionListener was added in eclipse 3.6.