Bug 158767

Summary: Add accessible action
Product: [Eclipse Project] Platform Reporter: Larry Weiss <lweiss>
Component: SWTAssignee: Carolyn MacLeod <carolynmacleod4>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: steve_northover
Version: 3.3Keywords: accessibility
Target Milestone: 4.2   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:
Bug Depends on:    
Bug Blocks: 158836    

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.